Click or drag to resize
URL

The URL tag is used to define an AJAX URL to be called by a control.

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

path

The file to be called. It can be relative, absolute (starting with a /), or from another website (starting with http:// or https://).

function

if this attribute is defined, it must be the name of a javascript function whose role is to create the query string.

any name different from path and function

the attribute's name will be used as a query string key, and the value as its value

Child elements

Element

Description

acs:URLParameter

A parameter to add to the query string

Parent elements

Element

Description

acs:AutoComplete

an autocompletion control

Examples

This will create a text editor with the "Content" label, a media creation popup link, starting at the first son of the media tree root.

<acs:AppletEditor id="content" init="{DOCUMENT/CONTENT}" label="Content" medias="true" media-tree-root="000000000"/>