Skip to content

Files

Latest commit

264b243 · Feb 8, 2025

History

History
24 lines (18 loc) · 860 Bytes

api_efw_function.md

File metadata and controls

24 lines (18 loc) · 860 Bytes

EFW Function

The EFW function is established to call server events from JSP in AJAX. It is not necessary to send params or receive results when calling server events. The only thing you must do is send the event ID.

Sample for JSP

<input type="button" value="Send" onclick="Efw('helloWorld_sendMessage')">

API

Calling
Efw ( eventId )
Efw ( eventId, manualParams )
Efw ( eventId, sever )
Efw ( eventId, manualParams, sever )
Parameter Type Description
eventId String The name of an event file.
manualParams JSON Object To send some values which cannot be defined by jQuery selectors.
{"mode":"edit"}
sever String The URL of CORS connections to another web server application constructed by EFW.
http://127.0.0.1:8080/myApp