Re: [Wicket-user] cannot disable AjaxLink

2006-11-29 Thread Matej Knopp
Yeah, this is a known issue. It is fixed in 2.0, the fix will probably be backported to 1.x at some point. -Matej De Soca wrote: Hello, just wondering if this a bug or a feature. Using one of the AjaxLink samples included in the Wicket examples, it seems that the setEnabled flag is

Re: [Wicket-user] cannot disable AjaxLink

2006-11-29 Thread De Soca
Okay. Thanks. Erik van Oosten wrote: Looking in the code of AjaxLink I see no special code for enabled/disabled state. If it fits what you need, you could try AjaxFallBackLink. Otherwise try to extend AjaxLink and override the method renderComponentTag in which you remove the onclick

[Wicket-user] cannot disable AjaxLink

2006-11-28 Thread De Soca
Hello, just wondering if this a bug or a feature. Using one of the AjaxLink samples included in the Wicket examples, it seems that the setEnabled flag is ignored for AjaxLinks. i.e ajaxLink.setEnabled(false); Seems to have no effect. Is this a feature or defect etc? Thanks. -- View this

Re: [Wicket-user] cannot disable AjaxLink

2006-11-28 Thread Erik van Oosten
Looking in the code of AjaxLink I see no special code for enabled/disabled state. If it fits what you need, you could try AjaxFallBackLink. Otherwise try to extend AjaxLink and override the method renderComponentTag in which you remove the onclick attribute from the tag. (Don't forget to call