Opened 14 years ago
Closed 14 years ago
#1545 closed task (fixed)
Add extension points to edit pages
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.17 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
This would for example make it easier to implement an extension that adds, for example, any-to-any links to an item (#1543). The details for this extension point is not clear yet, but it need two parts:
- One part that is showing a gui with extra fields. It could probably go as it's own tab in the edit dialog.
- A second part that is invoked when saving the item.
Change History (15)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
The above comment is not about this ticket. It should have gone to #1546 instead.
comment:3 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 14 years ago
(In [5482]) References #1545: Add extension points to edit pages
Adds support for extensions to the TabControl
taglib. The TabAction
interface is used to define extra tabs. Two factories have been implemented:
FixedTabFactory
: Mainly useful for testingIncludeContentTabFactory
: The content of the tab is generated from an included resource (eg. a JSP script or servlet)
Extension points have so far only been implemented on the "Edit sample" dialog, but more will be added later.
Some more "side-effects" from this change:
- Added support for 'class' attribute to
TabControl
andTab
taglibs. - Added 'onActivate' callback to
Tab
taglib if a tab need to perform some action when it is activated. - Log a warning message when trying to use an undefined extension point (I know this happens for for some toolbars).
- Add support for context-relative paths to the
PathSetter
/PathConverter
annotation. - Removed some obsolete documentation for the
TabControl
taglib.
comment:5 by , 14 years ago
comment:6 by , 14 years ago
(In [5485]) References #1545: Add extension points to edit pages
Rearrange the code so that the included page is not called until the contents is actually requested.
Store the JspContext in a request-scoped attribute so that the including page can access the information in it.
comment:7 by , 14 years ago
comment:8 by , 14 years ago
comment:9 by , 14 years ago
comment:10 by , 14 years ago
comment:11 by , 14 years ago
comment:12 by , 14 years ago
comment:13 by , 14 years ago
comment:14 by , 14 years ago
comment:15 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [5478]) References #1545: Publish news as a rss feed
Added servlet
RssNewsFeed
to serve rss document. It will cache the current news so it should not be too heavy even if clients update often.The feed includes all public news and the broadcast message that the admin can set in the Administrate -> Broadcast message dialog.