I am using portlets display some content with an HTMLFlow object. The HTMLFlow object loads a page and sets some content dynamically. Additionally it instantiates a browser plugin.
I have three columns in my PortalLayout that are available for users to move portles around in. And I noticed that when a portlet "jumps" from one column to another it basically reloads the HTMLFlow object, effectively killing the state of it when it does so. For example, the plugin goes back to its original state and the form fields contain the hard coded values again. Additionally the plugin crashes (which I believe is an issue for the vendor to look in to).
Is this a portlet concern, or something to do with the HTMLFlow? Is there a way that I can set the portlet or HTMLflow to not reload when moved across column boundaries?
Thanks
I have three columns in my PortalLayout that are available for users to move portles around in. And I noticed that when a portlet "jumps" from one column to another it basically reloads the HTMLFlow object, effectively killing the state of it when it does so. For example, the plugin goes back to its original state and the form fields contain the hard coded values again. Additionally the plugin crashes (which I believe is an issue for the vendor to look in to).
Is this a portlet concern, or something to do with the HTMLFlow? Is there a way that I can set the portlet or HTMLflow to not reload when moved across column boundaries?
Code:
portalLayout = new PortalLayout(3); ..... IButton ibNew = new IButton("Add Viewer"); ibNew.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent clickEvent) { /*VideoEntryForm videoEntryForm = new VideoEntryForm(EditAction.ADD); videoEntryForm.show(); videoEntryForm.centerInPage();*/ idx ++; PlayerPlugin playerPlugin = new PlayerPlugin(idx); Portlet playerPortlet = new Portlet(); playerPortlet.setTitle("Stream: " + idx); playerPortlet.addItem(playerPlugin); portalLayout.addPortlet(playerPortlet); } }); for(idx = 1; idx <= 1; idx++) { Portlet portlet = new Portlet(); portlet.setTitle("Stream: " + idx); PlayerPlugin htmlFlow = new PlayerPlugin(idx); portlet.addItem(htmlFlow); portlet.setCanDragResize(true); portalLayout.addPortlet(portlet); }
Comment