[jboss-dev-forums] [Design of JBoss Portal] - Re: toggle drag and drop per portal window

FredF do-not-reply at jboss.com
Wed Mar 28 12:00:51 EDT 2007


Ok, I see that you set the 

PORTAL_PROP_WINDOW_RENDERER 
PORTAL_PROP_DECORATION_RENDERER
PORTAL_PROP_PORTLET_RENDERER

properties to the value 'emptyRenderer'. But this removes the portlet frame images (decorations) for each portlet, right? I still want to have the portlet frames visible but just remove the ability to drag and drop them - or more correct, force the regions from letting their windows beeing moved from and to them.

I have tracked down the functionality to this javascript line
<script>regions_on_page["regionA"]="left";</script>

that is being set on each region in the layout. This script line enables the drag and drop to and from this region. Where is this line appended to the window and what would be the correct way to add the possibility to remove it with a parameter?






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

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



More information about the jboss-dev-forums mailing list