-
Notifications
You must be signed in to change notification settings - Fork 11
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:
- src/core/app/xrx/portal/empty.portal.xml:
- src/mom/app/mom/portal/default.portal.xml
- src/mom/app/mom/portal/subeditor.portal.xml
- src/mom/app/mom/portal/fullscreen.portal.xml
- src/mom/app/mom/portal/desktop.portal.xml
- src/mom/app/mom/portal/editor.portal.xml
- src/mom/app/mom/portal/fonds.portal.xml
- src/mom/app/mom/portal/charter.portal.xml