3 Replies Latest reply on Feb 19, 2013 7:27 PM by drwho

    IPC issue with action mapping

    drwho Newbie

      All,

      we are currently using juzu as our portlet framwork and have recently encountered an issue with IPC.

       

      Here is the situation:

      1. portlet A process an action

      1.1 it emit events

      2. portlet B consume the events and reloads its View based on Event.

      3. Portlet B has a form action -> but this does not work now, because after IPC event all the template actions urls are modified

       

                  Eg: In Portlet B template – action given in form as: <form id="overrideform" name="overrideform" action="@{doOverRide()}" method="post">

      ·         Without IPC, Portlet B is rendered with the following action mapping :

      Action =/portal/XXXSite/Reviewer?portal:componentId=3f55998a-98dd-4d56-ad16-  41c2dd52dba9&interactionstate=JBPNS_rO0ABXc_AAdqdXp1Lm9wAAAAAQAnTWFudWFsb3ZlcnJpZGVDb250cm9sbGVyLm92ZXJyaWRlUmV2aWV3AAdfX0VPRl9f&portal:type=action

                              On Submit of the form the correct action method is called.

      ·         After IPC , Portlet B is rendered with the following moified url mapping :

      Action=/portal/XXXXSite/Reviewer?navigationalstate=JBPNS_rO0ABXoAAAQAAApwYXlsb2REYXRhAAAAAR64eyJNZXRhRGF0YSI6eyJDcmVhdGVkVGltZVN0YW1wIjoiIiwiRmluYWxpemVkVGltZVN0YW1wIjoiIiwiTE9CSUQiOiIwIiwiTmV3UmV0cnlDb3VudCI6IiIsIlJldmlld0lEIjoiI

                                      On Submit of the form the correct action method is not called.

       

      So the issue is – Unable to process any actions from a portlet which was rendered after an IPC event. Notice the ‘interactionstate’ is moified to ‘navigationalstate’.

      Can anyone help us? This issue has been cross posted in juzu user group. We are currently using epp 5.2.2

      Gordon