...
Attribute | Description | Required | Expression* |
---|---|---|---|
andnotterms | Specifies a ( comma separated ) list of terms the returned media item doesn't have. | No | Yes |
andterms | Specifies a ( comma separated ) list of terms the returned media item must have. | No | Yes |
contenttypes | Specifies the content type of the media item (article, image, etc.). | No | Yes |
createdsince | Specifies the date after which the returned media items must have been created. | No | Yes |
excludemediaitemids | Specifies the returned media item IDs that need to be excluded. | No | Yes |
orterms | Specifies the term(s) that the returned media items must have at least one of. | No | Yes |
publicationdatefrom | Specifies the beginning of the date range in which the returned media item was published. | No | Yes |
publicationdateto | Specifies the end of the date range in which the returned media item was published. | No | Yes |
referenceddatabasentity | Specifies the database entity the returned media item is linked to. | No | Yes |
referencedresourceinstance | Specifies the resource instance the returned media item is linked to. | No | Yes |
resultrange | Specifies the number of returned media items to display. | No | Yes |
sortascending | Specifies whether to sort the returned media items in ascending order. | No | Yes |
sortoptions | Specifies how to sort the returned media items. The options are:
| No | Yes |
statusid | Specifies the media item’s workflow state. | No | Yes |
websiteid | Specifies the ID of the website from which the media items are retrieved. | No | Yes |
...
The example above assigns a ForumMessage
object to the variable message
. Some tags like <wm:render>
have an attribute object. The variable may be used in such tags.
Attribute | Description | Required | Expression* | |||||||
---|---|---|---|---|---|---|---|---|---|---|
hideError |
When set to | No | No | |||||||
objectId | Specifies the numerical ID of the object to retrieve. | Yes | Yes | |||||||
objectType | Specifies the Java class of the object to retrieve. The | Yes | Yes | |||||||
var | Specifies the JSP variable to store the result in. | Yes | No |
*The attribute can support EL (Expression Language) values.
...