use FileUploadField instead of plain TextField On Tue, May 10, 2011 at 3:48 PM, eugenebalt <[email protected]> wrote: > It looks like HTML supports this automatically via <input type="file">. > > But my question is, when I do this in my HTML, Wicket gives me this error: > > "Component <comp> must be applied to a tag with 'type' attribute matching > 'text', not 'file' " > > Does anyone know how to let Wicket handle an input type="file"? What does > the model object have to be, not a String? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/File-Chooser-Browse-For-File-Common-Dialog-Box-tp3511882p3511913.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
