You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2004/05/26 14:46:02 UTC
DO NOT REPLY [Bug 29225] New: -
last() and position() inside xtag forEach
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29225>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29225
last() and position() inside xtag forEach
Summary: last() and position() inside xtag forEach
Product: Taglibs
Version: 1.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: XTags Taglib
AssignedTo: taglibs-dev@jakarta.apache.org
ReportedBy: f.sabbatini@reply.it
I'm using jasp tag <xtags:forEach> to print a list of elements like in xsl-xml
transformation, and i would obtain something like this:
element1, element2, element3, ... elementN (without ,)
I tried to use <xtags:valueOf select="last()"/> and <xtags:valueOf
select="position()"/> to check if i am on the last element of the loop, but
doesn't work.
Both <xtags:valueOf select="last()"/> and <xtags:valueOf select="position()"/>
return always 0.
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org