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

query on beforeRenderResponse method

  • 1.  query on beforeRenderResponse method

    Posted Thu February 14, 2013 07:41 AM

    Hi All,

    I have created a portlet application (Infrastructure monitoring portlet for IS & broker) with multiple tabs, each displaying certain set of data. All the data will be displayed once the user submits the IS to be monitored.

    The first tab is a summary page which has a chart (displaying IS memory details), the requirement is that i want to refresh the summary tab at regular intervals, for implementing this i have used Referesh interval control & in backend used beforeRenderResponse method (code pasted below) to referesh the chart webservice each time the page refreshes.

    protected void beforeRenderResponse() {
    super.beforeRenderResponse();
    getGetChart().refresh();
    }

    However after publishing the code with the above said the portlet is not getting displayed at all (getting a blank screen), without the above code the portlet works fine.

    Please advice on what could be the problem.

    regards,
    Shreyus


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


  • 2.  RE: query on beforeRenderResponse method

    Posted Thu February 14, 2013 01:41 PM

    Hi Shreyus

    Try writing a seperate action method and invoke it from “Async Command Interrval” button


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


  • 3.  RE: query on beforeRenderResponse method

    Posted Fri February 15, 2013 06:13 AM

    tried it & its working…Thanks for your help :smiley:


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