Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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 issue tracker, which may contain contributions not listed here.Deployment notes

Setup

Application Servers
Using Maven to Setup an Eclipse Project for Your Application

Interceptors

Building Your Own Interceptor
Interceptor Order
File Upload Interceptor
Handling File Uploads
HibernateAndSpringEnabledExecuteAndWaitInterceptor

Result Examples

Redirect After Post
GroovyResult
JFreeChart Plugin
RomeResult

Validation

How to validate field formats, such as a phone number

Servlet Contexts

App Servers
Accessing application, session, request objects
How to format dates and numbers
Iterator tag examples
Exposing webwork objects to JSTL, with a JSTL and DisplayTag Example Application, Session, Request objects in jsp
Application, Session, Request objects in vm

Tags

Value Stack Internals
Using WebWork Components
Webwork file upload handling OGNL
Describing a bean in velocity
How do I populate a form bean and get the value using the taglib
Tabular inputs
HTML form buttons HOWTO
Using Checkboxes
Iterator tag examples
How to format dates and numbers
Skinning
Multiple Submit Buttons
Tabular inputs with HashMap

JSTL

Exposing framework objects to JSTL, with a JSTL and DisplayTag Example
Using Struts
Interceptor Order
Tabular inputs with XWorkList
Using WebWork and XWork with JSP 2.0 and JSTL 1.1 Webwork 2 skinning
Transparent web-app I18N
Webwork 2 HTML form buttons Howto
Using Checkboxes
JFreeChartResult
Webwork reference to OGNL access
Application, Session, Request objects in jsp
Application, Session, Request objects in vm
Describing a bean in velocity
File Upload Interceptor
GroovyResult
How to validate field formats, such as a phone number

Resources

Next: Home