T
- public class MarkErrorFieldBehavior<T>
extends org.apache.wicket.behavior.AbstractBehavior
this#getErrorMarkup()
getErrorTextMarkup()
Constructor and Description |
---|
MarkErrorFieldBehavior() |
Modifier and Type | Method and Description |
---|---|
protected String |
getErrorTextMarkup()
Provide HTML markup to mark some text next to the error field
Example: <class='field-error-text'> *</span> |
void |
onComponentTag(org.apache.wicket.Component component,
org.apache.wicket.markup.ComponentTag tag) |
void |
onRendered(org.apache.wicket.Component component) |
public void onRendered(org.apache.wicket.Component component)
onRendered
in class org.apache.wicket.behavior.AbstractBehavior
public void onComponentTag(org.apache.wicket.Component component, org.apache.wicket.markup.ComponentTag tag)
onComponentTag
in interface org.apache.wicket.behavior.IBehavior
onComponentTag
in class org.apache.wicket.behavior.AbstractBehavior
protected String getErrorTextMarkup()
Copyright © 2018. All rights reserved.