portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Liao (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-378) Portlet properties shared within portlet applications
Date Thu, 13 Oct 2005 12:05:10 GMT
    [ http://issues.apache.org/jira/browse/JS2-378?page=comments#action_12331980 ] 

James Liao commented on JS2-378:

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

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:
For more information on JIRA, see:

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message