aspose file tools
The moose likes Portals and Portlets and the fly likes html:rewite inconsistent behaviour Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "html:rewite inconsistent behaviour" Watch "html:rewite inconsistent behaviour" New topic
Author

html:rewite inconsistent behaviour

Ronwaldo Cruz
Ranch Hand

Joined: Oct 17, 2006
Posts: 69
hi,

I am using Liferay portal and I use html:rewrite to rewrite the URL for my portlets.

In my first portlet, it is working fine. But in my second portlet for some reason the behaviour of html:rewrite has changed.

For instance using the code:

<html:rewrite page="http://www.google.com?jeff=4"/>

the first portlet successfully renders:

http://localhost:8080/c/portal/layout?p_l_id=PRI.15.2&p_p_id=TrainingManagement_WAR_trainingmgmt&p_p_action=0&p_p_state=normal&p_p_mode=view&p_p_col_id=&p_p_col_pos=0&p_p_col_count=0&_TrainingManagement_WAR_trainingmgmt__spage=http%3A%2F%2Fwww.google.com%3Fjeff%3D4&_TrainingManagement_WAR_trainingmgmt_jeff=4

however the second portlet renders:
http://localhost:8080/c/portal/layout?p_l_id=PRI.15.2&p_p_id=TrainingGroup_WAR_traininggroup&p_p_action=0&p_p_state=normal&p_p_mode=view&p_p_col_id=&p_p_col_pos=0&p_p_col_count=0&_TrainingGroup_WAR_traininggroup__spage=http%3A%2F%2Fwww.google.com%3Fjeff%3D4%26jeff%3D4

Would anybody know what could trigger a difference in behaviour between the two portlets who basically have the same code?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: html:rewite inconsistent behaviour
 
Similar Threads
EditAction not called on liferay
Secure Login through JAAS and servlet
Problem with URL when change Struts app to Liferay's portlet
Issues in file downloading
Liferay MVC: Can a link call a portlet?