Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Dave Weitzel
targetting correct struts forward option in URL parameters
April 19, 2013 5:28 AM

Dave Weitzel

Rank: Regular Member

Posts: 207

Join Date: November 18, 2009

Recent Posts

I am interfacing with the Liferay Shopping cart but want to by pass some of the user interfaces so the customer is presented with the final screen before going to Paypal.
I can set the right struts_action by :
lcartURL.setParameter("_34_struts_action", "/shopping/checkout",true);
however that action has multiple forwards defined.

How do I set the forward as a URL parameter ? I have tried:
lcartURL.setParameter("_34_struts_forward", "",true);

and that doesn't work and I cannot see any way mentioned anywhere on how to do this.
Is there an easy way to do this?