You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ondrej Burkert (JIRA)" <ji...@apache.org> on 2012/10/25 15:07:12 UTC

[jira] [Commented] (WICKET-4838) TableTree duplicates after every expand/collapse

    [ https://issues.apache.org/jira/browse/WICKET-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484098#comment-13484098 ] 

Ondrej Burkert commented on WICKET-4838:
----------------------------------------

Cool, thanks for the quick reply:)
                
> TableTree duplicates after every expand/collapse
> ------------------------------------------------
>
>                 Key: WICKET-4838
>                 URL: https://issues.apache.org/jira/browse/WICKET-4838
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 6.1.1
>            Reporter: Ondrej Burkert
>            Assignee: Sven Meier
>         Attachments: tree-test.zip
>
>
> I tried to create TableTree adopting example from google.code TableTree but using 6.1.1 Wicket and the TableTree which is now included in extensions.
> Whenever I click on a tree node in the table to expand/collapse it, creates another div with wicket:id="table" and add it to the page. So then I have two tables the previous one and the new with changed node. If I repeat that it consequently adds  respective times many tables bellow. If I click to one of these old tables I get exception. If I refresh I got just the one correct tables and the page reloads.
>   
> I checked what Ajax response it generates and it looks correct - single correctly generated table. It seems to me that it does not replace correctly the old table and adds new one to the page.
> I'm very new to Wicket so there might be some trivial error I do which explains this behavior. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira