Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment:

alter doAlias description under "remove and deprecated" cuase doAlias actualy menas doActionMethod

...

action!alias

The "action!alias" syntax is deprecated. The idiom is disabled by default, but it can be enabled via the struts.compatibilityMode.WebWork property setting. This setting will be removed in a future release.

AroundInterceptor

The AroundInterceptor has been removed. If your application extends the AroundInterceptor, either import the class into your source code form WebWork 2 (pursuant to the Open Symphony License) and modify it to server as your own base class, or rewrite your interceptor.

oldSyntax

Support for the "oldSyntax" is removed .

Rich text editor tag

Rich text editor tag has been removed (a possible replacement would be to use the textarea tag with theme="ajax", this will used dojo's rich text editor)

Code Block
 <s:textarea theme="ajax" /> 

doAlias doActionMethod

The convention of trying a "do" form of an alias action method is not supported.

Code Block

  <action name="..." method="submit">
    ...
  </action>
Code Block

In the old syntax,
  * try to execute submit() method in the action
  * try to execute doSubmit() method in the action if Step 1] fail
  * fail
In Struts2
  * try to execute submit() method in the action
  * fail

From Struts 1

...