Hi again,

In fact, I have a correct behavior for the display of the forms when I used
formState="NONE" in the loop inside form.

But the problem is on the parameter "action" of the form that contains the
loop on suggestions.

Here is the HTML code generated when I fix the surveyId value on the first
Loop :

<form id="survey_form_5" name="survey_form_5" method="post"
action="index.surveysuggestionsform_0.survey_form"
onsubmit="javascript:Tapestry.waitForPage(event);">


Here is the HTML code generated when I iterate on surveys :

<form id="survey_form_4" name="survey_form_4" method="post"
action="index.surveysuggestionsform.survey_form"
onsubmit="javascript:Tapestry.waitForPage(event);">
</form>


The problem seems to be on "index.surveysuggestionsform.survey_form"

Which modification I have to do in order to have dynamic "action" parameters
for the loop of forms ?

I want the "action" parameter to be 
"index.surveysuggestionsform_0.survey_form"
"index.surveysuggestionsform_1.survey_form"
"index.surveysuggestionsform_2.survey_form"

when I use the component in the following loop :

<t:loop source="surveys" value="surveyLoopValue" encoder="surveyEncoder">
        <t:surveys.surveySuggestionsForm surveyId="surveyLoopValue.id" />
</t:loop>


Regards,
Antoine.
-- 
View this message in context: 
http://old.nabble.com/Loop%2C-RadioGroup-and-Coercion-tp26944581p27147181.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to