No, that would mean magic from the Wicket side, which we try to minimize as much as possible. Wicket doesn't know your intentions with the markup or the designers intentions. If you look at the html file in a browser directly you would see the same thing. This previewability would be lost if we would do this.
Martijn On 3/8/07, Shams Mahmood <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using wicket1.2.jar > > Recently I noticed that giving no type attribute inside input tag of a > Wicket Button > results in the Button being displayed as textfield. > The same is true for textfields, but it doesnt really matter in that case > :). > > I guess this could be corrected in java code so that if type is not found > for certain input tag components, the correct type attribute is inserted by > the Java code. > components could include buttons, radios, checkboxes, etc. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.5 will keep your server alive. Download Wicket now! http://wicketframework.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user