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

Igor Vaynberg commented on WICKET-2238:
---------------------------------------

have you tried using the regular add() method in your resolver? you will have 
to add a guard so that the resolver, which runs on every render, doesnt try to 
add the same component twice.

> Keep auto-components after rendering
> ------------------------------------
>
>                 Key: WICKET-2238
>                 URL: https://issues.apache.org/jira/browse/WICKET-2238
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: Ricardo Mayerhofer
>            Priority: Minor
>
> Auto-components are removed after rendering, so components added through 
> component resolvers that take user input don't work.
> The code is located in MarkupContainer.java:
> if (component.isAuto()) { children_remove(i); }
> Thanks for considering.

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