[ http://issues.apache.org/jira/browse/JS2-347?page=comments#action_12319713 ]
Scott T Weaver commented on JS2-347: ------------------------------------ Santiago, This a bug. Though I think this has always been true as the last batch of content server fixes only targeted dealing with cache controls for browsers correctly and did not touch the resource resolution code. This has probably been an issue since the advent of the content server and could probably be solved by correctly "namespacing" the the css's like you suggest. When I first put together the content server, there was no support for nested layouts and hence no need to worry about this isssue. Now that we have nested layouts, we need to revist the way we are doing things. Regards, -Scott > a portal cannot mix different layout decorations w/o problems > ------------------------------------------------------------- > > Key: JS2-347 > URL: http://issues.apache.org/jira/browse/JS2-347 > Project: Jetspeed 2 > Type: Bug > Components: Aggregation > Versions: 2.0-M4 > Reporter: Santiago Gala > > While testing the changes in the content server, Juan and myself detected that > one of the css included in the page, and all the images, have the same name > for every decorator. > Namely content/css/styles.css > This produces strange interactions with caching whenever there are fragments > using two different layout decorations in the same page, or the user switches > pages. > The icons and styles are taken apparently randomly from both stylesheets, > which > plays havoc with the decoration. > It looks like a solution for this would be to have the decoration name in the > resource, > like: > now: content/images/edit.gif -> content/THEME/images/edit.gif > now: content/css/styles.css and content/THEME/css/styles.css -> > content/THEME/css/layout-styles.css and content/THEME/css/portlet-styles.css > Not sure if it was a bug or intended in the last batch of changes by Scott, > so I just post here for clarification. > Scott? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
