XMLSCREENFIELD and NOXMLSCREENFIELD (JANUS DEFINE parameters)

From m204wiki
Revision as of 19:51, 15 December 2014 by Alex (talk | contribs) (Created page with "{{DISPLAYTITLE:XMLSCREENFIELD and NOXMLSCREENFIELD}} <span class="pageSubtitle">Add or don't add <i>screenField</i> attributes to legacy screen XHTML</span> <var>XMLSCREENFIE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add or don't add screenField attributes to legacy screen XHTML

XMLSCREENFIELD and XMLNOSCREENFIELD are parameters on JANUS DEFINE, which indicate whether or not screenField attributes are to be added to legacy screen XHTML.

Indicates whether or not screenField attributes are to be added to legacy screen XHTML. NOXMLSCREENFIELD, the default, indicates that screenField attributes will not be added. For input fields, the screenField atribute is added to the ⁢input> element. For non-input fields, the screenField attribute is added to an extra <span> element that is placed around the displayed value.

The XMLSCREENFIELD and NOXMLSCREENFIELD parameters are available in Sirius Mods Version 8.1 and later.

You can override the XMLSCREENFIELD and NOXMLSCREENFIELD parameters on the JANUS DEFINE command on a URL basis using the like-named parameters in JANUS WEB SCREEN rules.

Note that while the name might lead one to believe that XMLSCREENFIELD will be in effect if XMLSCREEN is set, it's actually the opposite. If XMLSCREEN is set, screen field names are always sent so XMLSCREENFIELD is irrelevant in that case. XMLSCREENFIELD only affects XHTML legacy screens which are used NOXMLSCREEN is set.

Valid only for WEBSERV ports.

See also