[jira] Created: (TRINIDAD-1628) Add the ability to change the skin-family via the requestMap for DesignTime mode

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (TRINIDAD-1628) Add the ability to change the skin-family via the requestMap for DesignTime mode

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Add the ability to change the skin-family via the requestMap for DesignTime mode
--------------------------------------------------------------------------------

                 Key: TRINIDAD-1628
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1628
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Skinning
            Reporter: Jeanne Waldman
            Assignee: Jeanne Waldman


Allow the DT to choose the skin by setting a string on the request scope that the RT can read while in design time mode.
See CoreRenderingContext's getRequestMapSkin. This already does this but it is limited now for portlets. Expand by allowing Beans.isDesignTime()

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


[jira] Commented: (TRINIDAD-1628) Add the ability to change the skin-family via the requestMap for DesignTime mode

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/TRINIDAD-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774384#action_12774384 ]

Jeanne Waldman commented on TRINIDAD-1628:
------------------------------------------

The key for the requestMap is  "org.apache.myfaces.trinidad.skin.id"

> Add the ability to change the skin-family via the requestMap for DesignTime mode
> --------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1628
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1628
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Skinning
>            Reporter: Jeanne Waldman
>            Assignee: Jeanne Waldman
>
> Allow the DT to choose the skin by setting a string on the request scope that the RT can read while in design time mode.
> See CoreRenderingContext's getRequestMapSkin. This already does this but it is limited now for portlets. Expand by allowing Beans.isDesignTime()

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


[jira] Commented: (TRINIDAD-1628) Add the ability to change the skin-family via the requestMap for DesignTime mode

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/TRINIDAD-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774466#action_12774466 ]

Jeanne Waldman commented on TRINIDAD-1628:
------------------------------------------

The skin can be set via the requestMap like this:
        Map<java.lang.String, java.lang.Object> map =fContext.getExternalContext().getRequestMap();
        // change the skin to the purple skin
        map.put("org.apache.myfaces.trinidad.skin.id", "purple.desktop");

> Add the ability to change the skin-family via the requestMap for DesignTime mode
> --------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1628
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1628
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Skinning
>            Reporter: Jeanne Waldman
>            Assignee: Jeanne Waldman
>
> Allow the DT to choose the skin by setting a string on the request scope that the RT can read while in design time mode.
> See CoreRenderingContext's getRequestMapSkin. This already does this but it is limited now for portlets. Expand by allowing Beans.isDesignTime()

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


[jira] Resolved: (TRINIDAD-1628) Add the ability to change the skin-family via the requestMap for DesignTime mode

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/TRINIDAD-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeanne Waldman resolved TRINIDAD-1628.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.13-core

> Add the ability to change the skin-family via the requestMap for DesignTime mode
> --------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1628
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1628
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Skinning
>            Reporter: Jeanne Waldman
>            Assignee: Jeanne Waldman
>             Fix For: 1.2.13-core
>
>
> Allow the DT to choose the skin by setting a string on the request scope that the RT can read while in design time mode.
> See CoreRenderingContext's getRequestMapSkin. This already does this but it is limited now for portlets. Expand by allowing Beans.isDesignTime()

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