Package org.apache.wicket.markup.html
Interface IComponentAwareHeaderContributor
-
- All Superinterfaces:
IClusterable
,Serializable
- All Known Implementing Classes:
AbstractAjaxBehavior
,AbstractAjaxTimerBehavior
,AbstractAutoCompleteBehavior
,AbstractDefaultAjaxBehavior
,AbstractFormValidator
,AbstractRangeValidator
,AbstractTransformerBehavior
,AjaxCallListener
,AjaxClientInfoBehavior
,AjaxDisableComponentListener
,AjaxDownloadBehavior
,AjaxEditableLabel.EditorAjaxBehavior
,AjaxEditableLabel.LabelAjaxBehavior
,AjaxEventBehavior
,AjaxFileDropBehavior
,AjaxFormChoiceComponentUpdatingBehavior
,AjaxFormComponentUpdatingBehavior
,AjaxFormSubmitBehavior
,AjaxFormValidatingBehavior
,AjaxIndicatorAppender
,AjaxNewWindowNotifyingBehavior
,AjaxOnDomReadyClientInfoBehavior
,AjaxPagingNavigationBehavior
,AjaxPreventSubmitBehavior
,AjaxSelfUpdatingTimerBehavior
,AttributeAppender
,AttributeModifier
,AutoCompleteBehavior
,BaseWebSocketBehavior
,Behavior
,BorderBehavior
,CancelEventIfAjaxListener
,ClassAttributeModifier
,CompoundValidator
,ContextPathGenerator
,DateValidator
,DefaultTheme
,DefaultTheme
,DisabledAttributeLinkBehavior
,EqualInputValidator
,EqualPasswordInputValidator
,FilesSelectedBehavior
,FormComponentUpdatingBehavior
,FormValidatorAdapter
,HTML5Attributes
,HumanTheme
,ModalWindow.CloseButtonBehavior
,NodeBorder
,OnChangeAjaxBehavior
,PropertyValidator
,RangeValidator
,StringValidator
,StyleAttributeModifier
,TrapFocusBehavior
,ValidatorAdapter
,VelocityContributor
,VelocityJavaScriptContributor
,WebSocketBehavior
,WicketMessageTagHandler.AttributeLocalizer
,WindowsTheme
,XsltTransformerBehavior
public interface IComponentAwareHeaderContributor extends IClusterable
An interface to be implemented byBehavior
s,IAjaxCallListener
s. Example:class MyAjaxCallDecorator implements IAjaxCallListener, IComponentAwareHeaderContributor { // IAjaxCallListener methods omitted for brevity public void renderHead(Component component, IHeaderResponse response) { response.render(new OnLoadJavaScriptHeaderItem("alert('page loaded!');")); } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
renderHead(Component component, IHeaderResponse response)
Render to the web response whatever the component-aware wants to contribute to the head section.
-
-
-
Method Detail
-
renderHead
void renderHead(Component component, IHeaderResponse response)
Render to the web response whatever the component-aware wants to contribute to the head section.- Parameters:
component
- component which is contributing to the response. This parameter is here to give the component as the context for component-awares implementing this interfaceresponse
- Response object
-
-