Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ezequiel Turovetzky
Missing request attributes on ActionCommand with Friendly URL
February 7, 2013 5:20 PM
Answer

Ezequiel Turovetzky

Rank: New Member

Posts: 12

Join Date: July 4, 2012

Recent Posts

Hi, all!

I have a portlet with friendly URL routes working. The friendly url routes match to different ActionCommands. When I hit the friendly URL route, the ActionCommand gets invoked, does its stuff, adds some attributes to the requests and goes to the view.jsp. That's working OK.

The thing is that all attributes that the ActionCommand added to the request are missing at the view.jsp. The weird thing is that the attributes appears when friendly URL is turned off. Any thoughts?

Ezequiel
Ezequiel Turovetzky
RE: Missing request attributes on ActionCommand with Friendly URL
February 8, 2013 10:55 AM
Answer

Ezequiel Turovetzky

Rank: New Member

Posts: 12

Join Date: July 4, 2012

Recent Posts

SOLVED!

This is what happend:

I was not mapping the p_p_id in the url-routes, which is OK because I changed the portlet to no-instanceable. The thing is: I've never removed the portlet and dropped back again, so no matter tche from instanceable to non-instanceable, the portlet in the page was instanceble yet.

So, that was it.

Thanks!
Ezequiel