[jboss-user] [JBoss Portal] - Re: Dashboard configuration - drag and drop
do-not-reply at jboss.com
Thu Feb 12 12:34:53 EST 2009
anonymous wrote : n my case I need a different dashboard depending on what the user clicks on - I dont know if i can do this based on some request parameter i.e., depending on some request param, i copy different portal to the dashboard ?
Yes it is achievable u can get request object in getDashboard() method using PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
anonymous wrote :
| even if this is possible, when i am copying the portal to the dashboard, wouldn't the user's preferences/where he placed the windows,etc., be lost when i do this -
If u use copy(xx,xx,true) of PortalObject it will perform deep copy means portal will be copied along with its page and window with all properties. Otherwise u can use getDeclaredProperty() and setDeclaredProperty() of PortalObject to copy window order/window region/page layout/page theme etc explicitly.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209642#4209642
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209642
More information about the jboss-user