Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

createRenderURL to another portlet

 
Dennis Callag
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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?

Thanks,
Dennis
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic