Ruben,
I guess that you can't access a property using a sintax of function in:
<html-el:select property="value(campos${st.count})">
Maybe you need to use the sintax of array:
<html-el:select property="value[campos${st.count}]">
Certo?
Paulo Marcio
----- Original Message -----
From: "Ruben Pardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 05, 2003 4:07 PM
Subject: dynamic generation of select fields problem
> Hi everybody!
>
> This is my problem, i've to generate a variable
> quantity of select fields. The solution i thougth was
> a map backed form, that dynamically generate the names
> of this fields with JSTL, something like this:
>
> <c:forEach items="${sessionScope}" var ="farmacia"
> varStatus="st">
> .....
> <html-el:select property="value(campos${st.count})">
> ..............
> ..............
> </html:select>
> ....
>
> </c:forEach>
>
> but qhen i try to run this, i've got an
> NullPointerException saying me that no getter for
> property value(campo1) ...
>
> I don't know what could be the problem, or how i can
> solve in other way.
>
> Thanks a lot and any type of help could be aprecciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]