[
https://issues.apache.org/jira/browse/WICKET-2872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-2872.
-----------------------------------
Assignee: Igor Vaynberg
Resolution: Duplicate
> Wicket:enclosure does not work properly on <wicket:extend> pages
> ----------------------------------------------------------------
>
> Key: WICKET-2872
> URL: https://issues.apache.org/jira/browse/WICKET-2872
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.8
> Reporter: Martin Makundi
> Assignee: Igor Vaynberg
> Attachments: Wicket-Quickstart.zip
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> I Just upgraded from 1.4-rc7 to 1.4.8 and I found a bug with enclosures:
> I used to have:
> <wicket:enclosure child="selectedCustomersLabel">
> <tr><th align="left"><wicket:container
> wicket:id="customerSelectionLabel"/>:</th><td><wicket:container
> wicket:id="selectedCustomersLabel"/></td></tr>
> </wicket:enclosure>
> And in the code I was used to changing the visibility only for
> selectedCustomersLabel
> This worked fine with 1.4-rc7. Setting selectedCustomersLabel invisible would
> hide also customerSelectionLabel.
> Now with 1.4.8 I get an exception that customerSelectionLabel does not have
> markup.... if I set it invisible it works, but that's a whole lot of work if
> I have to change all enclosures to work like this.
> Specifically, THE BUG OCCURS WHEN PAGE HAS <wicket:extend> tag. See attached
> quickstart.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.