i have restarted my jboss application server after i added above entry to default-object.xml.
But i could not find drag and drop enabled.
can any one tell what else i can to do to enable drag and drop.
update on this
i have updated database table JBP_PORTAL_OBJECT_PROPS manually. here i set theme.dyna.dnd_enabled and theme.dyna.partial_refresh_enabled to true.
I am sure there is a better way to do this. Waiting for some suggestions.
with database table update am able to enable drag and drop in my portal. but my problem is that every time i refresh the page the portlets go back to their initial positions. But in dashboard we can change the positions of the portlets and the change is persisted.
Is there any way of making the changes I make in portlet positions persist ?
You should not enable DnD outside the dashboard, the reason is simple:
- Dashboard is per user, they move the windows it's persisted for them
- Portal are for everybody, you don't want people to change the positions for all the others, or it will be a good mess, you connect and see that someone moved your windows.
If the whole portal must be persisted per user, just use the dashboard and use it as default portal
Thats right. However DnD (without persistence) for any portal is always good to have as any user (who does not have an account) will be able to arrange the portlets as he likes. Especially when there are many portlets in a page he can arrange the portlets so that ha can view required information comfortably.
I also want same functionality
You can enable it from the admin portlet, check the ref documentation