Versions Compared

Key

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

...

Note
titleUnder construction

Tryout - if this is a bad idea, feel free to tell me so. It would be great if we could have some sort of notifier in the forum to inform us when an interesting post arrives.

Migration to 2.2

Note about upgrading your WW tags to 2.2

...

removing velocity macro implementations - they are so old and out of date now it will cause more harm than good keeping them around

Best practices

Should I make an action or rather link to a .jsp page ?

...

If you put an action configuration in your xwork.xml but don't put an action
class attribute, it will default to using the ActionSupport class, which
just returns SUCCESS.

Migration to Spring IoC

How can we migrate ServletRequestAware, ServletResponseAware and ValidationAware to Spring bean definitions?

...

I tink just the normal way would work. The action will now be created by spring, and if the ServletConfigInterceptor is in the stack and the action implementation implement those interface, webwork should set the appropriate methods.

Freemarker, Velocity, JSP

How to catch Freemarker exceptions (the ugly big yellow pages)

...

if the url with &amp is used in the value attribute it will not work properly unless the escapeXml is set to false.

Validation

How to disable validation on the first page load (to show a in input form)?

...