| Author |
portlet PageLayout
|
|
|
| I am trying to develop a portlet that contains a set of div elements that contain categories and subcategories which will expand (display) and contract (hide) based on user interaction. The problem is that the surrounding portlets and therefore the page i
tself does not expand and contract with the portlet, rather the portlet just epxands "behind" the portlet just below it.
The issue seems to revolve around this javascript function (contentInit()) that controls the PageLayout when dragging and dropping portlets. If I remove this fucntion and set the portlet CSS class' positioning attribute to relative (default it absolute) e
verything works, but I lose the drag and drop capabilty.
Any suggestions are GREATLY appreciated...
| |
| oliver 2006-11-29, 1:32 am |
| try to reference other whole jsp file that implements your js function in your portlet.
enough is never enough
| |
|
| Thank you for the reply... I forgot to mention that this is a Vinette Portal... and that I'm relatively new to portal development... I'm fine with js, but not in the context of portal development. Can you please expand on your reply? What do mean by "refe
rencing" the whole other jsp file?
Thanks again.
| |
|
| Something I just noticed. If the browser window is not maximized and I expand my categories portlet, then everything resizes as it should... is it possible that this is related to browser settings?
| |
|
| Something I just noticed. If the browser window is not maximized and I expand my categories portlet, then everything resizes as it should... is it possible that this is related to browser settings?
| |
| oliver 2006-11-30, 1:35 am |
| the referencing like following:
your portlet:
<iframe width="100%" name="oatodo" border="0" height="195" frameborder="0" scrolling=no src="<%=renderResponse.encodeURL(renderRequest.getContextPath() + "/your-portlet-viewd-irectory/jsp/html/modifycalendar1120.jsp") %>"></iframe>
and modifycalendar1120.jsp is that implement your JavaScript function in it.
enough is never enough
|
|
|
|