Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 98271 invoked from network); 6 Nov 2005 21:44:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Nov 2005 21:44:08 -0000 Received: (qmail 81207 invoked by uid 500); 6 Nov 2005 21:44:03 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 81170 invoked by uid 500); 6 Nov 2005 21:44:03 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 81159 invoked by uid 99); 6 Nov 2005 21:44:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 13:44:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of oliveros@cpqd.com.br designates 200.231.0.43 as permitted sender) Received: from [200.231.0.43] (HELO duque.cpqd.com.br) (200.231.0.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 13:43:56 -0800 Received: from elfo.cpqd.com.br (elfo.cpqd.com.br [10.202.128.132]) by duque.cpqd.com.br (8.11.6p2/8.11.6) with ESMTP id jA6LhbT01358 for ; Sun, 6 Nov 2005 19:43:37 -0200 Received: from elfo.cpqd.com.br (localhost.localdomain [127.0.0.1]) by localhost.cpqd.com.br (Postfix) with ESMTP id 72C54141E7 for ; Sun, 6 Nov 2005 19:43:37 -0200 (EDT) Received: from MAILSRV1.aquarius.cpqd.com.br (gandalf.cpqd.com.br [10.202.128.110]) by elfo.cpqd.com.br (Postfix) with ESMTP id 670E513F2D for ; Sun, 6 Nov 2005 19:43:37 -0200 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C5E31B.2479E2C2" Subject: RE: [jelly] swing example Date: Sun, 6 Nov 2005 19:43:36 -0200 Message-ID: <6FAF2DB6A5F5764BBB9A55A7EC9B4E5D05813C@MAILSRV1.aquarius.cpqd.com.br> X-MS-Has-Attach: X-MS-TNEF-Correlator: <6FAF2DB6A5F5764BBB9A55A7EC9B4E5D05813C@MAILSRV1.aquarius.cpqd.com.br> Thread-Topic: [jelly] swing example thread-index: AcXgcGI+uon9fKwIROa/Kl6StUPnIwAQiB4QAHoUBiAAH/ctFA== From: =?Windows-1252?Q?D=E1rio_Lu=EDs_Coneglian_Oliveros?= To: "Jakarta Commons Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5E31B.2479E2C2 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Hans, =20 I was able to reproduce the problem in a very simple Jelly script. See = it below: =20 EXIT action! =20 ${frame.show()} Whenever I run this script, the action is always executed in the first = place. Any help will be appreciated. Thanks, Dario -----Original Message-----=20 From: Hans Gilde [mailto:hgilde@gmail.com]=20 Sent: Sun 11/6/2005 4:26 AM=20 To: 'Jakarta Commons Users List'=20 Cc:=20 Subject: RE: [jelly] swing example =09 =09 I cannot reproduce this behavior of having action tags executed = immediately. I've checked in a test for this behavior as well (which passes). =09 My guess is that you're defining the action tag incorrectly, could you attach a Jelly snippet that reproduces the problem? =09 -----Original Message----- From: D=E1rio Lu=EDs Coneglian Oliveros [mailto:oliveros@cpqd.com.br] Sent: Thursday, November 03, 2005 3:36 PM To: Jakarta Commons Users List Subject: RE: [jelly] swing example =09 Hi Paul, =09 Thanks for the tips. However I am still having problem getting the swing to work. :-( I tried to use the code snippet about the System.exit, but it didn=B4t = work. Regarding the CardLayout, I couldn=B4t find its tag in the jelly swing documentation. Do you happen to have an example about how to use it ? =09 One thing I=B4ve noticed when using Jelly Swing is that any action you = define in the jelly script is always executed as of the script startup, even = though an event is not triggered yet. Do you know if this is an expected = behaviour ? I thought any action would be executed only if an event associated to = it was activated. =09 Regarding your reloadable strategy, I think it would be great to have something like that. We can discuss it later if you wish. =09 Thanks a bunch. Dario =09 -----Original Message----- From: Paul Libbrecht [mailto:paul@activemath.org] Sent: quinta-feira, 3 de novembro de 2005 10:15 To: Jakarta Commons Users List Subject: Re: [jelly] swing example =09 =09 =09 =09 =09 Le 3 nov. 05, =E0 11:46, D=E1rio Lu=EDs Coneglian Oliveros a =E9crit : > I was wondering if anyone could help me get some of my Jelly Swing > questions answered. > > 1) Considering my swing appl has two menu items and one main panel, = is > it possible to change the panel content according to the menu item > selected ? =09 You might give a try with a CardLayout, or ? =09 > 3) Is there any command to quit a Jelly Swing application ? = Couldn=B4t > find any sample on the web that does that. =09 =09 Would the following work ? 0 There is also a quit in the swing-demo. =09 > 2) Let=B4s say a panel has a text field and a button. When pressing = the > button, a request is sent with the text field value. How can I show > the response in the panel ? =09 This is not easy, I feel. I've been working on reloadable swing components for a while where a script would be run again in order to populate the pane but I didn't come with a final solution. I know that you can get a similar effect by doing a bit more method invocations and variable assignments. ${pane.remove(xx)} =09 My intent for reloadable component is, indeed, to have each component behave as a browser frame and request to re-run a population-script along a target. =09 Just thinking out loud, I seem to encounter that the following might be enough: =09 blabla =09 and somewhere else (e.g. as a child of action: =09 casdasa .... =09 That is, we would introduce a "target" element that would allow an component to be cleared than repopulated by its content... This seems suddenly pretty easy to implement compared to the "reloadable" kind of things I expected. Would it fit your task ? =09 paul =09 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org =09 =09 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org =09 =09 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org =09 =09 ------_=_NextPart_001_01C5E31B.2479E2C2 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org ------_=_NextPart_001_01C5E31B.2479E2C2--