Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Seed.Execute

This method is invoked as a result of the CALLJAVA or a custom tag.

Syntax

Parameters

vIn
Input parameter. List of name/value pairs that appear as ARGUMENT tags in the CALLJAVA tag, or as attributes set in the custom tag.

vOut
Output parameter. List of name/value pairs that will appear as variables in the XML element upon return from the CALLJAVA tag. This is ignored when the method is called via a custom tag.

Description

When an XML element calls the CALLJAVA tag or calls a custom tag, Content Server invokes the Seed.Execute method. The way this method behaves depends on whether it was triggered by CALLJAVA or by a custom tag.

Invoking the Seed Interface with CALLJAVA

When the Seed interface is invoked directly with CALLJAVA:

Invoking the Seed Interface with a Custom Tag

When the Seed interface is invoked with a custom tag:

Returns

A string that will be inserted into the output stream at the position of the CALLJAVA tag. Null or empty strings are valid. If invoked via a custom tag, this string will be appended to any other output that may be streamed back by calls to Content Server servlets, for example, by StreamEvalBytes ().

Example

The following example illustrates the use of Seed called from a custom tag:

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.