webMethods

webMethods

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
  • 1.  Modal Dialog with import template view

    Posted Thu March 07, 2013 06:52 AM

    Hi,
    I am trying to get a modal dialog in a view that call another portlet.
    Porlet A displays a list of orders in a table with ID column.
    I would like click on ID and show the modal dialog containing the Portlet B (This portlet show the order details calling a webservice. Portlet B has 3 input parameter and the webservice is set to autorefresh)

    Actually:
    -I put on ID value a link that when i click it open the modal dialog (“Client-Side Events → Click” value: CAF.model(‘#{activePageBean.clientIds[“modalDialog”]}’).show():wink:
    -In the modal dialog I put the “importTemplateView” with the Portlet B path value.
    -I add 3 ControlParameter in the ImportTemplateView binding each one with the corresponding value from the resulset of Portlet A

    When I click on ID I visualize the modal dialog with the portlet B but with empty fields.

    Is it the correct way? There are other methods to open a portlet like modal dialog for satisfy my requirement?

    Thanks
    Bye


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


  • 2.  RE: Modal Dialog with import template view

    Posted Mon March 11, 2013 06:55 AM

    Are you refreshing the modal dialog on click of link (ID)?


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


  • 3.  RE: Modal Dialog with import template view

    Posted Mon March 11, 2013 07:01 AM

    Hi,
    when I click the link I invoke this statement CAF.model(‘#{activePageBean.clientIds[“modalDialog”]}’).show();
    I need to invoke another statement like this CAF.model(‘#{activePageBean.clientIds[“modalDialog”]}’).refresh(); ?

    Thanks


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


  • 4.  RE: Modal Dialog with import template view

    Posted Wed March 13, 2013 04:26 AM

    If you are using Async command link/button, In the Toggle and Refresh property, specify the ID of the modal dialog.


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