CSSINSP, NOCSSINSP, and AUTOCSSINSP (JANUS DEFINE parameters)

From m204wiki
Revision as of 21:52, 16 April 2013 by JALWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CSSINSP, NOCSSINSP, and AUTOCSSINSPare a parameters on JANUS DEFINE, which defines and sets characteristics of a Janus port.

Indicates whether or not Janus Web Legacy Support is to insert a space to represent the attribute byte on a 3270 screen. An attribute byte appears before any input field and appears as a protect-space character on a 3270 screen. Netscape Navigator inserts a space before every input field anyway, so if Janus Web Legacy Support inserted its own space, there would be one more space than on the 3270 screen, throwing off alignment. No other browsers insert a space before input fields, so if Janus Web Legacy Support didn't insert its own space, there would be one fewer space than on the 3270 screen, and alignment would be thrown off.

CSSINSP forces insertion of a space before input fields (the correct behavior for browsers other than Netscape Navigator). NOCSSINSP prevents insertion of a space before input fields (the correct behavior for Netscape Navigator). AUTOCSSINSP, the default, determines whether the browser is Netscape Navigator or not and does the empirically determined correct thing on that basis.

The default of AUTOCSSINSP is probably correct for most purposes, but it can be overridden if evidence comes to light that contradicts the behavior described here.

The CSSINSP, NOCSSINSP, and AUTOCSSINSP parameters on the JANUS DEFINE can be overridden on a URL basis by the like-named parameters on JANUS WEB SCREEN rules, or, on an application level, by the like-named parameters in $Web_Screen calls.

Valid only for WEBSERV ports.

See also