org.wicketstuff.validation.client
Class ClientAndServerValidatingFeedbackBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.wicketstuff.validation.client.ClientAndServerValidatingFeedbackBehavior
- All Implemented Interfaces:
- Serializable, IClusterable
public class ClientAndServerValidatingFeedbackBehavior
- extends Behavior
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.Behavior |
afterRender, beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onException, unbind |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientAndServerValidatingFeedbackBehavior
public ClientAndServerValidatingFeedbackBehavior(Form<?> form)
bind
public void bind(Component component)
- Overrides:
bind in class Behavior
checkComponentIsWebMarkupContainer
protected final void checkComponentIsWebMarkupContainer(Component component)
renderHead
public void renderHead(Component c,
IHeaderResponse response)
- Overrides:
renderHead in class Behavior
Copyright © 2011. All Rights Reserved.