Reputation: 2864
How do I generate a permalink to a certain state of a portlet?
I need something like <portlet:renderUrl/>
but with a much more user-friendly output. I need smt like portal.com/search?q=query
instead of portal.com/web/guest/home?p_auth=ASDFGH&p_p_id=xviewer_WAR_xviewer_INSTANCE_Yz9i&p_p_lifecycle=....
How do I do this in Liferay Portal 6.0.6 and Spring Portlet MVC ?
Kindest regards, q
Upvotes: 1
Views: 280
Reputation: 1890
The most straightforward way to avoid cryptic URL in Liferay is to use FriendlyURL. Look at documentation and wiki.
Upvotes: 2