org.apache.wicket.bean.validation
Class SizeTagModifier
java.lang.Object
org.apache.wicket.bean.validation.SizeTagModifier
- All Implemented Interfaces:
- ITagModifier<javax.validation.constraints.Size>
public class SizeTagModifier
- extends Object
- implements ITagModifier<javax.validation.constraints.Size>
A tag modifier that adds the maxlength attribute to the input tag with the max
value from the Size constraint annotation.
- Author:
- igor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SizeTagModifier
public SizeTagModifier()
modify
public void modify(FormComponent<?> component,
ComponentTag tag,
javax.validation.constraints.Size annotation)
- Description copied from interface:
ITagModifier
- Modify the tag
- Specified by:
modify in interface ITagModifier<javax.validation.constraints.Size>
- Parameters:
component - component the tag belongs totag - markup tag to be modifiedannotation - constraint annotation
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.