article:renderField

This tag makes it possible for template developers to access inline objects and specify style according to their types. The body of the tag will be executed once for each inline object in a particular field. The mime-type of the field must be 'application/xhtml+xml'. The inline object will be made available as an attribute in either page, request, session or application scope, as specified by the template developer. The default is page scope. The type of the attribute will be neo.xredsys.presentation.PresentationElement

Syntax
<article:renderField
   article="..."?
   articleId="..."?
   field="..."?
   fieldValue="..."?
   name="..."?
   output="..."?
   property="..."?
   source="..."?
   sourceId="..."?
   toScope="..."?
   var="..."
   varBody="..."?>
   ...
</article:renderField>
Attributes
article

The article to be set as current article in the body of this tag. The supplied bean must either be a neo.xredsys.api.Article or a neo.xredsys.presentation.PresentationArticle bean.

Using this attribute excludes the use of the attributes articleId, name/property and source/sourceId.

articleId

An article id identifying the article to be set as current article in the body of this tag. The value supplied can be an int, Integer or String.

Using articleId excludes the use of the attributes article, name/property and source/sourceId.

If both article and articleId attributes are used together, then articleId takes precedence.

name

The name (key) of a bean that is to be used to locate an article that will be used as current article in the body of this tag.

There are two ways of using this bean:

Using this attribute excludes the use of the attributes article, articleId and source/sourceId.

property

The name of a bean property. This attribute is used together with the name attribute to locate an article that will be used as current article in the body of this tag. If name is specified but this attribute is not specified, then the bean identified by the name attribute will be used as current article.

This attribute cannot be used without the name attribute.

source

The source of an article to be used as current article in the body of this tag. This attribute must be used together with sourceId.

Using this attribute excludes the use of the attributes article, articleId and name/property.

sourceId

The source ID of an article to be used as current article in the body of this tag. This attribute must be used together with source.

Using this attribute excludes the use of the attributes article, articleId and name/property.

var, mandatory, no runtime expressions

The name of the attribute in which an inline item will be stored

varBody, no runtime expressions

The name of the attribute in which the body text of the inline item will be stored, if any.

field

The name of the article field. Either field or fieldValue is required.

fieldValue

The value of the article field. Either field or fieldValue is required.

toScope, no runtime expressions

The scope in which an inline item will be stored as an attribute

output

The value html or xml.

The value html causes the output of the markup in the field to be rendered as HTML compliant markup. For example, <br> tags will not be closed. The value xml causes the output to be rendered as XML. <br> tags will in this case be rendered with a closing tag: <br />.

The value html is the default.