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 "Michael Lipp (JIRA)" <je...@portals.apache.org> on 2005/10/13 13:05:05 UTC

[jira] Created: (JS2-378) Portlet properties shared within portlet applications

Portlet properties shared within portlet applications
-----------------------------------------------------

         Key: JS2-378
         URL: http://issues.apache.org/jira/browse/JS2-378
     Project: Jetspeed 2
        Type: Bug
  Components: Portlet Entities and Preferences  
    Versions: 2.0-M4    
 Environment: JBoss/HSQL
    Reporter: Michael Lipp


Though the specification does not state it explicitly, I think portlet preferences should be scoped to the portlet. Currently, Portlet preferences are shared in the portlet application; changing a preference in one portlet makes that change visible in other portlets as well.


-- 
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-378) Portlet properties shared within portlet applications

Posted by "Michael Lipp (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-378?page=comments#action_12331985 ] 

Michael Lipp commented on JS2-378:
----------------------------------

[I'm continuing this here, so that others running into this issue may find the information.]

Thanks for the response. I see that certain conditions have to be met to run into this problem, but I'm not sure yet that the problem does not exists (under certain circumstances).

The portlets have not been added by the user, rather they come from the PSML. But there, each portlet has its own id. Shouldn't this be sufficient to distinguish the portlets' preferences?


> Portlet properties shared within portlet applications
> -----------------------------------------------------
>
>          Key: JS2-378
>          URL: http://issues.apache.org/jira/browse/JS2-378
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Portlet Entities and Preferences
>     Versions: 2.0-M4
>  Environment: JBoss/HSQL
>     Reporter: Michael Lipp

>
> Though the specification does not state it explicitly, I think portlet preferences should be scoped to the portlet. Currently, Portlet preferences are shared in the portlet application; changing a preference in one portlet makes that change visible in other portlets as well.

-- 
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-378) Portlet properties shared within portlet applications

Posted by "Michael Lipp (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-378?page=comments#action_12332036 ] 

Michael Lipp commented on JS2-378:
----------------------------------

I'm extremely sorry and apologize for the noise. The cause for the behaviour has been the way I have accessed the preferences. Please close this issue.


> Portlet properties shared within portlet applications
> -----------------------------------------------------
>
>          Key: JS2-378
>          URL: http://issues.apache.org/jira/browse/JS2-378
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Portlet Entities and Preferences
>     Versions: 2.0-M4
>  Environment: JBoss/HSQL
>     Reporter: Michael Lipp

>
> Though the specification does not state it explicitly, I think portlet preferences should be scoped to the portlet. Currently, Portlet preferences are shared in the portlet application; changing a preference in one portlet makes that change visible in other portlets as well.

-- 
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-378) Portlet properties shared within portlet applications

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

    Resolution: Cannot Reproduce

> Portlet properties shared within portlet applications
> -----------------------------------------------------
>
>          Key: JS2-378
>          URL: http://issues.apache.org/jira/browse/JS2-378
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Portlet Entities and Preferences
>     Versions: 2.0-M4
>  Environment: JBoss/HSQL
>     Reporter: Michael Lipp

>
> Though the specification does not state it explicitly, I think portlet preferences should be scoped to the portlet. Currently, Portlet preferences are shared in the portlet application; changing a preference in one portlet makes that change visible in other portlets as well.

-- 
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-378) Portlet properties shared within portlet applications

Posted by "James Liao (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-378?page=comments#action_12331980 ] 

James Liao commented on JS2-378:
--------------------------------

Michael,
You should try the following step:
1. Login portal as admin
2. Click page's pen icon to enter the edit mode.
3. Click portlet selector to add a portlet(e.g. IFrame portlet)
4. Click portlet selector again to add another IFrame portlet.
5. Now, there are two portlet in the same page.
6. Change one IFrame portlet preference(e.g. src preference) will not affect another IFrame portlet.

That is because add a portlet from portlet selector will generate a unique id for it, this id will map its own preferences in Portlet_Preference table.

I think the reason that you think your portlet preference change will affect other's portlet instance is that these two portlets must share the same id in PSML.

Does it make sense?

> Portlet properties shared within portlet applications
> -----------------------------------------------------
>
>          Key: JS2-378
>          URL: http://issues.apache.org/jira/browse/JS2-378
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Portlet Entities and Preferences
>     Versions: 2.0-M4
>  Environment: JBoss/HSQL
>     Reporter: Michael Lipp

>
> Though the specification does not state it explicitly, I think portlet preferences should be scoped to the portlet. Currently, Portlet preferences are shared in the portlet application; changing a preference in one portlet makes that change visible in other portlets as well.

-- 
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-378) Portlet properties shared within portlet applications

Posted by "James Liao (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-378?page=comments#action_12331981 ] 

James Liao commented on JS2-378:
--------------------------------

http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200507.mbox/%3cbad8571e050706185866a56f3d@mail.gmail.com%3e

> Portlet properties shared within portlet applications
> -----------------------------------------------------
>
>          Key: JS2-378
>          URL: http://issues.apache.org/jira/browse/JS2-378
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Portlet Entities and Preferences
>     Versions: 2.0-M4
>  Environment: JBoss/HSQL
>     Reporter: Michael Lipp

>
> Though the specification does not state it explicitly, I think portlet preferences should be scoped to the portlet. Currently, Portlet preferences are shared in the portlet application; changing a preference in one portlet makes that change visible in other portlets as well.

-- 
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-378) Portlet properties shared within portlet applications

Posted by "Scott T Weaver (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-378?page=comments#action_12332005 ] 

Scott T Weaver commented on JS2-378:
------------------------------------

Michael, you are correct in that if two fragments contained within the same PSML page ahve different IDs they should have different preference sets.  If have my entire portal based on this assumption and everything seems to be working correctly for me.

> Portlet properties shared within portlet applications
> -----------------------------------------------------
>
>          Key: JS2-378
>          URL: http://issues.apache.org/jira/browse/JS2-378
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Portlet Entities and Preferences
>     Versions: 2.0-M4
>  Environment: JBoss/HSQL
>     Reporter: Michael Lipp

>
> Though the specification does not state it explicitly, I think portlet preferences should be scoped to the portlet. Currently, Portlet preferences are shared in the portlet application; changing a preference in one portlet makes that change visible in other portlets as well.

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