You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "wicket@geofflancaster.com" <wi...@geofflancaster.com> on 2011/07/19 23:18:15 UTC

AjaxLink onclick being called twice

Has anyone had any problems using an AjaxLink where the onclick method is
being called twice? 

I'm trying to use an AjaxLink to load a ModalWindow but the second time
it's being called, the ModalWindow thinks that the window has already
loaded so it returns nothing.

--------------------------------------------------------------------
mail2web.com – What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: AjaxLink onclick being called twice

Posted by Clint Checketts <ch...@gmail.com>.
So you click the link and the modal displays, you dismiss the modal, click
the link again and nothing happens?

Is the behavior consistent across browsers?

-Clint

On Tue, Jul 19, 2011 at 4:18 PM, wicket@geofflancaster.com <
wicket@geofflancaster.com> wrote:

> Has anyone had any problems using an AjaxLink where the onclick method is
> being called twice?
>
> I'm trying to use an AjaxLink to load a ModalWindow but the second time
> it's being called, the ModalWindow thinks that the window has already
> loaded so it returns nothing.
>
> --------------------------------------------------------------------
> mail2web.com – What can On Demand Business Solutions do for you?
> http://link.mail2web.com/Business/SharePoint
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>