[jboss-user] [JBoss Portal] - Per window customization even when it is not dashboard
do-not-reply at jboss.com
Tue Jan 13 14:54:00 EST 2009
Posted: Tue Jan 13, 2009 14:48 PM Post subject: Per window customization even when it is not dashboard
I have enabled drag-and-drop property for portal. Now I want to persist the portlet-window location in database when window is dragged from one region and dropped in another region/order. So that when page gets refreshed (or user log in again) he finds the portlet-window at the location it was dragged by him(or by any other user) last time.
Overall I want same functionality as it is provided in dashboard. The reason I can not use dashboard here is dashboard is user specific. In my scenario it should be portalID (even when portalID is not in dashboard context) specific, means any user can change the location of portlet-window,and other users should see this.
till now i have reached to following lines in CustomizationManagerService
| if (user != null)
| String userId = getUserId(user);
| // And if it is in a dashboard context we get the per window customization
| if (isDashboard(window, user))
| // That's how we manufacture dash board keys
| String dashboardId = window.getId().toString();
| instance = instance.getCustomization(dashboardId);
| instance = instance.getCustomization(userId);
what i want is per window customization even when it is not dashboard. Is there any way?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201502#4201502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201502
More information about the jboss-user