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

LISTBOX : Selectable or not??

  • 1.  LISTBOX : Selectable or not??

    Posted Tue December 16, 2008 12:09 AM

    According to the documentation (and Firebug) my LISTBOX should inherit the CAF.Select.Model functions, but they don’t seem to work.

    removeAll(), select(), add() do nothing… only size() seems to work.

    My simple goal is to select the highest index of the box on refresh. I need to use it to display a sort of log and want to show the user the most recent enrtry, not the first.

    Also, why does the LISTBOX control alter the cursor to a “finger” when moused over but then not let you select anything?

    Thanks for any help!

    Lucas.


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


  • 2.  RE: LISTBOX : Selectable or not??

    Posted Tue December 16, 2008 04:58 AM

    UPDATE:

    I now have my listbox bound to a SelectableListTableContentProvider, and while I can select a row with the mouse I still cant do it programmaticly as below

    —on click—

    var lb = CAF.model(‘#{activePageBean.clientIds[‘listbox’]}’)
    lb.setSelected(lb.size(),true);


    No JS errors appear, either

    What up?


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


  • 3.  RE: LISTBOX : Selectable or not??

    Posted Tue December 16, 2008 03:16 PM

    UPDATE 2:

    Never mind… I got it to select.

    I still need to automatically scroll to the bottom of the list, which is what started all this.

    I’ll post another topic about it specifically.

    Lucas.


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