Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 71115 invoked from network); 13 Apr 2010 15:33:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 15:33:10 -0000 Received: (qmail 53921 invoked by uid 500); 13 Apr 2010 15:33:08 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 53510 invoked by uid 500); 13 Apr 2010 15:33:08 -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 53317 invoked by uid 99); 13 Apr 2010 15:33:07 -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:33:07 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.151.203.114] (HELO front04.ibpmail.net) (194.151.203.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 15:33:02 +0000 Received: from front04.ibpmail.net (194.151.203.114) by front04.ibpmail.net (8.5.119.01) id 4BBCA168006AFD65 for user@pivot.apache.org; Tue, 13 Apr 2010 17:32:39 +0200 Received: from mikex203.NWEurope.Int.KN (172.16.0.105) by front04.ibpmail.net (8.5.119.05) id 4BB369FD00A4F23B for user@pivot.apache.org; Tue, 13 Apr 2010 17:32:39 +0200 Received: from MIKEX213.NWEurope.Int.KN ([10.44.128.21]) by mikex203.NWEurope.Int.KN ([10.44.128.13]) with mapi; Tue, 13 Apr 2010 16:32:37 +0100 From: "Rendell, Stephen / Kuehne + Nagel / Ntg CI" To: "user@pivot.apache.org" Date: Tue, 13 Apr 2010 16:33:31 +0100 Subject: RE: Serving WTKX from the server Thread-Topic: Serving WTKX from the server Thread-Index: Acra/KXhvdo1VaVVTciSdlxH1N6X8gAIaa2g Message-ID: <8863CB1D9E616C45B4EF839A793CEE8315A613C086@MIKEX213.NWEurope.Int.KN> References: <8863CB1D9E616C45B4EF839A793CEE8315A613B92E@MIKEX213.NWEurope.Int.KN> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_8863CB1D9E616C45B4EF839A793CEE8315A613C086MIKEX213NWEur_" MIME-Version: 1.0 --_000_8863CB1D9E616C45B4EF839A793CEE8315A613C086MIKEX213NWEur_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks very much. We are starting a rich client proof-of-concept using various swing / GUI fr= ameworks, layout managers etc and pivot is looking like a favourite. Cheers, 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 interfa= ce, 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 Ta= skListener 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 wro= te: Hi, We have a requirement for 'dynamic screens', i.e. the layout/type etc of wi= dgets 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 hav= ing 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 b= e obtained on application to the Company or upon application to the Directo= r 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 t= he intended recipient. They may contain material protected by legal profess= ional or other privilege. If you are not the intended recipient or the pers= on responsible for delivering to the intended recipient, you are not author= ised to and must not disclose, copy, distribute or retain this email or its= attachments. Although this email and its attachments are believed to be fr= ee 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, Ux= bridge, Middlesex. UB8 2LS ________________________________ Kuehne + Nagel Ltd. ( the Company) trade solely upon the conditions of the = British International Freight Association. Copies of these Conditions can b= e obtained on application to the Company or upon application to the Directo= r 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 t= he intended recipient. They may contain material protected by legal profess= ional or other privilege. If you are not the intended recipient or the pers= on responsible for delivering to the intended recipient, you are not author= ised to and must not disclose, copy, distribute or retain this email or its= attachments. Although this email and its attachments are believed to be fr= ee 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, Ux= bridge, Middlesex. UB8 2LS --_000_8863CB1D9E616C45B4EF839A793CEE8315A613C086MIKEX213NWEur_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks very much.

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

 

Cheers,

Steve

 


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

 

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

 

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

 

GetQuery query =3D new GetQuery("fo= o.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 w= orks out.

 

G

 

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



Hi,

 

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

 

Thanks,

Steve R

 

 

 


Kuehne + Nagel Ltd. ( the Company) = trade solely upon the conditions of the British International Freight Assoc= iation. Copies of these Conditions can be obtained on application to the Company or upon applicati= on 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 t= he intended recipient. They may contain material protected by legal profess= ional or other privilege. If you are not the intended recipient or the pers= on responsible for delivering to the intended recipient, you are not authorised to and must not disclose, c= opy, distribute or retain this email or its attachments. Although this emai= l 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 acce= pted by the company for any loss or damage arising from receipt or use ther= eof.

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

 



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

This email and any attachments are confidential and solely for the use of t= he intended recipient. They may contain material protected by legal profess= ional or other privilege. If you are not the intended recipient or the pers= on responsible for delivering to the intended recipient, you are not authorised to and must not disclose, c= opy, distribute or retain this email or its attachments. Although this emai= l 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 acce= pted by the company for any loss or damage arising from receipt or use ther= eof.

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, Ux= bridge, Middlesex. UB8 2LS
--_000_8863CB1D9E616C45B4EF839A793CEE8315A613C086MIKEX213NWEur_--