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

Tobias Haupt edited comment on WICKET-5291 at 7/26/13 12:02 PM:
----------------------------------------------------------------

In ResourceAggregator every recorded item will be rendered in the specified 
order (child first, filtering etc.). When an item is recorded, the dependencies 
are recorded first.

The bundle resolving is triggered later, when all recorded items will be 
rendered to the real response. In getItemToBeRendered(HeaderItem item) items 
that belong to a bundle are replaced with that bundle. This may result in a 
bundle beeing rendered before all dependencies of the inculded items are 
rendered. 

Bundles should be searched for at recording time, not at real rendering time.
                
      was (Author: tobiashaupt):
    In ResourceAggregator every recored item will be rendered in the specified 
order (child first, filtering etc.). When an item is recorded, the dependencies 
are recorded first.

The bundle resolving is triggered later, when all recorded items will be 
rendered to the real response. In getItemToBeRendered(HeaderItem item) items 
that belong to a bundle are replaced with that bundle. This may result in a 
bundle beeing rendered before all dependencies of the inculded items are 
rendered. 

Bundles should be searched for at recording time, not at real rendering time.
                  
> Dependencies of Resource Bundle References are ignored
> ------------------------------------------------------
>
>                 Key: WICKET-5291
>                 URL: https://issues.apache.org/jira/browse/WICKET-5291
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.9.1
>            Reporter: Tobias Haupt
>         Attachments: quickstart_bundle.zip
>
>
> When several resource references are bundled, the bundle inherits the 
> dependencies of all included resource references. Those dependencies are not 
> evaluated when a header item is created from an included reference and 
> rendered to the response (in ResourceAggregator). 

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

Reply via email to