public class SizeTagModifier extends Object implements ITagModifier<javax.validation.constraints.Size>
maxlength
attribute to the input
tag with the max
value from the Size
constraint annotation.Constructor and Description |
---|
SizeTagModifier() |
Modifier and Type | Method and Description |
---|---|
void |
modify(FormComponent<?> component,
ComponentTag tag,
javax.validation.constraints.Size annotation)
Modify the tag
|
public void modify(FormComponent<?> component, ComponentTag tag, javax.validation.constraints.Size annotation)
ITagModifier
modify
in interface ITagModifier<javax.validation.constraints.Size>
component
- component the tag belongs totag
- markup tag to be modifiedannotation
- constraint annotationCopyright © 2006–2021 Apache Software Foundation. All rights reserved.