IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

JSF Action Issue (Wierd Behaviour)

  • 1.  JSF Action Issue (Wierd Behaviour)

    Posted Wed January 23, 2008 05:27 AM

    All,

    I am facing an issue that an action is not being invoked in the following scenario

    1. I have a portlet (Main Portlet) containing IFrame - source of this IFrame is set to the url of another portlet (Simple Portlet).

    Main Portlet - > IFrame (src=Simple Portlet)

    1. IFrame source portlet (Simple Portlet) contains 2 more IFrames with source set to the url of another portlet (Child Portlet).

    IFrame (src=Simple Portlet) → 1. IFrame (src=Child Portlet) 2. IFrame(src=Child Portlet)

    1. Simple Portlet also contains a Command Link (“Some Action”), this link is bound to a method called someAction() in activePageBean(Default View Managed Bean) like this #{activePageBean.someAction}

    2. Now when a portlet is opened after all the frames are rendered, i click on link “Some Action”, method bound against this link “someAction” is not being invoked, upon investigation i found this

                  . before Restore View method is invoked
      . after Restore View method is invoked
      . before Apply Request method is invoked
      . after Apply Request method is invoked
      . before Process Validation method is invoked
      . after Process Validation method is invoked
      . before Update Model Values method is invoked
      . after Update Model Values method is invoked
      . before Invoke Application method is invoked
      
      >>>>>> Actual method bound to that link is not invoked <null><null><null><null><null><
      
      
      . after Invoke Application method is invoked
      

    It some how loses the events registered against this Invoke Application Phase.

    One interesting point here is that if i set the rendered property to “false” of one of the “Child Portlet”, then it starts working perfectly.

    I dont know what is the issue behind this, if anyone can help me out.

    Thanks in advance
    Khurram


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 2.  RE: JSF Action Issue (Wierd Behaviour)

    Posted Thu January 24, 2008 09:28 AM

    Reformatted Message:

    All, I am facing an issue that an action is not being invoked in the following scenario.

    1. I have a portlet (Main Portlet) containing IFrame - source of this IFrame is set to the url of another portlet (Simple Portlet).

    Main Portlet - > IFrame (src=Simple Portlet)

    1. IFrame source portlet (Simple Portlet) contains 2 more IFrames with source set to the url of another portlet (Child Portlet).

    IFrame (src=Simple Portlet) → 1. IFrame (src=Child Portlet) 2. IFrame(src=Child Portlet) 3.

    Simple Portlet also contains a Command Link (“Some Action”), this link is bound to a method called someAction() in activePageBean(Default View Managed Bean) like this #{activePageBean.someAction}

    1. Now when a portlet is opened after all the frames are rendered, i click on link “Some Action”, method bound against this link “someAction” is not being invoked, upon investigation i found this

    . before Restore View method is invoked
    . after Restore View method is invoked
    . before Apply Request method is invoked
    . after Apply Request method is invoked
    . before Process Validation method is invoked
    . after Process Validation method is invoked
    . before Update Model Values method is invoked
    . after Update Model Values method is invoked
    . before Invoke Application method is invoked

    Actual method bound to that link is not invoked <

    . after Invoke Application method is invoked.

    It some how loses the events registered against this Invoke Application Phase.

    One interesting point here is that if i set the rendered property to “false” of one of the “Child Portlet”, then it starts working perfectly.

    I dont know what is the issue behind this, if anyone can help me out.

    Thanks in advance Khurram


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods