You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org> on 2007/12/06 19:36:45 UTC

[jira] Created: (TRINIDAD-853) skin-sharing not working after deployment unless accessed as servlet first

skin-sharing not working after deployment unless accessed as servlet first
--------------------------------------------------------------------------

                 Key: TRINIDAD-853
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-853
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.0.4-core
            Reporter: Jeanne Waldman
            Assignee: Jeanne Waldman


To reproduce, make sure the /adf/styles directory does not already exist in the target directory. Delete it if it does.
Set output-mode to portlet in trinidad-config.xml
In CoreRenderingContext code set the requested skin id and the requested skin stylesheet id to something to get this code path to run.
(or you can actually run this as a portlet)

Run a demo.

You will get this error:
WARNING: Could not locate the Trinidad styles directory.Please be sure that
the Trinidad installable resources are installed.

I've already looked into this and it is because the /adf/styles directory does not exist yet when this code path is run. It gets created in mkdirs in FileSystemStyleCache's constructor which gets called from SkinStyleProvider.



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


[jira] Commented: (TRINIDAD-853) skin-sharing not working after deployment unless accessed as servlet first

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549289 ] 

Jeanne Waldman commented on TRINIDAD-853:
-----------------------------------------

Completed: At revision: 601969  
on trunk

> skin-sharing not working after deployment unless accessed as servlet first
> --------------------------------------------------------------------------
>
>                 Key: TRINIDAD-853
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-853
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.4-core
>            Reporter: Jeanne Waldman
>            Assignee: Jeanne Waldman
>
> To reproduce, make sure the /adf/styles directory does not already exist in the target directory. Delete it if it does.
> Set output-mode to portlet in trinidad-config.xml
> In CoreRenderingContext code set the requested skin id and the requested skin stylesheet id to something to get this code path to run.
> (or you can actually run this as a portlet)
> Run a demo.
> You will get this error:
> WARNING: Could not locate the Trinidad styles directory.Please be sure that
> the Trinidad installable resources are installed.
> I've already looked into this and it is because the /adf/styles directory does not exist yet when this code path is run. It gets created in mkdirs in FileSystemStyleCache's constructor which gets called from SkinStyleProvider.

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


[jira] Commented: (TRINIDAD-853) skin-sharing not working after deployment unless accessed as servlet first

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549257 ] 

Jeanne Waldman commented on TRINIDAD-853:
-----------------------------------------

Completed: At revision: 601932  
on trunk_1.2.x

> skin-sharing not working after deployment unless accessed as servlet first
> --------------------------------------------------------------------------
>
>                 Key: TRINIDAD-853
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-853
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.4-core
>            Reporter: Jeanne Waldman
>            Assignee: Jeanne Waldman
>
> To reproduce, make sure the /adf/styles directory does not already exist in the target directory. Delete it if it does.
> Set output-mode to portlet in trinidad-config.xml
> In CoreRenderingContext code set the requested skin id and the requested skin stylesheet id to something to get this code path to run.
> (or you can actually run this as a portlet)
> Run a demo.
> You will get this error:
> WARNING: Could not locate the Trinidad styles directory.Please be sure that
> the Trinidad installable resources are installed.
> I've already looked into this and it is because the /adf/styles directory does not exist yet when this code path is run. It gets created in mkdirs in FileSystemStyleCache's constructor which gets called from SkinStyleProvider.

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


[jira] Resolved: (TRINIDAD-853) skin-sharing not working after deployment unless accessed as servlet first

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeanne Waldman resolved TRINIDAD-853.
-------------------------------------

    Resolution: Fixed

> skin-sharing not working after deployment unless accessed as servlet first
> --------------------------------------------------------------------------
>
>                 Key: TRINIDAD-853
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-853
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.4-core
>            Reporter: Jeanne Waldman
>            Assignee: Jeanne Waldman
>
> To reproduce, make sure the /adf/styles directory does not already exist in the target directory. Delete it if it does.
> Set output-mode to portlet in trinidad-config.xml
> In CoreRenderingContext code set the requested skin id and the requested skin stylesheet id to something to get this code path to run.
> (or you can actually run this as a portlet)
> Run a demo.
> You will get this error:
> WARNING: Could not locate the Trinidad styles directory.Please be sure that
> the Trinidad installable resources are installed.
> I've already looked into this and it is because the /adf/styles directory does not exist yet when this code path is run. It gets created in mkdirs in FileSystemStyleCache's constructor which gets called from SkinStyleProvider.

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