You should probably be doing this in your action class, not your JSP. If it should always be set to acc.firstName, then you could just hardcode a hidden field: <input type="hidden" value="${acc.firstName}"/>
On 5/18/07, Mansour <[EMAIL PROTECTED]> wrote:
how to populate 2 fields in my action with one value ? for example I need to populate the first name and last name with one value for searching: <s:form action="searchAccount" method="post" theme="xhtml" > <h4> Search Account </h4> <s:textfield label="id" name="acc.id" /> <s:textfield label="AccountName Contains" name="acc.firstName" id="fn" /> <s:hidden name="acc.lastName" value="${fn}" /> .... I tried this. This is not working. Thanks --------------------------------------------------------------------- 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]