org.wicketstuff.yav
Class YavFormComponentVisitor

java.lang.Object
  extended by org.wicketstuff.yav.YavFormComponentVisitor
All Implemented Interfaces:
org.apache.wicket.markup.html.form.FormComponent.IVisitor

public class YavFormComponentVisitor
extends Object
implements org.apache.wicket.markup.html.form.FormComponent.IVisitor

Visitor used to check all the existing validators , and the type of the form components to add the Yav Rules.

Author:
Zenika

Constructor Summary
YavFormComponentVisitor(org.apache.wicket.util.string.AppendingStringBuffer buffer, org.apache.wicket.markup.html.form.Form parentForm)
          Constructor passing on the buffer to write out the script content about the Yav rules from the browsing of the several Wicket Validators
 
Method Summary
 Object formComponent(org.apache.wicket.markup.html.form.IFormVisitorParticipant formComponent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YavFormComponentVisitor

public YavFormComponentVisitor(org.apache.wicket.util.string.AppendingStringBuffer buffer,
                               org.apache.wicket.markup.html.form.Form parentForm)
Constructor passing on the buffer to write out the script content about the Yav rules from the browsing of the several Wicket Validators

Parameters:
buffer -
Method Detail

formComponent

public Object formComponent(org.apache.wicket.markup.html.form.IFormVisitorParticipant formComponent)
Specified by:
formComponent in interface org.apache.wicket.markup.html.form.FormComponent.IVisitor


Copyright © 2009-2012 Wicket Stuff. All Rights Reserved.