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.
Summary: | false error for struts2 OGNL | ||
---|---|---|---|
Product: | javaee | Reporter: | gaxzero <gaxzero> |
Component: | JSP | Assignee: | issues@javaee <issues> |
Status: | NEW --- | ||
Severity: | normal | CC: | 372046933, nitin.cool4urchat, pjiricka |
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
gaxzero
2011-03-04 15:53:17 UTC
Same as id=201944 It is complaining about the ":" *** Bug 201944 has been marked as a duplicate of this bug. *** *** Bug 225508 has been marked as a duplicate of this bug. *** Sorry that's mistake, this should be definitely improvement because it speaks about support for the OGNL expression language which is not supported now. Until this is fixed, I found a simple workaround to avoid the bogus error in the netbeans editor: Put a space between # and { <s:select list="# {'' :'-','Mr.': 'Mr.','Mrs.': 'Mrs.','Ms.': 'Ms.','Dr.': 'Dr.'}" OGNL seems to accept this without problems, and the netbeans editor error disappears. (This is in 7.4) |