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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Refrence a CONTROL in VIEW'S JAVA CODE?

    Posted 01/20/09 04:45 PM

    I’d like be able to reference a control inside the Java code. I think this is possible but I cant find the syntax.

    Any help is appreciated!

    Lucas.


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


  • 2.  RE: Refrence a CONTROL in VIEW'S JAVA CODE?

    Posted 01/20/09 05:16 PM

    You can generate a control getter method in the java code by right clicking on the control instance in the view editor and selecting the ‘Source > Create Control Accessor’ item from the context menu.

    The java code will have something like this:

    	/**
    * Getter method for the control with id='searchBarForm:htmlOutputText'
    */
    public com.webmethods.caf.faces.component.standard.HtmlOutputText getHtmlOutputText()  {
    return (com.webmethods.caf.faces.component.standard.HtmlOutputText)findComponentInRoot("searchBarForm:htmlOutputText");
    }

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


  • 3.  RE: Refrence a CONTROL in VIEW'S JAVA CODE?

    Posted 01/21/09 05:57 PM

    Ok, I’ll fool with that… thanks Eric!


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