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 Jira (http://jira.opensymphony.com/browse/WWImage Removed), which contains several contributions for WW which may not be issue tracker, which may contain contributions not listed here.

Setup

Deployment notes
App Servers

...

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

Interceptors

Building Your Own Interceptor
Interceptor Order
File Upload Interceptor
Webwork file upload handling
Transparent web-app I18N

Result examples

Handling File Uploads
HibernateAndSpringEnabledExecuteAndWaitInterceptor

Result Examples

Redirect After Post
GroovyResult
JFreeChart PluginJFreeChartResult
GroovyResult
RomeResult

Validation

How to validate field formats, such as a phone number

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
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
Iterator tag examples Skinning
Multiple Submit Buttons
Tabular inputs with XWorkListHashMap

JSTL

Exposing webwork framework objects to JSTL, with a JSTL and DisplayTag Example
Webwork 2 HTML form buttons Howto
Using Checkboxes
Using WebWork Using Struts 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

Resources

Next: Home