#8867 closed enhancement (fixed)
[patch] [cla] Add a set of Portlet widgets
Reported by: | Shane O'Sullivan | Owned by: | Shane O'Sullivan |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | DojoX Widgets | Version: | 1.3.0b3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I have written a number of Portlet widgets designed to be used in conjunction with the dojox.layout.GridContainer?.
dojox.widget.Portlet - Provides the base Portlet. Inherits from dijit.TitlePane?, but changes look and feel. It also enables the addition of a PortletSettings? widget.
dojox.widget.PortletSettings? - The base PortletSettings? object. This causes an icon to be placed in the title bar of the portlet which, when clicked, shows the user preferences for that portlet.
dojox.widget.PortletDialogSettings? - Extends PortletSettings?, but shows the preferences in a Dialog widget.
dojox.widget.FeedPortlet? - A Portlet that loads a feed from a specified URL. This feed is displayed as an unordered list, with tooltips showing a summary when the list items are hovered over.
dojox.widget.ExpandableFeedPortlet? - Extends the FeedPortlet?, but instead of using tooltips to show the summary, an icon is shown to the left of each list item which, when clicked, shows the summary below the item.
Test files are included, and the code is fully commented
Attachments (2)
Change History (10)
Changed 12 years ago by
Attachment: | Portlet_1.patch added |
---|
Changed 12 years ago by
Attachment: | Portlet.zip added |
---|
Extract this into dojox/widget , it contains css and images
comment:1 Changed 12 years ago by
Summary: | Add a set of Portlet widgets → [patch] [cla] Add a set of Portlet widgets |
---|
comment:2 Changed 12 years ago by
Note that one test file depends on ticket http://bugs.dojotoolkit.org/ticket/8778 , so the patch in that must be applied also
comment:3 Changed 12 years ago by
A running version of this is available at http://www.skynet.ie/~sos/misc/dojo/dojox/widget/tests/test_PortletInGridContainer.html?theme=soria
This may be removed at a later date however.
comment:4 Changed 12 years ago by
Milestone: | 1.4 → future |
---|---|
Owner: | changed from dante to Shane O'Sullivan |
giving back to you. Don't land this without full docs, though - really.
comment:5 Changed 12 years ago by
Status: | new → assigned |
---|
comment:6 Changed 12 years ago by
(In [17633]) Refs #8867 Adding a set of Portlet classes. These are intended to be used with the dojox.layout.GridContainer?. A Portlet extends the TitlePane? with functionality both for integration with the GridContainer?, and also allows customizable settings widgets to be added to each portlet.
Two Portlet types are included: Portlet - the basic Portlet, extends TitlePane? to integrate PortletSettings? widgets. FeedPortlet? - extends Portlet to load and display Atom and RSS feeds, both local (Atom only) and cross domain (Atom and RSS).
Three settings widgets are included:
PortletSettings? - the basic widget, which can contain anything the developer wants, and is placed as a collapsible DIV under the title bar of the Portlet.css PortletDialogSettings? - a Dialog that shows cusom settings. PortletFeedSettings? - to be used with a FeedPortlet?, can contain either a text input or a drop down list of URLs to load into the FeedPortlet?.
The GridContainer? has also been changed to call resize() on each layout widget contained in it. Style fixes have also been made.
comment:7 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:8 Changed 12 years ago by
Milestone: | future → 1.4 |
---|
Patch containing portlet code changes