This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Following a legal line when developing a webapp using Struts2. <s:select name="dept" list="#{'it':'Info Tech','cs':'Comp Sci'}" label="Department" multiple="true" cssStyle="padding:5px"/> Netbeans 6.9.1 shows no error on the above line. But Netbeans>7 shows an error on the use of # saying that "Encountered :" as an intellisense error. Please fix it at your earliest because it won't allow running of already created webapps using Netbeans 6.9 in Netbeans 7 or higher.
Does it really prevent *running* the application? What happens when you run the project?
I get a RED mark on that JSP page which is propagated all way back to the project name. It doesn't really prevent from running the web-app. Everything is working fine. Just the red mark makes you and other project members feel that something is incorrect. So I would really be glad if we don't get the red mark on the page saying "Error Parsing File".
Ok, thanks for clarification. P2 is a more appropriate priority.
Sorry, but in fact this isn't a defect. According to your first comment, you are using Object-Graph Navigation Language instead of traditional JSP EL. You are right that constructs like "#{'it':'Info Tech','cs':'Comp Sci'}" are allowed in OGNL but we don't support Struts2 as well as OGNL. I'm switching this issue to enhancement for future releases.