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

From m204wiki
Jump to navigation Jump to search
No edit summary
m (misc cleanup)
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>NOXMLCREENFIELD</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 <var>[[JANUS DEFINE]]</var> that indicate whether or not <var class="product">[[Janus Web Legacy Support]]</var> adds <i>screenField</i> attributes to the 3270 screen content it converts to 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.
<var>NOXMLSCREENFIELD</var>, the default, indicates that <i>screenField</i> attributes are not added.  
 
<var>XMLSCREENFIELD</var> specifies that:
<ul>
<li>For input fields, the <i>screenField</i> atribute is added to the &lt;input&gt; element. </li>
<li>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. </li>
</ul>
 
<p class="note"><b>Note:</b> The <var>[[XMLSCREEN and NOXMLSCREEN (JANUS DEFINE parameters)|XMLSCREEN and NOXMLSCREEN]]</var> parameters indicate whether the output format of 3270 screens that <var class="product">Janus Web Legacy Support</var> converts is XML or XHTML, respectively. If <var>XMLSCREEN</var> is specified, screen field names are always sent, making <var>XMLSCREENFIELD</var> irrelevant. <i><var>XMLSCREENFIELD</var> only affects screens sent as XHTML, which is only the case when <var>NOXMLSCREEN</var> is set.</i> </p>


The <var>XMLSCREENFIELD</var> and <var>NOXMLSCREENFIELD</var> parameters are available in <var class="product">Sirius Mods</var> Version 8.1 and later.  
The <var>XMLSCREENFIELD</var> and <var>NOXMLSCREENFIELD</var> parameters are available in <var class="product">Sirius Mods</var> Version 8.1 and later.  


You can override the <var>XMLSCREENFIELD</var> and <var>NOXMLSCREENFIELD</var> parameters on the <var>JANUS DEFINE</var> command on a URL basis using the like-named parameters in [[JANUS WEB SCREEN]] rules.
You can override the <var>XMLSCREENFIELD</var> and <var>NOXMLSCREENFIELD</var> parameters on the <var>JANUS DEFINE</var> command on a URL basis using the like-named parameters in <var>[[JANUS WEB SCREEN]]</var> 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 <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.

Revision as of 16:19, 24 April 2015

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

XMLSCREENFIELD and NOXMLCREENFIELD are parameters on JANUS DEFINE that indicate whether or not Janus Web Legacy Support adds screenField attributes to the 3270 screen content it converts to XHTML.

NOXMLSCREENFIELD, the default, indicates that screenField attributes are not added.

XMLSCREENFIELD specifies that:

  • 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.

Note: The XMLSCREEN and NOXMLSCREEN parameters indicate whether the output format of 3270 screens that Janus Web Legacy Support converts is XML or XHTML, respectively. If XMLSCREEN is specified, screen field names are always sent, making XMLSCREENFIELD irrelevant. XMLSCREENFIELD only affects screens sent as XHTML, which is only the case when NOXMLSCREEN is set.

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.

Valid only for WEBSERV ports.

See also