encode urls that are in the generated css file
----------------------------------------------

                 Key: ADFFACES-408
                 URL: https://issues.apache.org/jira/browse/ADFFACES-408
             Project: MyFaces ADF-Faces
          Issue Type: Bug
            Reporter: Jeanne Waldman
         Assigned To: Jeanne Waldman


The css file that gets generated from the skinning css file may contain urls, 
like background-image: url("/skins/purple/error.png");
We need to run these through the encodeResourceURL method.

The use case I have is when a portlet is running in an iframe inside a portal 
and we want to the portlet's urls to point to the portal's server:

==> Portal's CSS /WebCenter-ViewController-context-root/afr/sort_asc_n.png 
==> Portlet's CSS /adf-richclient-demo/afr/sort_asc_n.png

The second URL points to nowhere as such app is not in the portal's (parent)
application server.

If we encode the urls that we write out to the generated css file, this problem 
should be fixed. I am about to test it out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to