You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sony Thomas <so...@genialgenetics.com> on 2006/03/17 10:52:56 UTC

*** 50-100 *** text fields in JSP

Hi Friends,

I would like to have some guidance to solve my problem. I have a struts 
application. In one of the JSP's I have to display more than 50 editable 
text fields. So when I submit I don't want to submit the fields 
separately and get the values in the Action by using getters of 
ActionForm. Is there is any way to submit as an ArrayList or in any 
other way so that in my Action I will get List which contains values and 
the variable names.

If anyone has any idea please give me some guidance and any code 
examples is welcome.

Thanks in advance,


Sony Thomas

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


Re: *** 50-100 *** text fields in JSP

Posted by Michael Jouravlev <jm...@gmail.com>.
request.getParameterMap

On 3/17/06, Sony Thomas <so...@genialgenetics.com> wrote:
> Hi Friends,
>
> I would like to have some guidance to solve my problem. I have a struts
> application. In one of the JSP's I have to display more than 50 editable
> text fields. So when I submit I don't want to submit the fields
> separately and get the values in the Action by using getters of
> ActionForm. Is there is any way to submit as an ArrayList or in any
> other way so that in my Action I will get List which contains values and
> the variable names.
>
> If anyone has any idea please give me some guidance and any code
> examples is welcome.
>
> Thanks in advance,
>
>
> Sony Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Re: *** 50-100 *** text fields in JSP

Posted by Gareth Evans <ga...@msoft.co.uk>.
Hi,

You can use a list-backed or a map-backed form.

I think there is an example here
http://struts.apache.org/struts-action/userGuide/building_controller.html

Gareth

Sony Thomas wrote:
> Hi Friends,
> 
> I would like to have some guidance to solve my problem. I have a struts 
> application. In one of the JSP's I have to display more than 50 editable 
> text fields. So when I submit I don't want to submit the fields 
> separately and get the values in the Action by using getters of 
> ActionForm. Is there is any way to submit as an ArrayList or in any 
> other way so that in my Action I will get List which contains values and 
> the variable names.
> 
> If anyone has any idea please give me some guidance and any code 
> examples is welcome.
> 
> Thanks in advance,
> 
> 
> Sony Thomas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

-- 
Gareth Evans

MSoft eSolutions Limited
Technology Centre
Inward Way
Rossmore Business Park
Ellesmere Port
Cheshire
CH65 3EN

-- 
Tel:    +44 (0)870 0100 704
Fax:    +44 (0)870 9010 705
E-Mail: gareth@msoft.co.uk
Web:    www.msoft.co.uk

----------------------------------------------
Terms:
Please note that any prices quoted within this e-mail are subject to VAT.
All program details and code described in this e-mail are subject to
copyright © of MSoft eSolutions Limited and remain the intellectual
property of MSoft eSolutions Limited.
Any proposal or pricing information contained within this e-mail are
subject to MSoft eSolutions' Terms and Conditions
----------------------------------------------
Disclaimer:
This message is intended only for use of the addressee. If this message
was sent to you in error, please notify the sender and delete this
message. MSoft eSolutions Limited cannot accept responsibility for viruses,
so please scan attachments. Views expressed in this message do not
necessarily reflect those of MSoft eSolutions Limited who will not
necessarily be bound by its contents.



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


Re: *** 50-100 *** text fields in JSP

Posted by vijay venkataraman <vi...@ltp.soft.net>.
See http://struts.apache.org//struts-doc-1.1/faqs/indexedprops.html.

Vijay Venkataraman

Sony Thomas wrote:

> Hi Friends,
>
> I would like to have some guidance to solve my problem. I have a 
> struts application. In one of the JSP's I have to display more than 50 
> editable text fields. So when I submit I don't want to submit the 
> fields separately and get the values in the Action by using getters of 
> ActionForm. Is there is any way to submit as an ArrayList or in any 
> other way so that in my Action I will get List which contains values 
> and the variable names.
>
> If anyone has any idea please give me some guidance and any code 
> examples is welcome.
>
> Thanks in advance,
>
>
> Sony Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


------------------------------DISCLAIMER------------------------------
This message is for the named person's use only. It may contain 
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. 

If you receive this message in error, please immediately delete it and 
all copies of it from your system, destroy any hard copies of it and 
notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the 
intended recipient. 

Lisle Technology Partners Pvt. Ltd. and any of its subsidiaries each 
reserve the right to monitor all e-mail communications through its 
networks. 

Any views expressed in this message are those of the 
individual sender, except where the message states otherwise and the 
sender is authorized to state them to be the views of any such entity.

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