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

Leszek Gawron commented on WICKET-2556:
---------------------------------------

That is what I usually do. Still one time the described approach seemed like an 
easier one and I hit an error (which actually does not lead to conclusion that 
the approach is invalid).

> Replacing WebMarkupContainer raises exception
> ---------------------------------------------
>
>                 Key: WICKET-2556
>                 URL: https://issues.apache.org/jira/browse/WICKET-2556
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.3
>            Reporter: Leszek Gawron
>            Assignee: Igor Vaynberg
>         Attachments: markupcontainertest1.zip
>
>
>               final MarkupContainer container = new WebMarkupContainer( 
> "container" );
>               container.add( new Link<Void>( "replace" ) {
>                       @Override
>                       public void onClick() {
>                               container.replaceWith( new EmptyPanel( 
> container.getId() ) );
>                       }
>               } );
>               add( container );
> will fail, please find attached the maven project to reproduce the behavior.
> Tested under 1.5-SS

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