Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse JET Guide
Previous Page Home Next Page


Standard JET2 Control Tags


Define a one of the mutually exclusive cases of a 'choose' tag. The body of this tag is processed only if the 'test' XPath expression evaluates to 'true', and no previous 'when' or 'otherwise' tag in the containing 'choose' tag has processed its body content.

If the 'test' XPath expression is does not result in a boolean value, then it is converted to a boolean value according the the XPath 1.0 specification. In particular, if the XPath expression results in a set of objects, then 'test' is considered to be true if and only if the set is not empty.

If the 'test' XPath expression is not well formed, then an error results.

If this tag is not directly contained by a 'choose' tag, then an error results.

Tag Summary
required <c:when test="value">
    content to process if tag condition is satisfied
full tag <c:when test="value">
    content to process if tag condition is satisfied

Required Attributes
An expression expression, that, if true, causes the tag contents to be evaluated.

<c:when test="$myVar/@kind = 'FIELD'">
    content to process if test condition is satisfied
... other <c:when> and <c:otherwise> tags ...

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire