commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Gilde <hgi...@gmail.com>
Subject RE: [jelly] swing example
Date Sun, 06 Nov 2005 18:34:29 GMT
Tag cardLayout committed and will be in the next release of the Swing tags.

-----Original Message-----
From: Dário Luís Coneglian Oliveros [mailto:oliveros@cpqd.com.br] 
Sent: Friday, November 04, 2005 8:09 AM
To: Jakarta Commons Users List
Subject: RE: [jelly] swing example

Hi Paul,

I will try your suggestion about card-layout and let you know.
By the way, I am using Jelly 1.0.

Thanks again,
Dario

-----Original Message-----
From: Paul Libbrecht [mailto:paul@activemath.org]
Sent: sexta-feira, 4 de novembro de 2005 11:03
To: Jakarta Commons Users List
Subject: Re: [jelly] swing example



Le 3 nov. 05, à 21:35, Dário Luís Coneglian Oliveros a écrit :
> 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´t 
> work.
> Regarding the CardLayout, I couldn´t find its tag in the jelly swing 
> documentation. Do you happen to have an example about how to use it ?

<j:panel var="p">
   <j:new var="layout" className="java.awt.CardLayout"/>
  ${p.setLayout(cardLayout)}

   fill something

  </j:panel>

should do the trick for card-layout until someone writes a tag for it.

> One thing I´ve 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.

I am positive this is a bug and I am unsure we have filed it/sorted it 
out.
I can't much dig more thus far.
Which version of jelly are you using ??

paul

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message