org.wicketstuff.validation.client
Class ClientAndServerValidatingFeedbackBehavior
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.wicketstuff.validation.client.ClientAndServerValidatingFeedbackBehavior
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IComponentConfigurationBehavior, org.apache.wicket.IClusterable, org.apache.wicket.markup.html.IHeaderContributor
public class ClientAndServerValidatingFeedbackBehavior
- extends org.apache.wicket.behavior.AbstractBehavior
By adding this behavior to a feedback panel or other WebMarkupContainer, the client and server
validating engine will render the errors as if they were inserted into a feedback panel
rather than just using the default behavior, which is to use an alert message to notify the
user of the errors.
- Author:
- Jeremy Thomerson
- See Also:
- Serialized Form
| Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, beforeRender, cleanup, detach, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onException, onRendered, rendered |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientAndServerValidatingFeedbackBehavior
public ClientAndServerValidatingFeedbackBehavior(org.apache.wicket.markup.html.form.Form<?> form)
bind
public void bind(org.apache.wicket.Component component)
- Specified by:
bind in interface org.apache.wicket.behavior.IBehavior- Overrides:
bind in class org.apache.wicket.behavior.AbstractBehavior
checkComponentIsWebMarkupContainer
protected final void checkComponentIsWebMarkupContainer(org.apache.wicket.Component component)
renderHead
public void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
- Specified by:
renderHead in interface org.apache.wicket.markup.html.IHeaderContributor- Overrides:
renderHead in class org.apache.wicket.behavior.AbstractBehavior
Copyright © 2011. All Rights Reserved.