Hi

I have a requirement to define text field dynamically using a name that 
comes from action. Value of the same is available in the value stack, but 
in an array.  Somehow struts 2 is not evaluation expression within an 
expression. Is there an alternative to achieve the same?

<s:textfield theme="simple" key="%{paramId}" value="%{%{paramId}[0]}" 
maxlength="2" size="2" cssClass="monthInput" tabindex="%{sequenceNo}" />

Regards
Sateesh




------------------------------------------------------------------
The information contained in this email message and any attachments may be 
privileged and/or confidential.  It is for intended addressee(s) only.  If you 
are not the intended recipient, you are hereby notified that any review, 
disclosure, reproduction, distribution or other use of this communication is 
strictly prohibited.  If you received this email in error, please notify the 
sender by reply and delete the message without saving, copying or disclosing 
it.  Thank you. 

Reply via email to