Actually I've just realiaed, you can't remove the behaviour with component instansiation because it hasn't been added yet. Look at ibeforeonbeforerenderlistener. Its called something like that, can't check at the moment. Richard
On 2 Dec 2009 17:30, "richardwilko" <richardjohnwilkin...@gmail.com> wrote: Hi, You could implement your own IComponentInstantiationListener, and in it add some sort of behavior to modify the component which removes the onclick. Or you could try an remove the AjaxEventBehavior from the AjaxFallbackLink. This should work globally but will only require you to modify your code in one place. eg something like this in application init: if(simple mode){ addComponentInstantiationListener( new IComponentInstantiationListener(){ onInstantiation(Component component){ if(component instance of AjaxFallbackLink){ IBehaviour b = code to get behaviour component.removeBehaviour(b) } } } ) } not sure if that will work but it seems like it should. Richard Leszek Gawron-2 wrote: > a > it seems that Mobile IE understands "onclick" a little bit to start > running it but not enough t... ----- http://richard-wilkinson.co.uk My blog: http://richard-wilkinson.co.uk -- View this message in context: http://old.nabble.com/AjaxFallbackLink-does-not-work-on-Windows-Mobile-Internet-Explorer-tp26612035p26612857.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user...