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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Default for displayed columns of Search Result Table

  • 1.  Default for displayed columns of Search Result Table

    Posted Wed December 01, 2010 08:58 AM

    Hi,

    I have a “Search Result Table” component (com.webMethods.caf.faces.search.SearchResultTable) with a large set of columns. By default I want to display only some of these columns.

    The portlet has a preference “Column Display” with user scope - so each user can select the columns he or she wants to have displayed in the edit view. I would like to use this functionality but I would like to provide a default column set to display. So the user sees only some columns when he visits the list first.

    Any idea on how to achieve this?

    Regards,
    Mathias


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


  • 2.  RE: Default for displayed columns of Search Result Table

    Posted Wed December 01, 2010 09:30 AM

    OK - I just found the solution which is quite obvious to be honest. To provide default values for a portlet preference you need to fill the “Value” property of the portlet preference. So filled the value of the preference “columnDisplay” with a list of column ids I want to have as default.

    Regards,
    Mathias


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