WebMarkupContainer multiplicated markup when using AjaxLink
-----------------------------------------------------------

                 Key: WICKET-1500
                 URL: https://issues.apache.org/jira/browse/WICKET-1500
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.3, 1.3.1
            Reporter: Daniel Stoch


There is a strange behaviour when I'm trying refresh WebMarkupContainer 
component using AjaxLink. I have attached quickstart-app 
(ajax-container-test.zip) where you can see this problem. There is a simple 
HomePage with one WebMarkupContainer and one AjaxLink. This WebMarkupContainer 
is refreshed upon AjaxLink click.

For the first time page is rendered as follows:
Header A
Ajax request

When I click "Ajax request" link the onClick metod is called to refresh 
container component (which is WebMarkupContainer). But instead of refreshing 
(repainting) of "container" markup (<p wicket:id="container">...</p> markup), 
it is dupliacted below the original paragraph. Each click on this ajax link 
causes this paragraph multiplication and after eg. 4 clicks the page looks like:
Header A
Header A
Header A
Header A
Header A
Ajax request

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