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.
<input type="button" value="Send" onclick="Efw('helloWorld_sendMessage')">
Calling |
Efw ( eventId ) |
Efw ( eventId , manualParams ) |
Efw ( eventId , sever ) | Not for efw-4iAP |
Efw ( eventId , manualParams , sever ) | Not for efw-4iAP |
Parameter | Type | Description |
eventId | String | "SubFolder/FileName". SubFolder is relatived from efw.event.folder. FileName is the name of an event file. |
manualParams | JSON Object | To send some values which can not 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/efw |