struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <D...@Newfield.org>
Subject Re: S2- How to use Constants in s:select tag
Date Wed, 08 Aug 2007 18:24:54 GMT
Jiang, Jane (NIH/NCI) [C] wrote:
> But when I tried to change the list="%{lookupService.getList('type')}"
> to
> list="%{lookupService.getList(MyConstants.Type)}"

Try list="%{lookupService.getList(@fullyQualifiedClassname@Type)}"

http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/staticFields.html

-Dale

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


Mime
View raw message