You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Santiago Gala (JIRA)" <je...@portals.apache.org> on 2005/08/24 23:16:24 UTC

[jira] Updated: (JS2-347) a portal cannot mix different layout decorations w/o problems

     [ http://issues.apache.org/jira/browse/JS2-347?page=all ]

Santiago Gala updated JS2-347:
------------------------------

    Attachment: content.patch

This is how far I arrived, Scott, just in case it saves some time there.

It was working for the css generation. images and/or scripts and other content is missing and trickier, specially the img src of the action gifs.

> 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
>  Attachments: content.patch
>
> 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org