+

Search Tips   |   Advanced Search

Programming model guidelines for server-side mode


Learn which widgets we can use in server-side mode and how to adapt widgets for server-side mode.


Widgets we can use in server-side mode

In general, all widgets programmed against the iWidget specification can be rendered in server side mode. However, a key difference to client side rendering is that full page refreshes happen frequently and not only if a user action triggers them explicitly.

For example, each time a user triggers a portlet action, this results in a full page refreso that fetches the updated page from the server. This also means that the document object model (DOM) is regenerated as a result of a standard user interaction. Therefore, to write a widgethat works in server side mode, apply the guidelines listed in the following:

Furthermore, some of the predefined events that the iWidget specification specifies behave slightly different when we use them in server side rendering mode:


Options of interactions between widgets and portlets


Parent: Client-side aggregation reference
Related:
Programming model guidelines for client-side mode