When specifying input elements, are we supposed to specify the type, or let wicket handle it?

Example:

<input wicket:id="phone" id="phone" size="12" maxlength="20" />

This works with RequiredTextField, but TextField makes me add the type="text" attribute to the <input>

wicket.markup.MarkupException: Component phone must be applied to a tag with 'type' attribute matching 'text', not 'null'

Thanks,
Michael Day


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to