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.  how to populate tree component with arraylist

    Posted Fri November 01, 2013 01:39 PM

    I need populate tree with objects from arraylist… can add objects dynamically in runtime


             tree
    

    1º object Arraylist +
    --------2º object Arraylist+
    -------------3ºobject Arraylist+
    ------------------4 object Arraylist+


    I do not understand the component


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


  • 2.  RE: how to populate tree component with arraylist

    Posted Fri November 01, 2013 02:13 PM

    Can you provide some details on how the objects of your tree model are structured? Like how the parent/child relationship between the objects is determined in your arraylist?

    The designer help documentation for the CAF Tree control has some details about how to adapt various types of data to the tree control. So you might want to review that if you haven’t already done that.


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


  • 3.  RE: how to populate tree component with arraylist

    Posted Fri November 01, 2013 02:27 PM

    for example:

    myObject—list (dropdown)
    —String (input text)
    —int (label)

    dropdow (options: “1”, “2”, “3”)

    Onchange dropdown, if option=2, add new object to arraylist

    the tree:

    INITIAL

    dropdown
    inputText
    label

    ONCHANGE DROPDOWN to option =2

    dropdown (=2)
    -------------dropdown (=2)
    -----------------------------dropdown …
    -----------------------------inputText…
    -----------------------------label…
    -------------inputText
    -------------label
    inputText
    label

    dropdown (=2)
    -------------dropdown (=1 or 3)
    -------------inputText
    -------------label
    inputText
    label


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


  • 4.  RE: how to populate tree component with arraylist

    Posted Fri November 01, 2013 02:45 PM

    I don’t really follow what you are saying there.

    Are you trying to use a Tree control to render that? Or you just want different panels to render depending on what is chosen from the dropdown control?


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


  • 5.  RE: how to populate tree component with arraylist

    Posted Fri November 01, 2013 03:09 PM

    need to reflect arraylist in tree, or table or other component

    something like this: in webMethods portal (login with Administrator)

    System---->analysis------->rule list------>press “create rule” button

    in “rule expression” press “edit” button

    in this view if change the dropdow “expression” to “compound expression” can see …
    I need something like that…


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


  • 6.  RE: how to populate tree component with arraylist

    Posted Fri November 01, 2013 09:29 PM

    How far along have you gotten so far?

    Have you gotten the data you want to display into the arraylist?


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


  • 7.  RE: how to populate tree component with arraylist

    Posted Fri November 01, 2013 10:56 PM

    I solved it by creating all components dynamically!

    Thanks


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