Summary: | position() and last() are critical | ||
---|---|---|---|
Product: | Taglibs | Reporter: | James Lewis <jlewis36> |
Component: | Standard Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | asgeir, ltchean, Nils_Kilden-Pedersen |
Priority: | P3 | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | All |
Description
James Lewis
2002-11-12 04:51:38 UTC
This isn't a bug in the implementation; I believe it requires additional support from the JSTL specification before being implemented. In particular, the following definitions would need to be added: I believe it would involve adding definitions to the spec along the following lines: Inside the body of the <x:forEach> tag, the context for XPath expression evaluations is obtained as follows: * variable, function, and namespace bindings operate as in the rest of JSTL * the context node is the node whose representation would be exposed by 'var' (whether or not the 'var' attribute is specified) * the context position is the iteration 'count' (with the same meaning as in <c:forEach>) * the context size is equal to the number of nodes in the node-set over which <x:forEach> is presently iterating. We're also considering adding varStatus, which would provide an alternative mechanism for achieving the same result. Just because I'm marking this "INVALID" here doesn't mean it's not important; I'm just noting that it's not an implementation issue. (This bug-tracking system is just for implementation issues.) *** Bug 14687 has been marked as a duplicate of this bug. *** *** Bug 15483 has been marked as a duplicate of this bug. *** |