struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiang, Jane (NIH/NCI) [C]" <jian...@mail.nih.gov>
Subject RE: S2- How to use Constants in s:select tag
Date Wed, 08 Aug 2007 18:45:23 GMT
That works.  Thanks a lot, Dale!

-----Original Message-----
From: Dale Newfield [mailto:Dale@Newfield.org] 
Sent: Wednesday, August 08, 2007 2:25 PM
To: Struts Users Mailing List
Subject: Re: S2- How to use Constants in s:select tag

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

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


Mime
View raw message