Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 72672 invoked from network); 13 Apr 2010 15:37:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 15:37:01 -0000 Received: (qmail 62601 invoked by uid 500); 13 Apr 2010 15:37:01 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 62579 invoked by uid 500); 13 Apr 2010 15:37:01 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 62571 invoked by uid 99); 13 Apr 2010 15:37:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 15:37:01 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gkbrown@mac.com designates 17.148.16.102 as permitted sender) Received: from [17.148.16.102] (HELO asmtpout027.mac.com) (17.148.16.102) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 15:36:54 +0000 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_nVs7GUToKvIQh0xh97eI0A)" Received: from greg.corp.attivio.com (98.ne.business.static.dsci-net.com [209.104.232.98]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L0T00MLLNCIK020@asmtp027.mac.com> for user@pivot.apache.org; Tue, 13 Apr 2010 08:36:28 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004130147 From: Greg Brown Subject: Re: Serving WTKX from the server Date: Tue, 13 Apr 2010 11:36:18 -0400 In-reply-to: <8863CB1D9E616C45B4EF839A793CEE8315A613C086@MIKEX213.NWEurope.Int.KN> To: user@pivot.apache.org References: <8863CB1D9E616C45B4EF839A793CEE8315A613B92E@MIKEX213.NWEurope.Int.KN> <8863CB1D9E616C45B4EF839A793CEE8315A613C086@MIKEX213.NWEurope.Int.KN> Message-id: <0EFB377F-1273-4FC7-A56F-76BA8758F6AB@mac.com> X-Mailer: Apple Mail (2.1078) --Boundary_(ID_nVs7GUToKvIQh0xh97eI0A) Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: quoted-printable Sounds very interesting! Let us know if you have any other questions. On Apr 13, 2010, at 11:33 AM, Rendell, Stephen / Kuehne + Nagel / Ntg CI = wrote: > Thanks very much. > We are starting a rich client proof=96of=96concept using various swing = / GUI frameworks, layout managers etc and pivot is looking like a = favourite. > =20 > Cheers, > Steve > =20 > From: Greg Brown [mailto:gkbrown@mac.com]=20 > Sent: 13 April 2010 12:29 > To: user@pivot.apache.org > Subject: Re: Serving WTKX from the server > =20 > It is definitely possible. WTKXSerializer implements the Serializer = interface, which defines a readObject(InputStream) method. You can just = pass this method a stream you have opened to the server. > =20 > You might even be able to do it using a GetQuery (though you will = probably want to call the asynchronous version of execute(), the one = that takes a TaskListener argument): > =20 > GetQuery query =3D new GetQuery("foo.com", "/bar.wtkx"); > query.setSerializer(new WTKXSerializer()); > Object result =3D query.execute(); > =20 > Hope this helps. If you try it, I would be curious to know how it = works out. > =20 > G > =20 > On Apr 13, 2010, at 5:39 AM, Rendell, Stephen / Kuehne + Nagel / Ntg = CI wrote: >=20 >=20 > Hi, > =20 > We have a requirement for =91dynamic screens=92, i.e. the layout/type = etc of widgets is configured at runtime by an admin and stored in the = DB. Is there a way of loading WTKX files from the server to achieve = this, rather than having them stored statically in a jar etc? > =20 > Thanks, > Steve R > =20 > =20 > =20 > Kuehne + Nagel Ltd. ( the Company) trade solely upon the conditions of = the British International Freight Association. Copies of these = Conditions can be obtained on application to the Company or upon = application to the Director General of the British International Freight = Association at Redfern House, Browells Lane, Feltham, Middx, TW13 7EP >=20 > This email and any attachments are confidential and solely for the use = of the intended recipient. They may contain material protected by legal = professional or other privilege. If you are not the intended recipient = or the person responsible for delivering to the intended recipient, you = are not authorised to and must not disclose, copy, distribute or retain = this email or its attachments. Although this email and its attachments = are believed to be free of any virus or other defect, it is the = responsibility of the recipient to ensure that they are virus free and = no responsibility is accepted by the company for any loss or damage = arising from receipt or use thereof. >=20 > Kuehne + Nagel Ltd. > Registered in England and Wales number 01722216. > VAT Registration Number GB 864 4409 10. > Registered Office: 1 Union Business Park, Florence Way, Rockingham = Road, Uxbridge, Middlesex. UB8 2LS > =20 >=20 > Kuehne + Nagel Ltd. ( the Company) trade solely upon the conditions of = the British International Freight Association. Copies of these = Conditions can be obtained on application to the Company or upon = application to the Director General of the British International Freight = Association at Redfern House, Browells Lane, Feltham, Middx, TW13 7EP >=20 > This email and any attachments are confidential and solely for the use = of the intended recipient. They may contain material protected by legal = professional or other privilege. If you are not the intended recipient = or the person responsible for delivering to the intended recipient, you = are not authorised to and must not disclose, copy, distribute or retain = this email or its attachments. Although this email and its attachments = are believed to be free of any virus or other defect, it is the = responsibility of the recipient to ensure that they are virus free and = no responsibility is accepted by the company for any loss or damage = arising from receipt or use thereof. >=20 > Kuehne + Nagel Ltd. > Registered in England and Wales number 01722216. > VAT Registration Number GB 864 4409 10. > Registered Office: 1 Union Business Park, Florence Way, Rockingham = Road, Uxbridge, Middlesex. UB8 2LS --Boundary_(ID_nVs7GUToKvIQh0xh97eI0A) Content-type: text/html; charset=windows-1252 Content-transfer-encoding: quoted-printable

