--- Mansour <[EMAIL PROTECTED]> wrote: > I tried it. It's not working either.
What do you mean, populate two values in your action with one value? Under what circumstances would that population happen? Are you filling out a search form and attempting to search based on what was actually filled out on the form? d. > > > Guillaume Carré wrote: > > 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}" /> > > .... > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]