You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Benjamin Hille <be...@notuskey.com> on 2001/11/30 17:36:39 UTC
multiple references in form
Hello,
I am trying to access the references I am creating with the following VTL
code:
#foreach($offatt in $vectors)
<table width="80%" border>
<tr>
$velocityCount
</tr>
<tr>
#formCell ("Name" "name" $!offatt.Name})
</tr>
<tr>
#formCell ("Description" "description"
$!offatt.Description})
</tr>
<tr>
<td>
<input type="submit" name="eventSubmit_doAdd" value="Record
the attribute">
</td>
</tr>
</table>
#end
Now is that right ? How to I access the references in the java code.
setProperties works only for the first entry in the table following call
give a null value. Is there a way to fill an array reference with the form ?
Thank you very much,
Benjamin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>