--- Pierre-Alain Branger <[EMAIL PROTECTED]> wrote:
> type="org.apache.struts.action.DynaActionForm">
> name="nameParam"
> type="java.util.ArrayList"/>
?
Sorry; I really don't remember :(
d.
___
Well, I have tried the following:
With the following velocity code:
#set( $i = 0 )
#foreach ($param in $dataApplication.paramsList )
$param.nameparam : $param.descparam
#set( $i = $i +1 )
#end
I obtain the following HTML code:
And I try to retreive my p
Great! I'll test it and let you learn!
Thanks a lot,
Pierre
> --- Pierre-Alain Branger <[EMAIL PROTECTED]> wrote:
>> Yes I have seen that it is possible to use an
>> ArrayList in DynaActionForm.
>> [...]
>
>
>
> You may need to just add an index from your iteration
> to the input tag.
>
> http:
--- Pierre-Alain Branger <[EMAIL PROTECTED]> wrote:
> Yes I have seen that it is possible to use an
> ArrayList in DynaActionForm.
> [...]
You may need to just add an index from your iteration
to the input tag.
http://struts.apache.org/1.2.9/faqs/indexedprops.html
might provide more insight t
Hi again,
Yes I have seen that it is possible to use an ArrayList in DynaActionForm.
Maybe you ll be able to enlight me:
- When I use an ArrayList all controls of the same name () added to this list inclusding the empty ones,
isn'it
- Admitting it do, how can I retreive the correspondance between
--- Pierre-Alain Branger <[EMAIL PROTECTED]> wrote:
> I investigated on DynaActionForm but it does not
> seem that I can do that with it.
You can't use an array in DynaActionForm?
Dave
Don't pick lemons.
See
Hi everybody,
I explain my problem. I am doing an application with struts and velocity
that permit to automatically generate my forms.
To make simple my form would be something like that:
#foreach ($element in $myBean.listofelements )
#end
What I need is a way to retreive my
7 matches
Mail list logo