You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Peter Cnops <pe...@mediatower.be> on 2002/04/05 17:26:58 UTC

conditional iterate (2)

Hi,

This is a better representation of the problem that I have posted yesterday.
This code does not work; I get the error:
"org.apache.jasper.compiler.ParseException: End of content reached while
more parsing required: tag nesting error?" What is wrong?

<!-- initializing string -->
<% String condition = ""; %>
<logic:iterate id="element" name="orderlinebean" type="com.test.Orderline">
<!-- comparing string with value in orderline -->
<logic:notEqual name="element" property="compname" value="<%= condition %>">
  <tr>
     <td width="23%">&nbsp;</td>
     <td width="18%"><bean:write name="element" property="compname"/></td>
     <td width="59%"><bean:write name="element" property="number"/></td>
  </tr>
</logic:notEqual>
<!-- update string with value of next orderline -->
<bean:define id="condition" name="bestellijnbean" property="compname"
type="java.lang.String">
</logic:iterate>


Peter Cnops
Project Management - MediaTower
Digital Photography - PrePress - Digital Printing - Internet Services
Veldkant 29, B-2550 Kontich
Tel. 03 450 81 00 - Fax 03 450 81 09
http://www.mediatower.be



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>