You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2017/05/02 09:23:04 UTC

[jira] [Resolved] (WICKET-6361) MarkupContainer#queue doesn't work in table column

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

Andrea Del Bene resolved WICKET-6361.
-------------------------------------
    Resolution: Fixed

With this fix components dequeuing is triggered on container initialization, but only if the container or one of its parent has something to dequeue.
The code we use inside MarkupContainer#addedComponent to propagate dequeuing has been removed as it is not useful anymore 

> MarkupContainer#queue doesn't work in table column
> --------------------------------------------------
>
>                 Key: WICKET-6361
>                 URL: https://issues.apache.org/jira/browse/WICKET-6361
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.6.0, 8.0.0-M5
>            Reporter: Andrew Geery
>            Assignee: Andrea Del Bene
>            Priority: Minor
>             Fix For: 7.7.0, 8.0.0-M6
>
>         Attachments: myproject.zip
>
>
> When the AbstractColumn#populateItem adds a Panel which uses the MarkupComponent#queue method to add its children, the following error occurs:  Detach called on component with id 'cell' while it had a non-empty queue.
> If the queue methods are changed to add, everything works.  This is the workaround.
> In the attached file, the problem is ActionPanel (which is added by ActionColumn).  Changing queue to add makes the example work.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)