You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2007/09/23 16:27:50 UTC
[jira] Resolved: (WICKET-993) wicket:enclosure doesn't work with
multiple child components
[ https://issues.apache.org/jira/browse/WICKET-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-993.
---------------------------------------
Resolution: Fixed
fixed
> wicket:enclosure doesn't work with multiple child components
> ------------------------------------------------------------
>
> Key: WICKET-993
> URL: https://issues.apache.org/jira/browse/WICKET-993
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta3
> Reporter: Martijn Dashorst
> Assignee: Juergen Donnerstag
> Fix For: 1.3.0-beta4
>
>
> <div wicket:id="example3">
> <h3>Example 3 using wicket:enclosure</h3>
> <span wicket:id="label1"></span><br />
> <span wicket:id="label2"></span><br />
> <wicket:enclosure child="label3">
> <span wicket:id="label3"></span><br />
> <span wicket:id="label4"></span><br />
> </wicket:enclosure>
> </div>
> WebMarkupContainer example3 = new WebMarkupContainer("example3");
> example3.add(new Label("label1", "label 1"));
> example3.add(new Label("label2", "label 2"));
> example3.add(new Label("label3", "label 3"));
> example3.add(new Label("label4", "label 4"));
> add(example3);
> example3.get("label3").setVisible(false);
> Gives an error that label4 is not added to the page
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.