Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

Portlet_1.patch (84.5 KB) - added by Shane O'Sullivan 11 years ago.
Patch containing portlet code changes
Portlet.zip (6.5 KB) - added by Shane O'Sullivan 11 years ago.
Extract this into dojox/widget , it contains css and images

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by Shane O'Sullivan

Attachment: Portlet_1.patch added

Patch containing portlet code changes

Changed 11 years ago by Shane O'Sullivan

Attachment: Portlet.zip added

Extract this into dojox/widget , it contains css and images

comment:1 Changed 11 years ago by bill

Summary: Add a set of Portlet widgets[patch] [cla] Add a set of Portlet widgets

comment:2 Changed 11 years ago by Shane O'Sullivan

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 11 years ago by Shane O'Sullivan

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 10 years ago by dante

Milestone: 1.4future
Owner: changed from dante to Shane O'Sullivan

giving back to you. Don't land this without full docs, though - really.

comment:5 Changed 10 years ago by Shane O'Sullivan

Status: newassigned

comment:6 Changed 10 years ago by Shane O'Sullivan

(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 10 years ago by Shane O'Sullivan

Resolution: fixed
Status: assignedclosed

comment:8 Changed 10 years ago by Adam Peller

Milestone: future1.4
Note: See TracTickets for help on using tickets.