Hi,

I am having trouble using my constants class in my jsp.

I defined a service for lookup list of values for my select box.  This
in my jsp works fine

<s:select name="type" value="myVO.type"
list="%{lookupService.getList('type')}" listKey="id" listValue="type" />

But when I tried to change the list="%{lookupService.getList('type')}"
to
list="%{lookupService.getList(MyConstants.Type)}"

I got this error:

The requested list key '{%lookupService.getList(MyConstants.Type)}'
could not be resolved as a collection/array/map/enumberation/iterator
type.

I did import the constants class in the jsp.  What is the right syntax
for this?

Many thanks for your help,

Jane

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

Reply via email to