I have deployed the pet portlet sample application to Liferay 5.1.2 and everything was going great until I tried to add a Pet.
Throughout the 'add pet' code is the following line
The problem is that when this is run the portlet stays in 'Add Pet' mode.
I debugged the application and it seems that the render request has two 'action' parameters, both 'add' and the new 'list'.
Is this a Liferay problem or it there a better way to redirect to a different action than setting the 'action' parameter?
Can anyone help?