フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
Dave Weitzel
targetting correct struts forward option in URL parameters
2013/04/19 5:28
答え

Dave Weitzel

ランク: Regular Member

投稿: 207

参加年月日: 2009/11/18

最近の投稿

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", "portlet.shopping.checkout_second",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?

Dave

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!