OpenCmsVarLink

From OpenCms Wiki
(Difference between revisions)
Jump to: navigation, search
m
(Added "See Also" section and added link to XMLContent page)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
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.
 
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 22: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