For your first question - yes
I found out that ImageButton must have input as tag.

As for my problem, I found a nicer solution that using CSS I can manipulate
the image.
(I will put here the link tomorrow when I'll be back at work).

As for my original question, I would still love a kick start of how to make
a (almost totally) new component.

Thanks for all the help

On Sun, Mar 30, 2008 at 8:02 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:

> 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">&nbsp;</td>
> >  >
> >  >     <td align="center" valign="middle" nowrap="nowrap"
> >  >  class="butM">Button Text</td>
> >  >     <td valign="middle" class="butR">&nbsp;</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]
>
>


-- 
Eyal Golan
[EMAIL PROTECTED]

Visit: http://jvdrums.sourceforge.net/

Reply via email to