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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

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

  




 

 

Eclipse JET Guide
Previous Page Home Next Page

<c:with>

Standard JET2 Control Tags

with

Evaluate the tag body with the XPath context set to the result of the'select' XPath expression. The XPath context is restored to its previous value once the tag handler completes.

If the XPath expression selects multiple objects, the first object is used.

If the XPath expression selects no objects, then the body content block is not executed.

Optionally, an XPath variable may be set by providing a 'var' attribute. The variable is restored to its previous value or removed if not previously set once the tag handler completes.


Tag Summary
required <c:with select="value">
    content to process if tag condition is satisfied
</c:with>
full tag <c:with select="value" var="value">
    content to process if tag condition is satisfied
</c:with>

Required Attributes
select
An XPath expression that is evaluated to a single object.

Optional Attributes
var
An optional XPath variable name that will contain the result of the XPath expression.

Example
<c:with select="value">
    content to be written
</c:with>


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