Hi all,

I have some objects in my app whose properties needs a "decode" in the view. I don't want to return property values already decoded to the view, I wish to decode them in the view. For the same reason, I also have to build some picklists with shown text different from value.

Since we have a huge set of properties to decode, the example given in the docs:
<s:select label="Pets" name="petIds" list="petDao.pets"

is hardly applicable: with scriplet I could use a <%=Decoder.decode(propertyName, propertyValue)%> and a <%=Decoder.buildPicklist(propertyName, propertyValue)%> method, but I wish to do it in a S2-fashion without using scriplets.

I think this is could be a common issue in a webapp, does anyone has an idea on how to resolve?

P.


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

Reply via email to