You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2007/09/16 14:09:32 UTC

[jira] Resolved: (WICKET-722) IndicatingAjaxFallbackLink does not remove indicator if the link itself is added via ajax

     [ https://issues.apache.org/jira/browse/WICKET-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp resolved WICKET-722.
--------------------------------

    Resolution: Fixed

> IndicatingAjaxFallbackLink does not remove indicator if the link itself is added via ajax
> -----------------------------------------------------------------------------------------
>
>                 Key: WICKET-722
>                 URL: https://issues.apache.org/jira/browse/WICKET-722
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>         Environment: Windows XP, JBoss-4.2.0GA, JDK 1.5
>            Reporter: Martin Voigt
>            Assignee: Matej Knopp
>             Fix For: 1.3.0-beta4
>
>         Attachments: WICKET-722.patch
>
>
> Any link extending IndicatingAjaxFallbackLink that adds itself to the AjaxRequestTarget via:
> @Override
> public void onClick(AjaxRequestTarget target) {
>     //do stuff
>    if (target != null) {
>            target.addComponent(this);
>        } else {
>            setResponsePage(getPage());
>       }
> }
> This results in adding the indicator-span to the page every time that link is clicked, if clicked 5 times there are 5 indicator-spans visible. Reloading the page or target.addComponent(containerThatContainsTheLink) removes the indicators.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.