also, the restriction should not be there...you should be able to attach Button to [button type="submit"] without problems...
-igor On Sun, Mar 30, 2008 at 10:01 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > do you want this button to submit the form? > > -igor > > > > > On Sun, Mar 30, 2008 at 2:56 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > > Hello all, > > The Button in wicket expects the html markup <input .... > > I want to create, if there is none, a component for the <button ... > markup. > > > > My aim is to get a markup like the following: > > > > <button id="dinamiButton" style="background:transparent; > > border-style:none; cursor:pointer;"> > > <table width="100%" border="0" cellspacing="0" cellpadding="0"> > > <tr> > > <td valign="middle" class="butL"> </td> > > > > <td align="center" valign="middle" nowrap="nowrap" > > class="butM">Button Text</td> > > <td valign="middle" class="butR"> </td> > > </tr> > > </table> > > > > So, how do I start? > > How do I create my own new Wicket component? > > I would love to contribute it as StyledButton or something :) > > > > Thanks > > > > -- > > Eyal Golan > > [EMAIL PROTECTED] > > > > Visit: http://jvdrums.sourceforge.net/ > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
