Skip to end of metadata
Go to start of metadata

(info) Looking for documentation and features?

To keep up to date read my blog Struts, IDEA and such or follow me on Twitter

IDEA 11.x scope

A list of new features/improvements planned for IDEA 11.x
Please submit new RFEs to issue tracker or vote/comment on existing Struts2 issues

OGNL support: please see dedicated page Struts 2 Plugin OGNL Support
Resolve Action-class properties (as done in Freemarker): JSP Form properties (tick) nested s:param (tick), struts.xml (tick), validation.xml (tick), ..
Support Struts 2.3.x (tick)
Convention plugin support (minus)
S2 taglib support for Freemarker/Velocity (as in JSP) (minus)
Extend I18N support: validation.xml (tick)
Struts2 jQuery Plugin: align with latest version (minus)

Nika 11.1.3 EAP 117.499 (12-05-31)

General

  • Project wizard: update to Struts 2.3.4

OGNL

  • Support static field access @classname@fieldname (parsing only) IDEA-81316

Nika 11.1.2 - 117.418 (12-05-17)

General

  • Project wizard: fix OGNL version to 3.0.4 (IDEA-85280)

Nika 11.1 Final 117.105 (12-03-28)

IDEA 11.1 has been released and is available here.

Nika 11.1 EAP 114.55 (12-02-08)

Blog post

General

  • Project wizard: update to Struts 2.3.1.2
  • Cleanup/improve Facet and Library setup

struts.xml

  • <param>: fix support when referencing properties of interceptors from interceptor-stack, e.g. "validation.excludeMethods" (IDEA-68134)
  • <incude>: fix bug when included file is located in different module (IDEA-80279)

JSP

  • <s:a>: add support for "action", "namespace" (IDEA-78825)
  • "action"-tags: add support for "method" (IDEA-67723)

validation.xml

  • Struts 2.3.1: add support for 1.0.3-DTD, add support for new DTD-ID/URIs pointing to struts.apache.org/dtds/... (fixes non-recognized default.xml from S2 distribution)

Convention plugin

  • @DefaultInterceptorRef

OGNL

  • "new ..." - expression support (WIP)

Nika Final 111.69 (11-12-06)

IDEA 11 has been released and is available here.

Nika Beta 110.492 EAP (11-11-22)

Blog post

General

  • Action properties: fix resolve highlighting for properties only having setter (IDEA-75136)

struts.xml

  • <exception-mapping>: fix resolving to global results from Action-local definition (IDEA-77229)

OGNL

  • Formatting: basic reformat (whitespaces) support (using Java settings)

Nika 110.365 (11-11-10)

struts.xml

  • <result> "type": fix/more strict resolving/navigation for certain cases

Java

  • Gutter navigation icons: always on the very left for not mixing up with "Overrides/Overridden" icons

JSP

  • Taglib: improve highlighting performance for JavaScript in tag attributes

OGNL

  • JSP(X): improve highlighting performance of OGNL expressions in tag attributes
  • JSP(X): support <s:iterator> "value"

Nika 110.291 (11-11-02)

Blog post

struts.xml

  • Spring integration: fix problem in certain multi-module project setups
  • (<default-)<interceptor-ref>: fix/more strict resolving/navigation for certain cases (IDEA-73160)

OGNL

  • Injection: handle multiple OGNL fragments in one attribute, e.g. href="order.action?catId=%{catId}&totalPrice=%{price + vat}"
  • Freemarker: inject OGNL language into S2 taglib attributes
  • Improved completion for keywords
  • Auto-complete closing "}" after typing "%{" and "{"

Nika 110.187 (11-10-21)

Blog post

General

  • Spellchecking: bundled dictionary with Struts 2 specific words/acronyms (enabled automatically)

struts.xml

  • Action class properties: now available in <result> (IDEA-68828)

OGNL

  • Spellchecking: inspect only relevant content (text, identifiers)

Nika 110.178 (11-10-20)

General

  • Various bugfixes

Nika 110.137 (11-10-17)

struts.xml

  • Improve highlighting performance when Spring Framework is used with struts2-spring-plugin
  • <action>, <result>: better/stricter support for wildcard mappings

Nika 110.3 (11-09-30)

JSP

  • Action class properties: not working when parent has no setter (IDEA-74967)
  • Form input tags: highlight duplicate "id" values (IDEA-74726)

Nika First EAP 108.1333 (11-09-20)

General

  • Fix handling of actions w/o "class" (using <default-class-ref>): navigation, highlighting, quickdoc, ..
  • Project wizard: update to Struts 2.2.3.1, remove support for 2.0.14
  • Project wizard: use 2.1.7 or 2.3-DTD if applicable
  • IDEA hangs caused by slow Struts icons IDEA-73002

struts.xml

  • Error highlighting performance improvements
  • Support 2.3-DTD
  • 2.3-DTD: resolve action-methods in <allowed-methods>
  • Structure View: improve performance, never show "plus" for elements which are always leafs

validation.xml

  • Structure View: improve performance, never show "plus" for elements which are always leafs
  • <field> "name": resolve/complete to corresponding Action-class property (IDEA-72012)
  • <message> "key": support for Properties-based I18N (can be disabled in S2 facet, tab "Features")

JAVA/Groovy

  • Action: "Go To Related File" navigates to result(s) (JSP/VM/FTL/.. - file) and <action>-declaration(s) in struts.xml
  • Action: "Go To Related File" navigates to corresponding validation.xml-file(s), also via class-level editor gutter icon (IDEA-73277)
  • Intention: "Create validation.xml" to create new ActionClassName-validation.xml (IDEA-73277)

JSP

  • Resolve Action properties in <s:param> and all form input tags nested in <s:url>, <s:action>, .. (IDEA-68985, IDEA-68910)
  • Editor highlighting performance improvements

OGNL

First drop of OGNL support, please see Struts 2 Plugin OGNL Support for details.

Known issues:

  • supported automatically for all Struts JSP tag attributes starting with "%{" or "{"
  • some expressions (e.g. all "@"-expressions, map creation, lambdas) are not parsed yet and will display bogus errors, please wait for later versions
  • can be injected manually if required (using "IntelliLang" plugin)

Use "Edit OGNL Frament" intention for better editing capatibilites.

  • No labels