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 "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org> on 2006/05/23 13:17:29 UTC

[jira] Created: (JS2-532) Overriding themes declared in psml

Overriding themes declared in psml
----------------------------------

         Key: JS2-532
         URL: http://issues.apache.org/jira/browse/JS2-532
     Project: Jetspeed 2
        Type: New Feature

  Components: Decorations/Themes  
    Versions: 2.1, 2.1-dev    
 Environment: Java 1.5.0
    Reporter: Philip Mark Donaghy


If you want to provide portal content to third party servers and to end users you will want to have the possiblity to present all pages with and without the menus and logos.

Having the possiblity to override the themes declared in psml facilitates integration of the portal content with other web sites.

I patched j2 within the DecoratorValve to achieve this. A new PortalReservedParameter can be set in session scope. If set to an existing theme that theme will override the page settings. The patch also contains a modification to LoginProxyServlet which demonstrates this feature. This is practical because the third party server can authenticate users and override the themes in one call to this servlet.

-- 
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


[jira] Commented: (JS2-532) Overriding themes declared in psml

Posted by "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-532?page=comments#action_12416484 ] 

Philip Mark Donaghy commented on JS2-532:
-----------------------------------------

Verified, works great. Tested using this url,

http://localhost:8080/jetspeed/login/proxy?org.apache.jetspeed.login.username=user&org.apache.jetspeed.login.password=user&org.apache.jetspeed.theme.override=simple



> Overriding themes declared in psml
> ----------------------------------
>
>          Key: JS2-532
>          URL: http://issues.apache.org/jira/browse/JS2-532
>      Project: Jetspeed 2
>         Type: New Feature

>   Components: Decorations/Themes
>     Versions: 2.1, 2.1-dev
>  Environment: Java 1.5.0
>     Reporter: Philip Mark Donaghy
>     Assignee: David Sean Taylor
>  Attachments: patch.txt
>
> If you want to provide portal content to third party servers and to end users you will want to have the possiblity to present all pages with and without the menus and logos.
> Having the possiblity to override the themes declared in psml facilitates integration of the portal content with other web sites.
> I patched j2 within the DecoratorValve to achieve this. A new PortalReservedParameter can be set in session scope. If set to an existing theme that theme will override the page settings. The patch also contains a modification to LoginProxyServlet which demonstrates this feature. This is practical because the third party server can authenticate users and override the themes in one call to this servlet.

-- 
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


[jira] Closed: (JS2-532) Overriding themes declared in psml

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-532?page=all ]
     
David Sean Taylor closed JS2-532:
---------------------------------


tested and  verified

> Overriding themes declared in psml
> ----------------------------------
>
>          Key: JS2-532
>          URL: http://issues.apache.org/jira/browse/JS2-532
>      Project: Jetspeed 2
>         Type: New Feature

>   Components: Decorations/Themes
>     Versions: 2.1, 2.1-dev
>  Environment: Java 1.5.0
>     Reporter: Philip Mark Donaghy
>     Assignee: David Sean Taylor
>  Attachments: patch.txt
>
> If you want to provide portal content to third party servers and to end users you will want to have the possiblity to present all pages with and without the menus and logos.
> Having the possiblity to override the themes declared in psml facilitates integration of the portal content with other web sites.
> I patched j2 within the DecoratorValve to achieve this. A new PortalReservedParameter can be set in session scope. If set to an existing theme that theme will override the page settings. The patch also contains a modification to LoginProxyServlet which demonstrates this feature. This is practical because the third party server can authenticate users and override the themes in one call to this servlet.

-- 
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


[jira] Updated: (JS2-532) Overriding themes declared in psml

Posted by "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-532?page=all ]

Philip Mark Donaghy updated JS2-532:
------------------------------------

    Attachment: patch.txt

Files modified:
Index: components/portal/src/java/org/apache/jetspeed/decoration/DecorationValve.java
Index: components/portal/src/java/org/apache/jetspeed/login/LoginProxyServlet.java
Index: jetspeed-api/src/java/org/apache/jetspeed/PortalReservedParameters.java


> Overriding themes declared in psml
> ----------------------------------
>
>          Key: JS2-532
>          URL: http://issues.apache.org/jira/browse/JS2-532
>      Project: Jetspeed 2
>         Type: New Feature

>   Components: Decorations/Themes
>     Versions: 2.1, 2.1-dev
>  Environment: Java 1.5.0
>     Reporter: Philip Mark Donaghy
>  Attachments: patch.txt
>
> If you want to provide portal content to third party servers and to end users you will want to have the possiblity to present all pages with and without the menus and logos.
> Having the possiblity to override the themes declared in psml facilitates integration of the portal content with other web sites.
> I patched j2 within the DecoratorValve to achieve this. A new PortalReservedParameter can be set in session scope. If set to an existing theme that theme will override the page settings. The patch also contains a modification to LoginProxyServlet which demonstrates this feature. This is practical because the third party server can authenticate users and override the themes in one call to this servlet.

-- 
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


[jira] Assigned: (JS2-532) Overriding themes declared in psml

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-532?page=all ]

David Sean Taylor reassigned JS2-532:
-------------------------------------

    Assign To: David Sean Taylor

> Overriding themes declared in psml
> ----------------------------------
>
>          Key: JS2-532
>          URL: http://issues.apache.org/jira/browse/JS2-532
>      Project: Jetspeed 2
>         Type: New Feature

>   Components: Decorations/Themes
>     Versions: 2.1, 2.1-dev
>  Environment: Java 1.5.0
>     Reporter: Philip Mark Donaghy
>     Assignee: David Sean Taylor
>  Attachments: patch.txt
>
> If you want to provide portal content to third party servers and to end users you will want to have the possiblity to present all pages with and without the menus and logos.
> Having the possiblity to override the themes declared in psml facilitates integration of the portal content with other web sites.
> I patched j2 within the DecoratorValve to achieve this. A new PortalReservedParameter can be set in session scope. If set to an existing theme that theme will override the page settings. The patch also contains a modification to LoginProxyServlet which demonstrates this feature. This is practical because the third party server can authenticate users and override the themes in one call to this servlet.

-- 
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


[jira] Resolved: (JS2-532) Overriding themes declared in psml

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-532?page=all ]
     
David Sean Taylor resolved JS2-532:
-----------------------------------

    Resolution: Fixed

patch applied and checked in

> Overriding themes declared in psml
> ----------------------------------
>
>          Key: JS2-532
>          URL: http://issues.apache.org/jira/browse/JS2-532
>      Project: Jetspeed 2
>         Type: New Feature

>   Components: Decorations/Themes
>     Versions: 2.1, 2.1-dev
>  Environment: Java 1.5.0
>     Reporter: Philip Mark Donaghy
>     Assignee: David Sean Taylor
>  Attachments: patch.txt
>
> If you want to provide portal content to third party servers and to end users you will want to have the possiblity to present all pages with and without the menus and logos.
> Having the possiblity to override the themes declared in psml facilitates integration of the portal content with other web sites.
> I patched j2 within the DecoratorValve to achieve this. A new PortalReservedParameter can be set in session scope. If set to an existing theme that theme will override the page settings. The patch also contains a modification to LoginProxyServlet which demonstrates this feature. This is practical because the third party server can authenticate users and override the themes in one call to this servlet.

-- 
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