File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Portals and Portlets
createRenderURL to another portlet
Joined: Feb 02, 2007
Feb 16, 2007 15:03:00
is it possible to use the createRenderURL() method to create a renderURL that points to another portlet on the same page (and not to the portlet itself)?
Or is there another (better) possibility?
Cameron Wallace McKenzie
author and cow tipper
Joined: Aug 26, 2006
Mar 01, 2007 14:49:00
I would say no, although when a portal page is rendered, the doview method of all the portlets on the page are invoked, so indirectly, I guess it is being called.
By the way, how do you know that other portlet will be on the page? Users can add and remove what they want.
Not to be rude, but it sounds like you're thinking like a Servlet/JSP programmer. Break the mold, and make the leap to portlets.
Maybe if there's a scenario you're tryint to implement, you could describe it, and we could give you some ideas.
It is sorta covered in the
JavaRanch Style Guide
subject: createRenderURL to another portlet
WPS - Saving Context-Root on start-up for a portal
need a small example on struts portlet
portlet communication - sending object not string...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013