That works.  Thanks a lot, Dale!

-----Original Message-----
From: Dale Newfield [mailto:[EMAIL PROTECTED] 
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(@[EMAIL PROTECTED])}"

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

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to