<we:ifVarNotEmpty>
Since version: 2.2.0.0 | Requires endtag: yes
Description
Content enclosed by this tag is only displayed if the field named in "match" is not empty.
Attributes
match
Default value: - | since version: 2.2.0.0 | required: yes
Set this attribute to the name of the target field to be matched.
doc
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the target document. "top" indicates the main webEdition document even if this tag was included. "Self" means the actual document in which this tag appears. Setting it to "document" refers to a webEdition document created with <we:form type="document">. Setting it to "object" refers to an object created with <we:form type="object">.
Allowed values:
- self
- top
- document
- object
type
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the type of variable which is used for the comparison. Valid parameters are: "global" for global variables. "request" for request variables transfered via "put" or "get". "session" for session variables. "sessionField" for variables from the customer module. "href" for values from a <we:href/> tag.
Allowed values:
- request
- global
- session
- sessionfield
- href
- multiobject (required module: DB/Object Modul)
property
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the property of a webEdition document that is used for the test. Valid parameters are: DocType, Category, IsSearchable, Extension, Published, IsDynamic, ParentID, ParentPath, Text, Filename, Path, CreationDate, ModDate, Owners, OwnersReadOnly, CreatorID, ModifierID, RestrictOwners.
Allowed values:
- true
- false
formname
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the name of the form with which the webEdition object or document is edited.
Syntax
<we:ifVarNotEmpty match="attribute" [doc="self|top|document|object"] [type="request|global|session|sessionfield|href|multiobject"] [property="true|false"] [formname="attribute"]> ... </we:ifVarNotEmpty>