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.

Bug 225508 - struts2 code tags giving errors
Summary: struts2 code tags giving errors
Status: RESOLVED DUPLICATE of bug 196311
Alias: None
Product: javaee
Classification: Unclassified
Component: Struts (show other bugs)
Version: 7.3.1
Hardware: All All
: P1 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 06:49 UTC by nitin.cool4urchat
Modified: 2013-01-31 08:47 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screenshot of netbeans 7.3RC1 with netbeans tag using "hash" (59.55 KB, image/png)
2013-01-30 06:49 UTC, nitin.cool4urchat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nitin.cool4urchat 2013-01-30 06:49:04 UTC
Created attachment 130812 [details]
screenshot of netbeans 7.3RC1 with netbeans tag using "hash"

<s:set name="lstAjaxAttribs" value="#{'search':'search','varbb':'varbb','totalpages}"/>


Above tag renders fine in netbeans 6.9 but in 7.3 RC1 it shows up an error. Struts2 need to use "hash".

I've given this high priority because no struts project can be opened in netbeans.

Please resolve asap.
Comment 1 Martin Fousek 2013-01-31 08:44:53 UTC
Sorry but you are complaining about issue by using "OGNL Expression Language" which is used by Struts2 but isn't supported by NetBeans IDE at all. NetBeans officially never supported Struts2 so issues you are facing should be reported against 3rd party plugins you installed for the Struts2 support. I'm marking this as duplicate of the issue #196311 - RFE to support OGNL in NetBeans.

*** This bug has been marked as a duplicate of bug 196311 ***
Comment 2 Martin Fousek 2013-01-31 08:47:18 UTC
BTW, the most used struts2 support is available here:
http://plugins.netbeans.org/plugin/39218/struts2-support-repack-for-nb-7-0-xwork

So if it's the plugin you are using, please report the issue here to the author:
http://sourceforge.net/p/struts2nbplugin/tickets/