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

Set preference value and display the hideable panel

  • 1.  Set preference value and display the hideable panel

    Posted Fri September 02, 2011 04:47 AM

    I have a scenario where,
    onclick of a button in portlet-1 has to set a preference value and display the hideable panel in portlet-2 after the beforeRenderResponse() method of the portlet-2 has been executed.

    I have tried all combinations like setting the action listener, action handler and refreshing the portlet-2 panel from script of portlet-1, similar approach mentioned in the below* link, but the value is getting updated only after the UI refresh and hence the output is blank for the first click, however from the second click onwards the value updates properly.

    Other possible simplest way is, could anyone tell me how to set the portlet preference value from a script block?

    *http://communities.softwareag.com/ecosystem/communities/public/Developer/webmethods/tutorials/CAF/Confirmation_Dialog_Tutorial/ConfirmDialog_Step10.html


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


  • 2.  RE: Set preference value and display the hideable panel

    Posted Mon September 05, 2011 03:25 AM

    Could anyone help me to fix this issue, please let me know if you need more information?


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


  • 3.  RE: Set preference value and display the hideable panel

    Posted Tue September 06, 2011 10:59 PM

    Hi,
    Is the navigation between portlets?
    If yes, as you’re setting the value to a preference in Portlet-1, see that you have the same preference is present in Portlet-2 so that preference value will be passed to second portlet.

    Once you’ve the preference value in portlet-2, use expression language and bind it to Visible property.

    Please let me know if you need a working sample.


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