Wählen Sie Ihre Sprache:

<we:returnPage>

Since version: 2.2.0.0 | Requires endtag: no

Description

This tag generates the URL of source page if the attribute "return" from <we:a edit="document"> or from <we:a edit="object"> was set to "true".

Specific

This tag only works in a dynamic webEdition document.

Attributes

xml

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

Setting this attribute to "true" generates code conforming to the XHTML standard. Leaving it unset or setting it to "false" generates HTML code.

Allowed values:

  • true
  • false

cachelifetime

Default value: 0 | since version: 4.2.0.0 | required: no

With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.


Syntax

<we:returnPage [xml="true|false"] [cachelifetime="attribute"] />

Examples

Example 1

<script language="JavaScript" type="text/JavaScript">
  <!--
    <we:ifReturnPage>
      document.location.href="<we:returnPage/>";
    <we:else/>
      document.location.href="/index.php";
    </we:ifReturnPage>
  //-->
</script>