hi,
I have a arraylist of BolgeDTO in request scope. I am iterating this
arraylist in the code below. The problem is I want to add a "edit"
button on the column. And I want to pass the whole properties to the
next form so The form will contain the data from the selected row. I
look at the html:link doc. It says that:
"If you prefer to specify a java.util.Map that contains all of the
request parameters to be added to the hyperlink, use one of the
following techniques:Specify only the name attribute - The named JSP
bean (optionally scoped by the value of the scope attribute) must
identify a java.util.Map containing the parameters."
I tried this method by adding a Map property to the DTO and set it
from its constructor. But it didn't work. Any suggestions please?
<logic:iterate id="b" name="bolgeler">
<tr>
<td>
<bean:write name="b" property="bolge"/>
</td>
<td>
<bean:write name="b" property="bolge_kodu_s"/>
</td>
<td>
<bean:write name="b" property="bolge_kodu_t"/>
</td>
<td>
<bean:write name="b" property="bolge_adi"/>
</td>
<td>
<html:link action="edit"
name="b">
D�zenle
</html:link>
</td>
</tr>
</logic:iterate>
--
Regards,
M. Onur Tokan
--
Regards,
M. Onur Tokan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]