Class WicketMessageTagHandler.AttributeLocalizer
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.markup.parser.filter.WicketMessageTagHandler.AttributeLocalizer
-
- All Implemented Interfaces:
Serializable
,IComponentAwareEventSink
,IComponentAwareHeaderContributor
,IClusterable
- Enclosing class:
- WicketMessageTagHandler
public static class WicketMessageTagHandler.AttributeLocalizer extends Behavior
Attribute localizing behavior. See the javadoc ofWicketMessageTagHandler
for details.- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeLocalizer(String wicketMessageAttrName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComponentTag(Component component, ComponentTag tag)
Called any time a component that has this behavior registered is rendering the component tag.-
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag, renderHead, unbind
-
-
-
-
Constructor Detail
-
AttributeLocalizer
public AttributeLocalizer(String wicketMessageAttrName)
-
-
Method Detail
-
onComponentTag
public void onComponentTag(Component component, ComponentTag tag)
Description copied from class:Behavior
Called any time a component that has this behavior registered is rendering the component tag.- Overrides:
onComponentTag
in classBehavior
- Parameters:
component
- the component that renders this tag currentlytag
- the tag that is rendered
-
-