tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurt Battisti <>
Subject XTAGS -XPath functions position() and last() always return 0
Date Fri, 02 May 2003 06:00:45 GMT

I'm using XTAGS in a web application (Win, Tomcat 4.1.24, JDK 1.4.1_01, 
jwsdp-1.1, xtag-20030501). This Taglib is great thing. I really enjoy 
using it.

My Problem:
The following (simplified) code don't work in my JSP. The functions 
position() and last() always return 0 regardless of how many entries 
exist. Is this a bug or just not implemented. I can't find anything in 
the documentation.

<xtags:forEach select="query">
	<xtags:forEach select="fields/field">
		<xtags:if test="position()!=last()">,</xtags:if>

I read some questions about that topic in this list but nothing was 
Maybe someone could give me a hint?

Regards, Kurt

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message