[ 
https://issues.apache.org/jira/browse/WICKET-4328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emond Papegaaij reassigned WICKET-4328:
---------------------------------------

    Assignee: Emond Papegaaij  (was: Martin Grigorov)
    
> JavaScriptFilteredIntoFooterHeaderResponse + CssHeaderItem Enhancement
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4328
>                 URL: https://issues.apache.org/jira/browse/WICKET-4328
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.0.0
>            Reporter: Robert McGuinness
>            Assignee: Emond Papegaaij
>         Attachments: FooterAcceptingResponseFilter.java, 
> HeaderAcceptingResponseFilter.java, InceptionFilteredHeaderResponse.java, 
> JavaScriptReferenceInHeaderItem.java
>
>
> http://apache-wicket.1842946.n4.nabble.com/Wicket-6-0-JavaScriptFilteredIntoFooterHeaderResponse-CssHeaderItem-td4274687.html
> The default JavaScriptFilteredIntoFooterHeaderResponse seems too restrictive 
> by only accepting CssHeaderItem types in the header bucket and filtering 
> everything else into the footer bucket.  Components contributing to meta tags 
> for example, get filtered into the footer bucket in the current design.  
> Also, some javascript resources need to live in the header bucket for 
> functionality (modernizr.js, etc).
> Food for thought: maybe allow types of HeaderItem to accept an 
> IHeaderResponseFilter as a target when building resources.  Ex:
>   response.render(JavaScriptReferenceHeaderItem.forReference(new 
> JavaScriptResourceReference(AssetsInception.class, 
> "modernizr-custom.js").in(FooterAcceptingResponseFilter.class));
> then the "accepts" method of the FooterAcceptingResponseFilter can check if 
> the HeaderItem should accepted or denied.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to