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.  Wiring or Filter

    Posted Mon May 23, 2011 08:48 PM

    Hello:

    I have problems to implement wiring and filtering rows in a search result table.

    I’ve two portlets: the search bar and the search results portlets (with a search result table) which are wired through a preference property . All this was done following the instructions in the CAF development Help guide.

    The value input in the preference its passed to the search result portlet, I can see the value of “Query String” in the search result portlet, but nothing happens (search or filter). It seems I am missing the code which speficy the query/filter (columns, operators).

    Also I saw a “filter property” in the search result portlet which admit an expression. I failed to specify a correct filter (including using a filter control).

    Well, I need some help and advice.

    Best regards.

    Norberto


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


  • 2.  RE: Wiring or Filter

    Posted Tue May 24, 2011 02:48 AM

    Let me ask a quick question. When you created your new Portlet Application Project, did you use the Search Application Template?

    Thanks,
    –mark


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


  • 3.  RE: Wiring or Filter

    Posted Tue May 24, 2011 06:29 PM

    Mark

    It’s an empty project template.

    thx.


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


  • 4.  RE: Wiring or Filter

    Posted Tue May 24, 2011 08:00 PM

    I’d recommend at least trying a quick prototype using that Template. It will save you a lot of time and should also help to provide as a guide about how to ensure communication between the two portlets.

    Regards,
    –mark


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


  • 5.  RE: Wiring or Filter

    Posted Thu May 26, 2011 09:43 PM

    Well, I discard for a moment the wiring approach and use a filter input control. It works fine, but I tried to follow the instruction to filter the entire table.

    From the Caf Development help:
    “This sample is similar to Filtered Table (Current Page), but in the New Content Provider
    wizard (step 1), the developer sets the table model’s “filterable” property to true and
    configures a binding-expression that produces the text for each row against which to
    filter (for example “#{row.name} #{row.description}”).”

    When I am creating the content provider from a IS service, I select “Basic Updateable Table” or “Large Table”, but any “filterable” property is shown.

    Best regards.


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


  • 6.  RE: Wiring or Filter

    Posted Fri May 27, 2011 12:29 AM

    Just because Designer creates a specific content provider for you doesn’t mean that you can’t go back and create a new one.


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