From do-not-reply at jboss.com Thu Oct 1 03:01:31 2009 Content-Type: multipart/mixed; boundary="===============2054499284659913312==" MIME-Version: 1.0 From: belcar To: jboss-user at lists.jboss.org Subject: [jboss-user] [JBoss Portal Users] - Re: links from portlet content to another portal page Date: Thu, 01 Oct 2009 03:01:31 -0400 Message-ID: <30438880.1254380491752.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> --===============2054499284659913312== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The reference guide has a topic about this: "13.9.3. Link to other pages." // Get the ParentNode. Since we are inside a Window, the Parent is the Page | PortalNode thisNode =3D req.getPortalNode().getParent(); | // Get the Node in the Portal hierarchy tree known as "../default" | PortalNode linkToNode =3D thisNode.resolve("../default"); | // Create a RenderURL to the "../default" Page Node | PortalNodeURL pageURL =3D resp.createRenderURL(linkToNode); | // Output the Node's name and URL for users | Samples | 149 | html.append("Page: " + linkToNode.getName() + " -> "); | html.append("" + linkToNode.ge= tName() + ""); View the original post : http://www.jboss.org/index.html?module=3Dbb&op=3Dv= iewtopic&p=3D4258045#4258045 Reply to the post : http://www.jboss.org/index.html?module=3Dbb&op=3Dpostin= g&mode=3Dreply&p=3D4258045 --===============2054499284659913312==--