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

Hide help button in Search Bar

  • 1.  Hide help button in Search Bar

    Posted Mon June 13, 2011 09:40 PM

    Hello guys:

    I need to hide the help button (question mark) which is right side of keyword field in the search bar control…

    Thx in advance.

    Regards.


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


  • 2.  RE: Hide help button in Search Bar

    Posted Mon June 13, 2011 10:36 PM

    That control has the id of “keywordsHelpIcon”, so you can lookup the component and disable it as in the following snippet:

    	public String initialize() {
    try {
    resolveDataBinding(INITIALIZE_PROPERTY_BINDINGS, null, "initialize", true, false);
    
    UIComponent helpBtn = findComponentInRoot("keywordsHelpIcon");
    helpBtn.setRendered(false);
    
    return OUTCOME_OK;
    } catch (Exception e) {
    error(e);
    log(e);
    return OUTCOME_ERROR; 
    }	
    }

    Regards,
    –mark


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


  • 3.  RE: Hide help button in Search Bar

    Posted Tue June 14, 2011 05:26 PM

    Thanks! It work!

    Where can I found this documentation?

    best regards.


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


  • 4.  RE: Hide help button in Search Bar

    Posted Wed June 15, 2011 12:59 AM

    We don’t have detailed documentation over all the id’s of controls found in these aggregate controls. However, in 8.x we have a new feature that allows you to ‘de-compose’ these controls into their distinct components and then you can manipulate them like any other control on the canvas.

    Regards,
    –mark


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


  • 5.  RE: Hide help button in Search Bar

    Posted Thu June 16, 2011 07:39 PM

    ok, somebody told me about this feature, how can I found this feature?

    regards


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


  • 6.  RE: Hide help button in Search Bar

    Posted Fri June 17, 2011 04:35 PM

    Any ideas about how to de-compose controls?

    regards


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


  • 7.  RE: Hide help button in Search Bar

    Posted Mon June 20, 2011 06:31 PM

    It is a right click menu option on some of the complex controls. It is called ‘Customize’. I’ll attach some documentation on it shortly.


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


  • 8.  RE: Hide help button in Search Bar

    Posted Tue June 21, 2011 07:40 PM

    Here is some preliminary documentation.
    ta-caf-cust-ui-controls.pdf (107 KB)


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


  • 9.  RE: Hide help button in Search Bar

    Posted Tue September 06, 2011 03:03 PM

    Hello guys, I need to know also the name of the control of the keyword input field inside the search bar control.

    Best regards.

    Thxs.


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


  • 10.  RE: Hide help button in Search Bar

    Posted Sun September 11, 2011 05:32 AM

    The easiest way to find that out is to use FireBug. Load up Firebug in Firefox and use the Inspection tool to select the keyword input. You’ll see that it shows an input with an id something like: jsfwmp9536:defaultForm:searchBar:keywordsTextInput

    Now you can find the id of the input control or any other control on the page.
    Regards,
    –mark


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


  • 11.  RE: Hide help button in Search Bar

    Posted Wed May 21, 2014 11:45 AM

    Hello guys:
    i’m new in software AG and i’m using webMethods 8.2. I’m trying to implement a search portlet application.
    The minor problem is that i cannot personalize the portlets.
    Can anybody tell me how to customize the search query to search on the DB table using IS Flow service ?

    Regards


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


  • 12.  RE: Hide help button in Search Bar

    Posted Wed May 21, 2014 11:53 AM

    what are you trying to search? which query do you want to customize. please mention complete details.


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


  • 13.  RE: Hide help button in Search Bar

    Posted Wed May 21, 2014 12:35 PM

    I’m using a flow service that calls an Adapter Service ( JDBC adapter using Custom SQL template ).
    I want to customize the where condition of the sql query based on the Search bar’s search condition.
    For example i want to search the employees by name or/and by surname.
    How can i customize the search query to reflect the search condition selected on the Search Bar (AND , OR).

    AND case
    Select * from employee where employee_name like ? AND employee_surname like ?
    OR case
    Select * from employee where employee_name like ? OR employee_surname like ?

    Regards


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


  • 14.  RE: Hide help button in Search Bar

    Posted Wed May 21, 2014 01:22 PM

    Use dynamic SQL in adapter services for changing where clause at run time. for info on how to use it see ‘6-5_JDBC_Adapter_Install_and_Users_Guide’.


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


  • 15.  RE: Hide help button in Search Bar

    Posted Wed May 21, 2014 01:48 PM

    Thank you Anjni,
    it was very useful
    Regards


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