• 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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!