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

Igor Vaynberg updated WICKET-722:
---------------------------------

    Fix Version/s: 1.3.0-beta4

> 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.

Reply via email to