i didnt have my coffee today.. i was copying and pasting names and must have
put it in the wrong place. :-P
sorry.
-Tim

-----Original Message-----
From: Karr, David [mailto:david.karr@;attws.com]
Sent: Thursday, October 24, 2002 11:14 AM
To: 'Struts Users Mailing List'
Subject: RE: <html:options />


> -----Original Message-----
> From: Chen, Gin [mailto:Gin_Chen@;tvratings.com]
> Sent: Thursday, October 24, 2002 7:46 AM

>       I'm not sure but I wonder if u can "fool" struts into doing this
> with the new Struts-EL.
> I wonder if u do something like assuming that ur singleton is 
> class Blah
> and it defines a static method called getInstance() [since 
> its a singleton
> it should]
> then u should be able to make do.
>       ${blah.instance.allParts} in EL. no? i'm pretty new to 
> the whole EL
> thing still so I'm not 100% sure. Shawn Bayern or David Karr 
> or David Graham
> (who contributed Struts-EL) might better answer that :-P
>       if that does work but u cant use Struts-EL you can 
> still set up a
> var using c:set.

The JSTL EL syntax only allows references to getter methods and properties
as defined in the JavaBeans specification.  You can't reference static
variables.

And as to your people references, Shawn is the JSTL expert (implementation
lead), and I wrote Struts-EL (which was simple, given Struts and the JSTL).

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to