However, Scott, there is one problem left:

#macro (valTextFeld $bezeichnung $feld $size)
<tr><td align="right">$bezeichnung</td><td>
<input type="Text" name="$feld.Key" value="$!feld" size="$size">
#if (!$feld.isValid())
<span style="color: red">$feld.Message</span>
#end


After the form is processed with invalid fields, the error messages do
appear, but not the values that have been typed into the input-field before.

after $feld=mygroup.myfield
"$!feld" seems not to work.

Is it necessary to use "$!mygroup.myfield" explicitly ?
Or do you know a work around to use ?

(I'm not quite sure what this "$!xxx" syntax is all about. Maybe it is
explained in Velocity how-to.)

Regards
Marc




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to