PathParam Interface Reference

List of all members.

Package Functions

String value ()


Detailed Description

Like JSR-311, allows you to annotate an action method parameter to specify that its value should be loaded from the route paths.

 public WOActionResults testAction(("person") Person personParam) {
     ...
 }
 

This will automatically pass the value of the "person" route object (/person/{person:Person}/test) into your action method as the "personParam" parameter.

Author:
mschrag

Member Function Documentation

String value (  )  [package]


The documentation for this interface was generated from the following file:

Generated on Sat May 26 06:43:33 2012 for Project Wonder by  doxygen 1.5.8