You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gerolf Seitz (JIRA)" <ji...@apache.org> on 2008/04/09 11:29:24 UTC
[jira] Commented: (WICKET-1500) WebMarkupContainer multiplicated
markup when using AjaxLink
[ https://issues.apache.org/jira/browse/WICKET-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587107#action_12587107 ]
Gerolf Seitz commented on WICKET-1500:
--------------------------------------
i see that your markup is like:
<p> <h4> Header A</h4> </p>
isn't that considered invalid html?
also see http://htmlhelp.com/reference/html40/block/h1.html
> 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.1, 1.3.3
> Reporter: Daniel Stoch
> Assignee: Matej Knopp
> Attachments: ajax-container-test.zip
>
>
> 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.