@bodyBegin([ATTRS], [DELAY_HEADER])

Inserts the start of the body section for XHTML output.

The following parameters are recognized:

[ATTRS]

Any optional attributes you would like to include on the <body> element.

[DELAY_HEADER]

Set this parameter to "true" if you want to prevent delay the insertion of the DOM navigation header/menu until after the rest of the page is loaded.

This is intended to support the building of valid XHTML documents using JavaScript DOM methods and AJAX.

Example of using the macro:

See: @headBegin()

Assuming the com.ccg.macros.at.All class is within your CLASSPATH and the config/html.at macros file has been generated (Hint: run make atmacros in the wui directory), a developer should be able to run the above example by copy/pasting from below:

[root@probe root]# java com.ccg.macros.at.All <<EOF
@include("config/html.at",,"d")

See: @headBegin()

EOF

This macro is defined as:

<body@ifEqual("@param(0)","",," @param(0)")>@ifEqual("@param(1)","true",,"
@javascriptBegin()

  //
  // Force insertion of top nav bar now
  var botBarNeeded = NstWui._AddBotNavBar;
  NstWui.navBars(true, false);
  NstWui.insertNavBars();
  // Restore bottom nav bar flag (top no longer needed)
  NstWui.navBars(false, botBarNeeded);

@javascriptEnd()
")