portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Watler (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-383) Configuring portlet in PSML
Date Fri, 21 Oct 2005 15:05:26 GMT
    [ http://issues.apache.org/jira/browse/JS2-383?page=comments#action_12332715 ] 

Randy Watler commented on JS2-383:

We too have this need, so I'll step up to the plate and get it on my next bug fix pass.

There is still some debate on this issue realated to SOC, (from DST):

I've thought about the need for this too. Very common requirement I think.

One solution for this kind of customization: add a short wizard-like configuration to the
Portlet Selector. Say a user selects a stocks portlet. On an company employee portal, the
portlet.xml may default to the stock for that company. Before the portal places the portlet
on the page, a generic prefs wizard is presented, allowing the user to set additional preferences

Another use case would be from a deployment POV.
I assume you would want to specify preferences on PSML, such as deploying specific preferecnes
for a user page or a common (role,group,etc) page. I think this is a good use case.

I know some people have had strong objections to mixing preferences with PSML (layout) in
the past. If anyone wants to make an argument against having 'default' preferences in PSML,
please make your case.

I think 'default' preferences on PSML seems useful, although it does break the 'separation
of layout from preferences' philosophy. I don't think that preferences should be actually
stored into PSML from the Portlet API, but I do believe this is a good case for using 'default
preferences' per page/user from a deployment POV.

> Configuring portlet in PSML
> ---------------------------
>          Key: JS2-383
>          URL: http://issues.apache.org/jira/browse/JS2-383
>      Project: Jetspeed 2
>         Type: New Feature
>   Components: PSML
>     Reporter: Michael Lipp
>     Assignee: Randy Watler

> It should be possible to provide preferences for the initial instantiation of portlets
in PSML. These preferences customize the portlet by overriding (or adding to) the default
preferences defined in the portlet.xml.
> Example: If I want to have an introductory page displaying e.g. the three most important
RSS feeds, then the selection of the RSS stream is related to layout, because I want a layout
displaying e.g. "Company news", "Department news" and "Team issues". Binding an RSS portlet
to a particular feed makes it a specific item that I want to put at a specific place. I don't
want to layout three generic RSS feeds, I want to layout company, department and team news.
> As I want to layout portlet instances, it is not sufficient to be able to layout portlet
types. Configuring the instances within PSML would be convenient and intuitive. It would also
be acceptable if I could configure the instances in some other configuration file. But only
laying out three generic RSS portlets and handing the task to bind the feeds to the end user
is not feasable.

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