Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (22 loc) · 1.19 KB

api_efw_function.md

File metadata and controls

26 lines (22 loc) · 1.19 KB

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 to do is sending 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 )Not for efw-4iAP
Efw ( eventId , manualParams , sever )Not for efw-4iAP
ParameterTypeDescription
eventIdString"SubFolder/FileName". SubFolder is relatived from efw.event.folder. FileName is the name of an event file.
manualParamsJSON ObjectTo send some values which can not be defined by JQuery selectors.
{"mode":"edit"}
severStringThe url of cors connections to another web server application constructed by Efw.
http://127.0.0.1:8080/efw