It happens that I throw a lot of data into an argument in my app: iterative, but they have more data, data The requirement is dependent on each row of the iterative, so I thought submit a button to each line of iterative (or perhaps a link), so I can redirect the app to the next page. The problem is that the action always present the first line of data.
I have solved this problem using Javascript: data in the selected row in the first line but I was thinking that there is another solution, such as indexed = "true" in the submit button. And then, anyway, it is getting enough data without having javascript done.
Thanks for all!
Edit to add some example code:
& lt; Logic: iterate id = "myIterator" name = "sql" indexId = "index" & gt; & Lt; Html: form action = "more data" style id = "more data" & gt; & Lt; TR & gt; & Lt; Td> & Lt; Html: image src = "docs / images / more_data" property = "more data" index = "true" /> gt; & Lt; / Td> & Lt; Td> Bean: write name = "myitator" property = "cod_user" /> gt; & Lt; / Td> & Lt; Td> Bean: write name = "myitator" property = "txt_user" /> gt; & Lt; / Td> & Lt; Td> Bean: write-name = "myitator" property = "date_apaign" /> gt; & Lt; / Td> & Lt; Td> Bean: write name = "myitator" property = "id_number" /> gt; & Lt; / Td> & Lt; / TR & gt; & Lt; / Html: form & gt; & Lt; / Logic: recurrence & gt;
& lt; Input type = "submit" name = "btn []" value = "loopVarible" /> & Lt; Input type = "submit" name = "btn []" value = "loop" />
Comments
Post a Comment