[Gridsphere-users] Change order of portlets
Daniel Wickeroth
wickeroth at uni-koeln.de
Tue Mar 25 10:04:16 PDT 2008
Hello,
can I change the order in which the portlets are being loaded on the page?
I need this to implement a simple master-slave relation between some
portlets. The first portlet is supposed to save its ActionURL to the
session. The last portlet to be loaded reads the URL from the session
and uses JavaScript to re-render the first portlet when appropriate with
a dirty little piece of code like this in the jsp
<script type="text/javascript">
<!--
function changeWS() {
<%
out.println("parent.location.href =\"" + _gmActionURL + "?group=\" +
document.wsForm.workspace.value;");
%>
}
//-->
</script>
It's important that the first portlet is loaded before the last one, so
that the URL will be in the session...
Hope somebody has the answer!
Cheers,
Daniel
More information about the Gridsphere-users
mailing list