portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott T Weaver (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-383) Configuring portlet in PSML
Date Thu, 03 Nov 2005 17:32:47 GMT
    [ http://issues.apache.org/jira/browse/JS2-383?page=comments#action_12356702 ] 

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

I have just finished adding preference support into .psml pages.  Everything is pretty straightforward,
please build the site docs and look at the Preference example/docs on the psml.html page.

Here is a working example from the bookmark portlet.

<fragment id="uhtemp-1012" type="portlet" name="demo::BookmarkPortlet">
    <property layout="TwoColumns" name="row" value="2" />
    <property layout="TwoColumns" name="column" value="1" />
    <preference name="Google" readOnly="false">
        <value>http://www.google.com</value>
     </preference>
</fragment>

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


Mime
View raw message