Skip to content

XRX plus plus portal

GVogeler edited this page Dec 8, 2017 · 9 revisions

The portal document defines a html context for a widget.

Main widgets reference the portal by the portal-id in their <xrx:portal> referencing the atom:id of the portal definition to be used. This says how the main widget would like to be presented to the user (header, footer, basic css inclusions in xrx:csss, JavaScripts in xrx:jss etc.). In the *.portal.xml files, there is a placeholder for the mainwidget (xrx:mainwidget), i.e. the widget calling the portal via xrx:portal. The HTML is defined in a xrx:view. This can include references to other widgets (xrx:subwidget) In the editor, there is also a placeholder for the model (xrx:model).

At the time of writing there are nine portals defined:

Clone this wiki locally