Versions Compared

Key

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

Update formatting
Warning

The cookbook currently contains a lot of information that may be out of date. These pages will be updated over time and this warning will eventually be removed when the WebWork team feels that the content is 100% correct.

 

Webwork Cookbook

Welcome to the Webwork Cookbook. This page is geared towards providing an exchange of information for developers. Your You're welcome to share knowledge and any helpful tips here. Don't forget to check out the Jira (http://jira.opensymphony.com/browse/WW), which contains several contributions for WW which may not be issue tracker, which may contain contributions not listed here.

Setup

Deployment notes
Application Servers
Setting up Eclipse with Tomcat
Using Maven to Setup an Eclipse Project for Your Application

Interceptors

Interceptor Order
File Upload Interceptor
Handling File Uploads Transparent web-app I18N

...

Result Examples

Redirect After Post Technique
GroovyResult
JFreeChartResult
GroovyResult
RomeResult

Validation

How to validate field formats, such as a phone number

Ajax

Varia

Servlet Contexts

Value Stack Internals
Using WebWork Components
OGNL
Accessing application, session, request objects
Application, Session, Request objects in jsp
Application, Session, Request objects in vm

Tags

Value Stack Internals
OGNL
Using WebWork Components
Describing a bean in velocity
How do I populate a form bean and get the value using the taglib
Tabular inputs with XWorkList
Webwork 2 HTML form buttons Howto
Using Checkboxes
Iterator tag examples
How to format dates and numbers
Iterator tag examples
Tabular inputs with XWorkList Webwork 2 skinning

JSTL

Exposing webwork objects to JSTL, with a JSTL and DisplayTag Example
Webwork 2 HTML form buttons Howto
Using Checkboxes
Using WebWork and XWork with JSP 2.0 and JSTL 1.1
Describing a bean in velocity
How do I populate a form bean and get the value using the taglib
Webwork 2 skinning