Hi Peter,
You forgot to close the bean tag :
bean:define id=condition name=bestellijnbean
property=compname
type=java.lang.String/
Regards,
Dimitar
-Original Message-
From: Peter Cnops [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 9:27 AM
To: [EMAIL PROTECTED]
Subject: 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:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]