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 info...

    Posted Tue January 28, 2014 12:10 AM

    Hi

    I would like to share this info to all.
    I have a requirement where I need to display the result in pop up. Got the result by using ‘Modal dialog’ with ‘Aysnc command Button’.

    Here are my settings:
    In Async command button, I set;

    • Refresh and Toggle properties to ‘modal dialog’ ID.
    • Action properties to an WSC function in managed Bean.

    Im using 9.5. Here, by setting progress delay to a value I avoided getting the Blank ‘pop up’ [instead getting loading screen which is good] until the results been sent from server. Beauty is every one told about using the script in this forum (not about this setting) this will be more helpful whoever not to use scripting.

    BTW, I’m not good in script :slight_smile: I mean don’t know what functions available [ how to know this ] and I would like to try writing script option too, please guide me, do I need to write script under the below function?

    Public string ()
    {
    }

    Thanks.


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


  • 2.  RE: Modal dialog info...

    Posted Thu January 30, 2014 12:51 AM

    You should be able to get the results in modal dialog without setting progress delay property. Did you try?


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


  • 3.  RE: Modal dialog info...

    Posted Thu January 30, 2014 08:18 PM

    Hi Mervin,

    Yes I was able to get the result as I mentioned earlier, but with delay. Delay is due to delay in response from server side [ since it does some functional logic at server side services ] the displayed pop up screen will be blank once we get the result from server it’s displaying with data.

    To avoid displaying the blank screen, I set the progress delay property. Advantage of setting this property is till we get result from Server side loading screen gets displayed, which is good to have. Your views…

    • Thanks.

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