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
  • 1.  Add row to tree structure

    Posted Sat October 11, 2014 02:38 PM

    Hello All,

    I have a requirement to add a new row to table which will be same as selected row.
    I have tried to add the selected details again in treeProvider but getting error testProvider.createRow(); as I am not able to pass the record.
    Is there any alternative way to add new row to tree or if it is possible to add through template to add selected record.

    Here Provider class is using as
    private com.webMethods.caf.faces.data.tree.object.NodeTreeContentProvider testProvider = null;
    testProvider= new BoundChildrenTreeContentProvider(getTest(),“test” , “#{test.customerId},#{test.orderId},#{test.widgetId}”, “#{test.orders},#{test.widgets}”);

    Have attached the code sample for reference.

    Any help is appreciated.

    Thanks
    Baharul
    treeExample10_Oct.zip (41.1 KB)


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