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 look of the Select Row on click component

  • 1.  Changing the look of the Select Row on click component

    Posted Tue June 12, 2007 09:26 PM

    Hi,

    i would like to be able to change the default display of the Select Row component: like the background color, foreground color but there is no stylesheet property availalbe

    I manage to found one element in the skin stylesheet that affects the look of the component but still is not enough to achieve the desired outcome.

    If we want to use this component are we stuck with the default look?

    thanks

    Stephane Gingras


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


  • 2.  RE: Changing the look of the Select Row on click component

    Posted Thu July 05, 2007 07:05 AM

    We have acheived this functionality without using Select Row - we have a list screen, we have acheived the click functionality using javascript and we are changing the look of selected row on the basis of css returned by the server side code.


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


  • 3.  RE: Changing the look of the Select Row on click component

    Posted Tue July 10, 2007 12:56 PM

    That’s a good approach. If you do use the SelectRowOnClick control, you can customize the name of the css class to use for selected rows via the table or list control’s (expert Display) “Selected Row CSS Class” property; the default is “portlet-section-selected”. The css class used for the focused row (the row the user currently has clicked) is hardcoded to “caf-focus”. You can use your own css stylesheet to customize the display of these classes, or you can customize the skin properties of an mws skin.

    The following skin properties affect the display of the “portlet-section-selected” css class:
    Colors:
    selection-selected (foreground-color)
    selection-selected-bg (background-color)
    Fonts:
    section-selected
    Images:
    section-selected-bg.gif

    The only skin property which affects the display of the “caf-focus” css class is the the “section-focus-bg” Color property (the background-color).


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