• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tag libs.... Please help

 
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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())%>
</if:IfTrue>
</do:forLoop>
</do:forLoop>
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
Thanks
 
Would you like to try a free sample? Today we are featuring tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic