Dave Belfer-Shevett wrote:
In my JSP, I have:
Preferred cid is <s:property value="#attr.properties[preferredcid]"/><br>
Which, when rendered:
Pddreferred cid is
(with nothing after it)
This expression reads "evaluate perferredcid, then get the value of
#attr.properties[evalresult]".
I expect you want. <s:property value="#attr.properties['preferredcid']"/>
so it uses the literal string 'preferredcid' instead of evaluating it.
Please let me know if that fixes it. OGNL doesn't provide much useful
feedback for cases like these.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]