-
1. Re: How to set drag and drop functionalities to user
vivek_saini07 Apr 24, 2009 9:11 AM (in response to peris)I have creted 100 user . I have to set the drag and drop functionalities to all the user. How can I do this.
No you need not set drag and drop manually for 100 users. Just set theme.dyna.dnd_enabled to true in default-object.xml
http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/html_single/#d0e13288(After the login we have to show only dashboard to the user)
I guess following link is helpful.
http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/html_single/#d0e4799 -
2. Re: How to set drag and drop functionalities to user
peris Apr 24, 2009 10:17 PM (in response to peris)Hi Vivek Thanks for your reply.
I have one more question.
I have created one portal in admin(create portal link) side. assigned this portal to one user. I have set the "theme.dyna.dnd_enabled " is true and dashboard .
I have to do any configuration to create dashboard for that particular user ?. -
3. Re: How to set drag and drop functionalities to user
peris Apr 24, 2009 10:29 PM (in response to peris)Sorry Vivek some text is missing in priviuos post.
I have created one portal. I have set "core.login.namespace" value is "dashboard" and "theme.dyna.dnd_enabled" is true in the following files jboss-portal.sar/conf/config.xml and default-object.xml . when user login I hvae transfer the user to
http://localhost:8080//portal/auth/portal/qaimportal/home. but here drag and drop functionality is not enable
can I configure any dashboard for the user?. -
4. Re: How to set drag and drop functionalities to user
vivek_saini07 Apr 25, 2009 3:38 AM (in response to peris)see, do not confuse with dashboard context with portal context.
There are two things. When you access url /portal/auth/dashboard/... you are at dashboard context, and when you are accessing url like /portal/auth/portal/... you are at portal context.
Till now you have set DnD for dashboard context only. To set DnD for portal context, go to default-object.xml and set the theme.dyna.dnd_enabled for individual portals.
If you set this property for root context, it will make everything DnD enabled.
In following is the snippet of default-object.xml where I am setting this property with root context.<!DOCTYPE deployments PUBLIC "-//JBoss Portal//DTD Portal Object 2.6//EN" "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd"> <deployments> <deployment> <context> <context-name/> <properties> <property> <name>theme.dyna.dnd_enabled</name> <value>true</value> </property> <!-- | Set the layout for the default portal, see also portal-layouts.xml. --> <property> <name>layout.id</name> <value>generic</value> </property> <!-- | Set the theme for the default portal, see also portal-themes.xml. --> <property> <name>theme.id</name> <value>renewal</value> </property> <!-- | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml --> <property> <name>theme.renderSetId</name> <value>divRenderer</value> </property> .....
-
5. Re: How to set drag and drop functionalities to user
peris Apr 26, 2009 12:33 AM (in response to peris)Vivek Dont mistaken me. If I want to access dashboard context means first we have to configure the dashbord correct. Admin side only have the option to configure the dashboard.
My question is how to configure the dashboard for user?
I am not clear in this . If anything wrong please. -
6. Re: How to set drag and drop functionalities to user
vivek_saini07 Apr 26, 2009 2:49 AM (in response to peris)A non admin user can go to dashboard and configure his own dashboard. Dashboard is available to all authenticated users, and every authenticated user can configure his dashboard by clicking "configure dashboard" link.
According to out of box feature available in JBP, a portal named "template" (defined in default-object.xml and can be modified from admin-portlet) gets copied to every user's dashboard when user logs in first time. After that each user can configure(personalize) their own dashboard.