History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WAFFLE-36
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mauro Talevi
Reporter: Gleb Mazursky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Waffle

http://waffle.codehaus.org/binding-validation.html contains wrong examples/class names

Created: 23/Nov/07 04:47 AM   Updated: 23/Nov/07 07:11 AM
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 1.0-rc-1

Time Tracking:
Not Specified


 Description  « Hide
http://waffle.codehaus.org/binding-validation.html ::
// This ActionMethod handles its own validation
public void addToCart(long itemId, int quantity, Errors errors) ...

first, there's no class Errors (ErrorsContext instead)
second, waffle can't find action method if I add ErrorContext parameter.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mauro Talevi - 23/Nov/07 06:43 AM
Updated references of ErrorsContext and split pages:

http://waffle.codehaus.org/binding.html
http://waffle.codehaus.org/validation.html


Mauro Talevi - 23/Nov/07 07:11 AM
Check out waffle-simple-example/automobile.waffle for use of validator.