XMLSCREENFIELD and NOXMLSCREENFIELD (JANUS DEFINE parameters): Difference between revisions
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]] | <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. | ||
<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 <input> element. </li> | |||
<li>For non-input fields, the <i>screenField</i> attribute is added to an extra <span> 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. | ||
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.