Thanks very = much.

We are starting a rich client = proof=96of=96concept using various swing / GUI frameworks, layout = managers etc and pivot is looking like a favourite.

 

Cheers,

<= p class=3D"MsoNormal">Steve

 

=

From: Greg Brown [mailto:gkbrown@mac.com]
Sent: 13 April 2010 = 12:29
To: user@pivot.apache.org
Subject: Re: Serving WTKX = from the server

 

It is definitely possible. WTKXSerializer implements the = Serializer interface, which defines a readObject(InputStream) method. = You can just pass this method a stream you have opened to the server.

 

You might even be able to do it using a GetQuery (though = you will probably want to call the asynchronous version of execute(), = the one that takes a TaskListener = argument):

 

GetQuery query =3D new GetQuery("foo.com", = "/bar.wtkx");

query.setSerializer(new = WTKXSerializer());

Object result =3D query.execute();

 

Hope this helps. If you try it, I would be curious to know how = it works out.

 

G

 

On Apr 13, 2010, at 5:39 AM, Rendell, Stephen / Kuehne + Nagel / = Ntg CI wrote:



Hi,

 

We have a requirement for =91dynamic screens=92, i.e. = the layout/type etc of widgets is configured at runtime by an admin and = stored in the DB. Is there a way of loading WTKX files from the server to achieve this, rather than having = them stored statically in a jar = etc?

 

Thanks,

Steve R

 

 

 


Kuehne + Nagel Ltd. ( the Company) = trade solely upon the conditions of the British International Freight = Association. Copies of these Conditions can be obtained on application to the Company or upon = application to the Director General of the British International Freight = Association at Redfern House, Browells = Lane, Feltham, Middx, = TW13 7EP

This email and any attachments are confidential and solely for the use = of the intended recipient. They may contain material protected by legal = professional or other privilege. If you are not the intended recipient = or the person responsible for delivering to the intended recipient, you are not authorised to and must not = disclose, copy, distribute or retain this email or its attachments. = Although this email and its attachments are believed to be free of any = virus or other defect, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is = accepted by the company for any loss or damage arising from receipt or = use thereof.

Kuehne + Nagel Ltd.
Registered in England= and Wales number = 01722216.
VAT Registration Number GB 864 4409 10.
Registered Office: 1 Union Business Park, Florence = Way, Rockingham = Road, Uxbridge, Middlesex. UB8 = 2LS

 



Kuehne + Nagel Ltd. ( the = Company) trade solely upon the conditions of the British International = Freight Association. Copies of these Conditions can be obtained on = application to the Company or upon application to the Director General of the British International Freight Association at = Redfern House, Browells Lane, Feltham, Middx, TW13 7EP

This email and any attachments are confidential and solely for the use = of the intended recipient. They may contain material protected by legal = professional or other privilege. If you are not the intended recipient = or the person responsible for delivering to the intended recipient, you are not authorised to and must not = disclose, copy, distribute or retain this email or its attachments. = Although this email and its attachments are believed to be free of any = virus or other defect, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is = accepted by the company for any loss or damage arising from receipt or = use thereof.

Kuehne + Nagel Ltd.
Registered in England and Wales number 01722216.
VAT Registration Number GB 864 4409 10.
Registered Office: 1 Union Business Park, Florence Way, Rockingham Road, = Uxbridge, Middlesex. UB8 2LS
=

= --Boundary_(ID_nVs7GUToKvIQh0xh97eI0A)--