You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pavel Sapozhnikov <pa...@gmail.com> on 2007/10/19 17:35:01 UTC

S1 Indexed Properties question

Hi I have a question so I need to have a form that will be able to create
dynamic text boxes. I heard this can be done using indexed properties in
struts 1. Basically what I need is like a button that will say Add A Person
then when u click on that button two text boxes will come up in one row Last
Name and First Name. So clicking on that button would add this row with two
text boxes but I need this to be utilizing struts indexed properties. If
anyone could point me in the right direction or maybe have an example of
such it would be greately appreciated. This indexed properties stuff is also
very new to me.

Thanks
Pavel

-- 
Pavel Sapozhnikov
xFact, Inc
pavel@xfact.com

Re: S1 Indexed Properties question

Posted by "Fitzwilliam.Aaron" <fi...@gmail.com>.
In that case, i think you need mapped properties instead of indexed
properties.

read this:
http://struts.apache.org/1.2.9/faqs/indexedprops.html

Mapped properties and javascript need to cooperate together in order to
solve the problem.

Wish this would help.

On 10/20/07, Pavel Sapozhnikov <pa...@gmail.com> wrote:
>
> Hi I have a question so I need to have a form that will be able to create
> dynamic text boxes. I heard this can be done using indexed properties in
> struts 1. Basically what I need is like a button that will say Add A
> Person
> then when u click on that button two text boxes will come up in one row
> Last
> Name and First Name. So clicking on that button would add this row with
> two
> text boxes but I need this to be utilizing struts indexed properties. If
> anyone could point me in the right direction or maybe have an example of
> such it would be greately appreciated. This indexed properties stuff is
> also
> very new to me.
>
> Thanks
> Pavel
>
> --
> Pavel Sapozhnikov
> xFact, Inc
> pavel@xfact.com
>



-- 
Fitzwilliam Python A@ron