<we:ifNotVar>
Since version: 2.0 | Requires endtag: yes
Description
Content enclosed by this tag is only displayed if the variable specified in "name" does not match the value specified in "match".
Attributes
name
Default value: - | since version: 2.0 | required: yes
Set this attribute to the name of the variable to be tested.
match
Default value: - | since version: 2.0 | required: yes
Set this attribute to the value to be compared.
type
Default value: - | since version: - | required: no
Set this attribute to the type of variable being compared. Valid parameters are: "global" for global variables, "request" for request variables, "document" for document fields; "session" for a session or "sessionfield" for a sessionfield.
Allowed values:
- global
- request
- document
- property
- session
- sessionfield
doc
Default value: - | since version: - | required: no
Set this attribute to "self" to refer to the current document. If the tag was in an include (see <we:include> ), it refers to an included document. Set this attribute to "top" or leave it unset if you want to refer to the main webEdition document.
Allowed values:
- self
- top
Syntax
<we:ifNotVar name="attribute" match="attribute" [type="global|request|document|property|session|sessionfield"] [doc="self|top"]> ... </we:ifNotVar>