2007/5/18, Mansour <[EMAIL PROTECTED]>:
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:
try this: <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="%{acc.firstName}" /> .... -- Guillaume Carré --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]