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]