jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject [unstandard] jstl extension
Date Thu, 06 Feb 2003 07:58:50 GMT

Thought I'd push out the list I'm compiling of additions to the JSTL
standard in a vague library I'm calling 'unstandard' at the moment.

<un:catch type="java.sql.SQLException"/>
<un:instanceOf type="java.lang.Integer"/>   [IfSupport I assume]
<un:collection type="java.util.ArrayList">
  <un:element value="${someVar}"/>
<un:map var="foo" type="java.util.HashMap">
  <un:pair key="Bob" value="${someOtherVar}"/>
<un:map+ var="foo">
  <un:pair key="Alice" value="2282828"/>
<un:map- var="foo">
  <un:pair key="Alice"/>
  <un:pair value="92"/>
  <un:pair key="Bob" value="9191"/>

[Also, map+ and map- for collection. I assume map+ is illegal, my wrists
are acting up. These are an estimate of the tags that Martin Cooper

<un:invoke method="foo">
  <un:arg value="${el.string}"/>

[With optional var="el.string2"]

<un:invoke attribute="Person.URL"/>

[With optional var. In fact, all should have 'var' if possible]

<un:equalsIgnoreCase var="foo" lhs="${bob}" rhs="${alice}"/>
[although as this is string only, it may end up in the string taglib]


That's all I can think of so far. Anyone got any others?


To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org

View raw message