Hi Wim,
> At
> http://jakarta.apache.org/taglibs/doc/standard-doc/standard-ea3/DB_Functiona
> lDescription_1_EA3.html
> I read the following is legal:
>
> <sql:query var="customers" dataSource="$dataSource">
> SELECT * FROM customers
> WHERE country = 'China'
> ORDER BY lastname
> </sql:query>
>
> <table>
> <jc:forEach var="row" items="$customers.rows">
> <tr>
> <td><jc:expr value="$row.lastName"/></td>
> <td><jc:expr value="$row.firstName"/></td>
> <td><jc:expr value="$row.address"/></td>
> </tr>
> </jc:forEach>
> </table>
It is legal as long as the expression language you use
supports the following mapping (as shown in section
4.1 use case 1 of the SQl actions functional description):
$a.prop -> a.get("prop")
Currently we do not have any experimental Expression Language
that supports the above mapping.
As you mention, the EcmaScript EL allows you to do
a.get("prop").
The issue of an Expression Language is currently being
discussed within the JSR-152 (JSP1.3) expert group with strong
input from key members of the JSR-052 Expert Group (JSTL).
The current release of JSTL allows for experimentation with various
ELs to help us define what's really important in an EL.
Apologies if the documentation was not clear... this is still
work in progress ;-)
-- Pierre
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>