XMLSCREENFIELD and NOXMLSCREENFIELD (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
<span class="pageSubtitle">Add or don't add <i>screenField</i> attributes to legacy screen XHTML</span>
<span class="pageSubtitle">Add or don't add <i>screenField</i> attributes to legacy screen XHTML</span>


<var>XMLSCREENFIELD</var> and <var>NOSXMLCREENFIELD</var> are parameters on [[JANUS DEFINE]], which indicate whether or not <i>screenField</i> attributes are to be added to legacy screen XHTML.  
<var>XMLSCREENFIELD</var> and <var>NOXMLCREENFIELD</var> are parameters on [[JANUS DEFINE]], which indicate whether or not <i>screenField</i> attributes are to be added to legacy screen XHTML.  


Indicates whether or not <i>screenField</i> attributes are to be added to legacy screen XHTML. <var>NOXMLSCREENFIELD</var>, the default, indicates that <i>screenField</i> attributes will not be added. For input fields, the <i>screenField</I> atribute is added to the &it;input&gt; element. For non-input fields, the <i>screenField</i> attribute is added to an extra &lt;span&gt; element that is placed around the displayed value.
Indicates whether or not <i>screenField</i> attributes are to be added to legacy screen XHTML. <var>NOXMLSCREENFIELD</var>, the default, indicates that <i>screenField</i> attributes will not be added. For input fields, the <i>screenField</I> atribute is added to the &it;input&gt; element. For non-input fields, the <i>screenField</i> attribute is added to an extra &lt;span&gt; element that is placed around the displayed value.

Revision as of 20:34, 15 December 2014

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

XMLSCREENFIELD and NOXMLCREENFIELD 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