Wählen Sie Ihre Sprache:

<we:field type="select">

Since version: - | Requires endtag: no

Description

This tag is used to output a "select" object field. This tag may only be used within a <we:listview type="object"> section.

Specific

Inside <we:linklist> this tag cannot have attributes.

Attributes

type

Default value: - | since version: - | required: yes

Allowed values:

  • select (required module: DB/Object Modul)

name

Default value: - | since version: - | required: yes

Set this attribute to the name of the target field to be put out.

Allowed values:

  • WE_PATH
  • WE_ID
  • wedoc_CreationDate
  • wedoc_ModDate
  • wedoc_ParentID
  • wedoc_Text

htmlspecialchars

Default value: false | since version: - | required: no

Using htmlspecialchars="true" will change all special chars into HTML entities ("&" is transformed to "&"). If htmspecialchars is "false" or not set, all special chars remain unchanged.

Allowed values:

  • true
  • false

Syntax

<we:field type="select" name="WE_PATH|WE_ID|wedoc_CreationDate|wedoc_ModDate|wedoc_ParentID|wedoc_Text" [htmlspecialchars="true|false"] />

Examples

Output content

<we:listview type="object" classid="1">
  <we:repeat>
    <we:field type="select" name="carbrand"/><br>
  </we:repeat>
</we:listview>

Output key

<we:listview type="object" [..]>
 <we:repeat>
  <!-- Show key -->
  <we:field type="text" name="vendor" />
 </we.repeat>
</we:listview>