Should it actually be: action="/signal.do" <input type="hidden" name="jsessionid" value="8AF18163C316123869B5EFBFAD6BC912" />
_____ Thank You Mick Knutson Sr. Designer - Project Trust aUBS AG, Financial - Z�rich Office: +41 (0)1/234.42.75 Internal: 48194 Mobile: 079.726.14.26 _____ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 3:22 PM To: [EMAIL PROTECTED] Subject: RE: Form not populating from post to struts. Try this: action="/strutscx/signal.do?jsessionid=8AF18163C316123869B5EFBFAD6BC912" > -----Original Message----- > From: Simon Kelly [SMTP:[EMAIL PROTECTED] > Sent: Monday, March 24, 2003 3:18 PM > To: Struts Users Mailing List > Subject: Form not populating from post to struts. > > Hi all, > > Cannot for the life of me spot the problem here. > > Could someone check the following and see if there is an obvoius error > that > would mean struts wouldn't populate the form. > > Cheers > > Simon > > Form, stripped from the html: > ==================== > [snip] > <form name="signalSelectForm" > action="/strutscx/signal.do;jsessionid=8AF18163C316123869B5EFBFAD6BC912" > method="post"> > [snip] > <input value="fp1v1" name="tables" type="checkbox"> > [snip] > <input value="fp1v1.eg1_hv_01" name="signals" type="checkbox"> - > eg1_hv_01<br> > <input value="fp1v1.eg1_mag_01" name="signals" type="checkbox"> - > eg1_mag_01<br> > <input value="fp1v1.eg1_mag_02" name="signals" type="checkbox"> - > eg1_mag_02<br> > [snip] > <input value="submit" type="submit"> > > > Form and action-mapping from struts-conf.xml: > ================================ > [snip] > <form-bean name="signalSelectForm" > type="com.katrin.presentation.actionform.SignalSelectForm"> > </form-bean> > [snip] > <action path="/signal" > name="signalSelectForm" > scope="request" > validate="false" > type="com.katrin.presentation.action.SignalSelectAction"> > <forward name="success" path="/StrutsCXServlet" /> > </action> > > Form: > ===== > > public class SignalSelectForm extends ActionForm{ > > private ArrayList tables = new ArrayList(); > private String startDate; > private String endDate; > private String dateSearchType; > private ArrayList signals = new ArrayList(); > > public void setTables(String newtable) { > this.tables.add(newtable); > } > > public void setStartDate(String date) { > this.startDate = new String(date); > } > > public void setEndDate(String date) { > this.endDate = new String(date); > } > > public void setDataSearchType(String type) { > this.dateSearchType = new String(type); > } > > public void setSignals(String newsignal) { > this.signals.add(newsignal); > } > > public ArrayList getTables() { > return this.tables; > } > > public String getStartDate() { > return this.startDate; > } > > public String getEndDate() { > return this.endDate; > } > > public String getDataSearchType() { > return this.dateSearchType; > } > public ArrayList getSignals() { > return this.signals; > } > > public void reset() { > this.tables.clear(); > this.startDate = new String(""); > this.endDate = new String(""); > this.dateSearchType = new String(""); > this.signals.clear(); > } > } > > Institut fuer > Prozessdatenverarbeitung > und Elektronik, > Forschungszentrum Karlsruhe GmbH, > Postfach 3640, > D-76021 Karlsruhe, > Germany. > > Tel: (+49)/7247 82-4042 > E-mail : [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > IMPORTANT: This e-mail transmission is intended for the named addressee(s) only. Its contents are private, confidential and protected from disclosure and should not be read, copied or disclosed by any other person. If you are not the intended recipient, we kindly ask you to notify the sender immediately by telephone (+41-91-612 26 11), to redirect the message to the account "[EMAIL PROTECTED]" and to delete this e-mail. E-mail transmissions may be intercepted, altered or read by unauthorized persons and may contain viruses. Therefore, it is recommended that you use regular mail or courier services for any information intended to be confidential. However, by sending us messages through e-mail, you authorize and instruct us to correspond by e-mail in the relevant matter. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

