struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FrenzyGNX <xucheng_...@yahoo.com.sg>
Subject Re: Dynamic number of properties in an ActionForm?
Date Mon, 23 Jun 2003 04:14:41 GMT
You can use a Collection or array to hold the data and
use <logic:iterate> or <c:forEach> tags to interate
through the collection and display the items.

You can use a Map backed form to send back the values.

 --- Bjorn T Johansen <btj@havleik.no> wrote: > I have
a little question. How do I setup a page with
> a form where I
> don't know the number of properties in the form at
> design time? I have a
> table of rows with a known number of columns but I
> don't know the number
> of rows at design time, so how do I implement this
> using an ActionForm?
> I need to read back the values also, not only
> display them...
> 
> 
> Regards,
> 
> BTJ
> 
> 
>
-----------------------------------------------------------------------------------------------
> Bjørn T Johansen (BSc,MNIF)
> Executive Manager
> btj@havleik.no                  Havleik Consulting
> Phone : +47 67 54 15 17         Conradisvei 4
> Fax : +47 67 54 13 91           N-1338 Sandvika
> Cellular : +47 926 93 298      
> http://www.havleik.no
>
-----------------------------------------------------------------------------------------------
> "The stickers on the side of the box said "Supported
> Platforms: Windows
> 98, Windows NT 4.0,
> Windows 2000 or better", so clearly Linux was a
> supported platform."
>
-----------------------------------------------------------------------------------------------
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
>  

__________________________________________________
Do You Yahoo!?
Send free SMS from your PC!
http://sg.sms.yahoo.com

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


Mime
View raw message