Re: [jelly] tag for accessing static fields

2004-05-17 Thread Paul Libbrecht
On 16-May-04, at 21:17 Uhr, Daniel F. Savarese wrote: wrote a GetStaticTag that works like this: v:getStatic var=closeOperation className=javax.swing.JFrame field=EXIT_ON_CLOSE/ That allowed me to then do: frame title=Tree Frame var=frame size=400,400

Re: [jelly] tag for accessing static fields

2004-05-17 Thread Daniel F. Savarese
In message [EMAIL PROTECTED], Paul Libbrech t writes: I keep believing, however, that such a thing should be done by Jexl or something else... it makes no sense to need this getStatic, at least compared to Java. I agree. After I shot off my email I was going to reply to it and add maybe the

Re: [jelly] tag for accessing static fields

2004-05-17 Thread Paul Libbrecht
On 17-May-04, at 21:44 Uhr, Daniel F. Savarese wrote: [...] add static field access. Yet expression manipulation is limited to JavaBean properties (otherwise there would be no need for the invoke tag), which makes it seem like Jexl isn't the right place. If static field access were to be

[jelly] tag for accessing static fields

2004-05-16 Thread Daniel F. Savarese
I've been experimenting with Jelly Swing recently after finding Groovy Swing problematic, trying to see whether it will make GUI prototyping faster. I may have missed it, but I couldn't find a tag in any of the tag libraries to access a static class field. There's invokeStatic for invoking