ajaxButton.add(new AttributeAppender("onclick", true,
"this.disabled='disabled'"));On Wed, Dec 1, 2010 at 9:53 AM, Muro Copenhagen <[email protected]>wrote: > Hi Igor, > > Thanks for the reply...i found IndicatingAjaxButton that i could use. > > It almost does what i want, it adds the busy button next to the submit > button. > > I now need to disable the original button. > > I tried this without any luck: > http://wicketbyexample.com/disabling-an-ajax-submit-button/ > > Do you know how to add an attribute like: style="display: none;" > to the original submit button on the fly, when click. > > I mean what behavior to use/implement? > > Best Regards > Muro > > On Tue, Nov 30, 2010 at 5:27 PM, Igor Vaynberg <[email protected] > >wrote: > > > write a behavior that adds javascript to the button that does that. > > > > -igor > > > > On Tue, Nov 30, 2010 at 3:07 AM, Muro Copenhagen <[email protected]> > > wrote: > > > Hi, > > > > > > I want to change the button image to a ajaxloader image, after the user > > > clicks on submit, > > > and there are no feedback errors. > > > > > > It has to work both on a regular button and on a ajax button. > > > > > > Any suggestions on how to make this work? > > > > > > Best Regards > > > Muro > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
