Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 265648

Summary: JSP validation fail when using struts logic:iterate and indexId attribute
Product: [Eclipse Project] Platform Reporter: Clément <clement.jamot>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
my screen when errors occur none

Description Clément CLA 2009-02-20 09:47:34 EST
Created attachment 126296 [details]
my screen when errors occur

Build ID: M20080911-1700

Steps To Reproduce:
This following code fails on JSP validation :

<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<html>
<body>

	<logic:iterate name="dynaFormulaire" property="listeMultiple" id="choix" indexId="index">
		<tr>
			<td>liste multiple[<bean:write name="index" />]</td>
			<td><bean:write name="choix" /></td>
			<%="whatever javacode you enter"%>
		</tr>
	</logic:iterate>

</body>
</html>

Error message :

Multiple annotations found at this line:
        - Syntax error on token "}", delete this token
        - Syntax error on token "catch", Identifier expected
        - Syntax error, insert "Finally" to complete TryStatement
Comment 1 Nitin Dahyabhai CLA 2009-02-20 13:32:52 EST

*** This bug has been marked as a duplicate of bug 249799 ***