[
https://issues.apache.org/jira/browse/WICKET-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Iakimov updated WICKET-5060:
---------------------------------------
Attachment: wicket-fragment-test.7z
2 wicket pages with component and fragment
> Broken usage of fragment inside AbstractColumn.populateItem
> -----------------------------------------------------------
>
> Key: WICKET-5060
> URL: https://issues.apache.org/jira/browse/WICKET-5060
> Project: Wicket
> Issue Type: Bug
> Components: wicket, wicket-extensions
> Affects Versions: 6.4.0
> Reporter: Konstantin Iakimov
> Attachments: wicket-fragment-test.7z
>
>
> Page with DataTable, add new AbstractColumn with inlined populateItem.
> AbstractColumn.populateItem add fragment from same page with any kind of
> component(s) inside fragment.
> Exception
> The component(s) below failed to render. Possible reasons could be that: 1)
> you have added a component in code but forgot to reference it in the markup
> (thus the component will never be rendered), 2) if your components were added
> in a parent container then make sure the markup for the child container
> includes them in <wicket:extend> ... and list of component id's from fragment
> multiplied by amount of rows in DataTable
> With removing fragment and creating separate panel - exception gone and all
> works OK.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira