OpenCmsVarLink

From OpenCms Wiki
(Difference between revisions)
Jump to: navigation, search
(Added "See Also" section and added link to XMLContent page)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
OpenCmsVarLink is a relative path to a resource on the OpenCms system (e.g. <code>/en/myfolder/myfile.html</code> or just <code>myfile.html</code>), or a complete URL (e.g. <code>http://www.web.com/myurl.html</code>).
+
OpenCmsVarLink is used to contain a relative path to a resource on the OpenCms system, like /en/myfolder/myfile.html or just myfile.html, or a complete URL like http://www.web.com/myurl.html.
  
An existence check will be performed for local resources, to avoid referencing non-existing local resources.
+
The default widget for OpenCmsVarLink is the [[VfsFileWidget]]. Existence checks are performed for local resources.
 +
 
 +
== Example usage ==
 +
<pre>
 +
<xsd:element name="NameHere" type="OpenCmsVarLink" />
 +
</pre>
 +
 
 +
==See also==
 +
*[[XMLContent]]

Latest revision as of 21:49, 31 July 2012

OpenCmsVarLink is used to contain a relative path to a resource on the OpenCms system, like /en/myfolder/myfile.html or just myfile.html, or a complete URL like http://www.web.com/myurl.html.

The default widget for OpenCmsVarLink is the VfsFileWidget. Existence checks are performed for local resources.

Example usage

<xsd:element name="NameHere" type="OpenCmsVarLink" />

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox