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

changing the background color of selected directory.

  • 1.  changing the background color of selected directory.

    Posted Tue December 02, 2008 09:55 AM

    Hi

    is there any way to highlight( changing the background) the selected directory in the tree structure.

    i am using some combination like scrollbar to handle the overflow of tree data.

    the following script is working fine to select the directory for the first time but while selecting the another directory it is changing the background color of recently selected but not re-setting the background color of previous selected directory.

    var clientAdvTree = CAF.model(“#{activePageBean.clientIds[‘tree’]}”);
    var clientAdvIcon= clientAdvTree.getControlId(“icon”);
    var td = Element.up(clientAdvIcon);
    td.style.backgroundColor = “#8080FF”;

    please share your ideas on how to implement it…


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


  • 2.  RE: changing the background color of selected directory.

    Posted Tue December 02, 2008 03:23 PM

    Have you had a chance to look at the Table Listener at: http://ajax-softwareag.com/articles/N7M0TP/DesignerOnlineHelp/caf_model_listeners.html

    You can use this for Trees as well as Tables.
    Regards,
    –mark


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