This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag libs.... Please help  RSS feed

Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using if tags inside for tag, like this<do:forLoop var="i" from="0" to="<%=v.size()-1%>" step="1">
<br>Element: <%=v.elementAt(i.intValue())%>
<do:forLoop var="j" from="0" to="<%=v1.size()-1%>" step="1">
<if:IfTrue cond="<%= i==j %>" >
<br>Second Element: <%=v1.elementAt(j.intValue())%>
here v and v1 are vectors
my aim of if tag is checking when (i==j)
But it is not doing it
Can anyone help me
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!