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

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

    [ 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