not seeing your example are you speaking of DynaActionForm? in a typical struts.xml you can pass parameters to a result as in this example <action name="formExamplePrg" class="org.apache.struts2.portlet.example.FormExample"> <result name="input"> /WEB-INF/view/formExampleInputPrg.jsp </result> <result name="success" type="redirectAction"> <param name="actionName">formExamplePrg</param> <param name="method">displayResult</param> <param name="firstName">${firstName}</param> <param name="lastName">${lastName}</param> </result>
Anyone? Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Sat, 6 Dec 2008 06:17:08 -0800 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: get results from a set of autocompleters > > > Hello :) > > I generate a set of struts autocompleters within a form: > > <s:form action="initialAddRelations"> > <s:iterator value="friends"> > <s:autocompleter name="relations" list="collection" > listValue="label"/> > </s:iterator> > </s:form> > > As far as I know, it is possible to get all the values entered in these > autocompleters within a single array of data. How can I achieve this? And > which would be the name of this array (and the keys). > > After "submitting" the form I would like to print out the values of the > array in java (in the standard output). Will this array be accessible within > the method specified in the struts.xml action, or do I have to create such > an array with the same name beforehand in java? > > Sorry if I haven't been clear enough, I could try to clarify if necessary :) > Thanks! > -- > View this message in context: > http://www.nabble.com/get-results-from-a-set-of-autocompleters-tp20870636p20870636.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Send e-mail anywhere. No map, no compass. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008