Skip to content

MOM CA: HTML intrastructure

GVogeler edited this page Dec 8, 2017 · 2 revisions

MOM-CA builds the HTML wireframe in several steps:

  1. core/app/xrx/widget.xqm creates the basic HTML in the function widget:compile-widget. This builds a HTML page by inserting the definitions from the
  2. widget-definitions (app//widget/.widget.xml). The widget definition inherits a definition via xrx:inherits (see inheritance in MOM-CA and defines its own xrx:csss, xrx:jss, xrx:divs. If it is a main widget it uses the wireframe in the html:body as defined in <xrx:portal>:
  3. portal includes CSS definitions in xrx:csss, JavaScript references in xrx:jss inserted in the HTML head. The xrx:view definition defines the html-context of the xrx:mainwidget.

In these steps the following general resources and layout/design principles are applied:

resources

  • jQuery
  • ...

layout/design principles

  • ...
Clone this wiki locally