see: http://wiki.opensymphony.com/space/Ognl
Accessing static properties
OGNL supports accessing static properties as well as static methods. As the OGNL docs point out, you can explicetly call statics by doing the following:
@[EMAIL PROTECTED] @[EMAIL PROTECTED]()
Jan-Peter Hagenmüller wrote:
hi,
firstly thanks Francisco!
but it seems not to work :-( maybe i'm doing something wrong... where can i look up those 'strange' coding :-) defs for ww tags in the source code?
thanks again jp
On Thu, 22 Jan 2004 15:18:15 -0800, Francisco Hernandez <[EMAIL PROTECTED]> wrote:
if using ww2 this should work
<ww:if test = "creditCard.cardProvider == @[EMAIL PROTECTED]">
Jan-Peter Hagenmüller wrote:
Hi!
i've got a short questions using <ww:if... :
i want to test if prop equals a constant string like this: ICreditCardProviders.DINERS_CLUB
i might have tried more or less stupid things... ;-)
- <ww:if test = "creditCard.cardProvider == '<%=ICreditCardProviders.DINERS_CLUB%>'">
- <ww:if test = "creditCard.cardProvider == '#ICreditCardProviders.DINERS_CLUB'">
- ...
can anyone help?
thanks jp
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork