[jboss-dev-forums] [QA of JBoss Portal] - Regarding 'Drag and Drop' -- 'Dashboard' calling 'template'

Sudarshan Vadyar do-not-reply at jboss.com
Wed Feb 11 06:52:53 EST 2009


Drag and Drop feature for custom portal-pages:

By default drag and drop is enabled in 'Dashboard'. Usually, dashboard can be directly accessed after login, after the respective setting done in 'jboss-portal.sar\conf\config.xml' file.

Usually when dashboard is accessed for the first time, it copies and displays the 'template' portal by default. This is done in 'CustomizationManagerService.java'. 

If a solution is provided to make dashboard access the custom deployed , then the drag and drop is available to that portal when the dashboard is accessed directly after login.

A suggestion for the same is:
In 'CustomizationManagerService.java', the following is defined.
private static final PortalObjectId TEMPLATE_ID = PortalObjectId.parse("/template", PortalObjectPath.CANONICAL_FORMAT);

Can this be made more generic, so that the first argument "/template" is a string that can be set to the custom deployed  from outside ?
Also, inside the 'getDashboard()' method, a check can be made to find whether the custom deployed  is available or not, and if not , dashboard can copy the existing 'template' portal itself.

Alternately, custom portal developers can be provided with some interfacing through which this can be accomplished.

Please let know whether this suggestion is valid and okay.

I remain,
Sudarshan V

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208994#4208994

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4208994



More information about the jboss-dev-forums mailing list