you can have <input type="button" wicket:id="linkButton"/> in markup
and new AjaxLink("linkButton") {...} in java code.
Gerolf
On Tue, May 20, 2008 at 2:35 AM, mnwicket <[EMAIL PROTECTED]> wrote:
>
> That is an option, but would rather use;
>
> <input type="button".../>
>
> I have styles around my input buttons that I want to reuse. I'm sure I can
> create my own custom component, but thought someone has probably done it or
> has a good way around it.
>
>
>
> Mathias P.W Nilsson wrote:
> >
> > Are you talking about an input type button? Couldn't you just use
> >
> > add( new AjaxLink( "closeLink" ){
> > public void onClick( AjaxRequestTarget target ){
> > // close the modal window
> > }
> > } );
> >
> >
> > Markup
> >
> > <a wicket:id="closeLink"><img
> > src="../path/to/link"/></a>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/AjaxButton-without-a-Form-tp17330924p17331010.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>