-
1. Re: Moving Portlet Windows
theute Nov 20, 2006 3:59 PM (in response to normanb)Go to the personal dashboard by clicking on "Dashboard".
-
2. Re: Moving Portlet Windows
ovidiucn May 4, 2007 10:49 AM (in response to normanb)Does anybody know why the order of the portlet windows is not consistent in dashboard?
For instance, place several portlets in the dashboard, then start moving them around but remember their last position; then, refresh the page (F5). You will observe that the order of the portlets is not as the one before the refresh occurred. Is it something related to caching portal object properties before committing them to db? Is this a bug? -
3. Re: Moving Portlet Windows
ovidiucn May 4, 2007 10:58 AM (in response to normanb)Another problem:
Assuming you are in dashboard, have you noticed that if you maximize a portlet and try to move it, although there is only one maximized region it will stick to the same coordinates (i.e. the position does not change).
BUT! Once you hit the normal action mode, the dashboard will display all its portlets except the one you maximized & moved?
Is this a bug? I've been doing some debug and modified the MoveWindowCommand to skip its execution if the position remains the same. Is there another workaround? -
4. Re: Moving Portlet Windows
julien1 May 4, 2007 11:09 AM (in response to normanb)interesting feedback
probably that the DnD should not be enabled for maximized regions at all.
if you modify org.jboss.portal.theme.impl.JSPLayout and modifiy it with :... pageResult.setLayoutState("maximized"); wc.setRegionName("maximized"); wc.setOrder(0); // Begin new code DynaRenderOptions options = DynaRenderOptions.getOptions(Boolean.FALSE, null); Map props = pageResult.getRegion("maximized").getProperties(); options.setOptions(props); // End new code
it should prevent maximized region to be draggable, could you try that ? -
5. Re: Moving Portlet Windows
ovidiucn May 7, 2007 10:29 AM (in response to normanb)Interesting feedback probably that the DnD should not be enabled for maximized regions at all.
if you modify org.jboss.portal.theme.impl.JSPLayout and modifiy it with : ...
it should prevent maximized region to be draggable, could you try that ?
Thank you! Problem solved! The DnD is not enabled for the maximized strategy.
Do you know any solution for the first post? A.K.ADoes anybody know why the order of the portlet windows is not consistent in dashboard?
Any help is appreciated. Thanks again!