Scripts and styles defined in *-themes.xml reordered by <p:theme />
-------------------------------------------------------------------
Key: JBPORTAL-2182
URL: https://jira.jboss.org/jira/browse/JBPORTAL-2182
Project: JBoss Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Portal Theme
Environment: Mac OS X
Reporter: Andy Pemberton
Fix For: 2.6.5 Final
When rendering the <scripts>, <styles>, and <links> defined in *-themes.xml - the <p:theme /> tag appears to reorder the elements, specifically by placing all of the <link> tags after all of the script <tags>.
It appears as though the PortalThemeMetaDataFactory.addChild() methods pull all of the scripts and styles separately.
This is undesirable because theme authors should be able to control the order of their includes:
1) Often, the order that CSS rules are included will affect how the rules are applied.
2) The order of javascripts included can also affect behavior
3) Rendering all of the scripts before all of the link tags can be a performance problem (see: http://developer.yahoo.com/performance/rules.html#css_top)
This is related to: https://jira.jboss.org/jira/browse/JBPORTAL-1105
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Doc requirement to write ClassLoaders that return class files as resources
--------------------------------------------------------------------------
Key: JBAOP-574
URL: http://jira.jboss.com/jira/browse/JBAOP-574
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR9
Reporter: Flavia Rainone
Assigned To: Flavia Rainone
Fix For: 2.0.0.GA
If JBoss AOP is used with a class loader that does not recognizes class files as resources, an error will occur.
We need to document the need to have getResource and getResourceAsStream methods (and related methods) implemented in a way that a class file is returned as a resource.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira