General Interface is an open source project hosted by the Dojo Foundation

Invoking Function Code

In the "Creating an Application" tutorial in General Interface Getting Started, you added an Execute event for the Find City and State button in the Events Editor palette. The JavaScript statement you added invokes the function code that you just created.

Confirm that you entered the JavaScript statement that calls the function that invokes the web service.

  1. Click the appCanvas.xml tab to return to the application.
  2. Select the btnLookup button in the Component Hierarchy palette.
  3. Choose Palettes > Events Editor to open the Events Editor palette.
  4. Confirm that the following JavaScript statement is entered in the Value field of the Execute event in the Events Editor palette:
    eg.service.callReturnCityState();

    Next, you'll test the outbound and inbound messages.

Contents

Searching General Interface Docs

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.