Forums

Home » Liferay Portal » English » Liferay Legacy »

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Vyacheslav Rusakov
portlet redirection problem
March 21, 2007 10:21 PM
Answer

Vyacheslav Rusakov

Rank: New Member

Posts: 5

Join Date: March 15, 2007

Recent Posts

im trying to solve portlet communication problem

long time i spent reading posts there, but didn't found applicatable desigion

task: i need to redirect from one portlet to enother (its better to perform it programmaticaly.. from portlet class).. for user this should be seen just as usual page changing (but there portlets will be changed).. (portlets are placed on different pages (portal pages))
so i cant used portlet session technic

ok. i found liferay:renderURL tag.. but i cant find how to use it to store portlet link

so i go to source code.. implemintation of this tag is pretty simple but it relies on portal-ejb.jar classes (like RenderResponceImpl) wich a can used directly to render portlet url

the only way to get this jar to application classpath is to copy webapps/ROOT/WEB-INF/lib to commons/lib .. but it is much like a hack

so the question is .. is there a way (from portal-kernel or portal-service) to get url to enother portlet programmaticaly
Zheng Han
RE: portlet redirection problem
May 30, 2007 8:06 AM
Answer

Zheng Han

Rank: Junior Member

Posts: 31

Join Date: May 13, 2007

Recent Posts

HI,
I'm trying the similar...
I added an attribute to actionURL tag(use a class extends actionURL class), made it possible to redirect to another layout page.
I guess your portlet case is quite similar.
I used portal-ejb.jar and util-taglib.jar, meet a lot of problems.
do you have any good idea yet?
Maybe we can discuss.
marcin lis
RE: portlet redirection problem
May 30, 2007 11:36 AM
Answer

marcin lis

Rank: New Member

Posts: 17

Join Date: February 6, 2007

Recent Posts

There is no why up till now. I also have such a problem and in my oppinion AJAX is the best solution for this moment but I dont know if Liferay will service AJAX portlet on JSR 168 framework? Has anyone created AJAX portlet based on JSR 168 working on Liferay portal?

regards