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
Expand all | Collapse all

Clearing Selected Rows in a Content Provider

  • 1.  Clearing Selected Rows in a Content Provider

    Posted Tue October 14, 2008 05:13 PM

    I’ve a portlet developed to do Database table management (Add, Edit and Delete rows) using IS services. An Async Table with selectable rows UI control and a Updateable Table with Selection Content Provider is used to display the DB table contents. When I Select rows and perform Delete operation, the action executes the Delete web service successfully and the rows are removed from Async Table but the content provider still holds the selected rows. I tried refreshing the Content Provider by calling another webservice that populates with the available table rows but still didn’t work. How do I clear selected rows from a Content Provider?

    Thanks,
    Yoga


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


  • 2.  RE: Clearing Selected Rows in a Content Provider

    Posted Thu March 19, 2009 12:26 PM

    well you can call the clear() method of selected content provider list

    e.g here the content provider is “resultsProvider”

    this.resultsProvider.getSelectedRows().clear();


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