struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khalid K." <gro...@maikada.com>
Subject Re: Help with Multiple Input!
Date Tue, 03 Dec 2002 19:36:11 GMT
You can use a form tag to gather all that information. I dont understand why
you need a "loop"
Are you using Struts frame work ??

<form name="myform" action="your action class" method="post">
<input type=checkbox name=monday>
....
<input type="select" name="startTime">
.....
</form>

Please note that this is just "psuedo code", and that I am not using Strtus
Form.
Once you post the form, these variables will be available in the request
object.

Khalid

----- Original Message -----
From: "Jana Navaneethan" <jana.navaneethan@labs.gte.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Tuesday, December 03, 2002 11:08 AM
Subject: Help with Multiple Input!


> Hi,
>       I have a form in which I am collecting multiple input from the user,
> for example
> for each day of the week I am collecting opening hour and closing hour
> something in the format of
>
> day -  checkbox -  select/option - select/option , I want to do this in a
> loop for all 7 days of the week. I couldn't find any good examples or
> tutorials for this. Please let me know the right way of doing this or any
> sample would be greatly appreciated!
>
> Thanks in advance,
> Jana.
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message