Versions Compared

Key

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

more webwork2 changes

...

  • Struts 2 is dependant on XWork 2 (nightly build).
  • Java 1.5 is required to build the Struts 2 distribution from source, but Java 1.4 is targeted for the binary JARs.
  • 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)
  • Datepicker tag is now using dojo's (limited in terms functionality and internationalization)
  • foo!bar functionality is off by default (could be truned on by having struts.compatibilityMode=true in struts.properties)
  • prepare interceptor now uses reflection to call prepareXXX where XXX is the action method
  • doXXX fallback method call is being removed.
  • xwork.xml is replaced with struts.xml
  • DispatcherUtil is being renamed to Dispatcher
  • ConfigurationManager is no longer a static factory. It is now an instance created through Dispatcher
  • Configuration is no longer statically accesible, it is created by ConfigurationManager.
  • Custom configuration to ConfigurationManager and Configuration cannot be done statically anymore, instead use Dispatcher's DispatcherListener to achieve such effect.webwork.properties is replaced with struts.properties

Members to rename

WebWork 2

Struts 2

com.opensymphony.webwork.*

org.apache.struts2.*

xwork.xml

struts.xml

webwork.properties

struts.properties

...