Overview
Content Tools
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 20 Next »
A widget is a small application that interacts with the server and client logics. The widget sends, receives and processes events through the client and server controllers.
SimpleOne widgets are interactive with users so that they process and display the data received from users. The SimpleOne widgets can be added to forms as well as to portal pages.
A widget includes the components that define its view, execution, and behaviour:
The scheme below illustrates how the data passed between the server and client scripts using global objects:
The server script uses the input object to access the data received from the client controller and the data object for processing and sending it back as JSON.
The client script uses the data object to access the server data. After processing the data by the client script, invoke the s_widget.serverUpdate() method to send the data to the server controller. When calling this method, the server script data object automatically overwrites the client controller data object.
The client controller uses the s_widget object to invoke widget API methods.
Learn how to create a widget and configure. It is possible to make a widget a part of another widget by embedding it.
Display widgets to the records and tables forms to gain more functionality or for any other purpose.
Portal pages can contain a few widgets that interract with each other.
© 2019-2023, SimpleOne