hah,resolved!
<INPUT class='text' type='text' name='user.username'>
jack-tom wrote:
>
> Hi good day,
> May I know how to use the velocity FormTool..
> publicclassUserForm extendsActionForm {
>
> privateUser user;
> publicUserForm(){
> this.user=newUser();
> }
> publicUser getUser() {
> returnuser;
> }
> publicvoidsetUser(User user) {
> this.user= user;
> }
> …
> In jsp:
> <html:form action="/user">
> <html:text property="user.username"/>
> <html:text property="user.password"/>
> <html:submit value="submit"/>
> </html:form>
> In velocity how?
> <INPUT type="text" name="$form.bean.user.username"> doesn’t work!
> Thanks…
>
>
>
>
--
View this message in context:
http://www.nabble.com/FormTool-doesn%27t-work-tp18106592p18188504.html
Sent from the Velocity - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]