|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.behavior.AbstractBehavior wicket.behavior.AbstractHeaderContributor
public abstract class AbstractHeaderContributor
Behaviour that delegates header contribution to a number of other contributors. It checks the contributions that were made in the same request to avoid double contributions.
Constructor Summary | |
---|---|
AbstractHeaderContributor()
Construct. |
Method Summary | |
---|---|
void |
cleanup()
This method is called either by AbstractBehavior.onRendered(Component) or
AbstractBehavior.onException(Component, RuntimeException) AFTER they called their
respective template methods. |
abstract IHeaderContributor[] |
getHeaderContributors()
Gets the header contributors for this behavior. |
void |
renderHead(Response response)
Render to the web response whatever the component wants to contribute to the head section. |
Methods inherited from class wicket.behavior.AbstractBehavior |
---|
bind, detachModel, exception, onComponentTag, onException, onRendered, rendered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractHeaderContributor()
Method Detail |
---|
public abstract IHeaderContributor[] getHeaderContributors()
public final void renderHead(Response response)
IHeaderContributor
Note: This method is kind of dangerous as users are able to write to the output whatever they like.
renderHead
in interface IHeaderContributor
response
- Response objectIHeaderContributor.renderHead(wicket.Response)
public final void cleanup()
AbstractBehavior
AbstractBehavior.onRendered(Component)
or
AbstractBehavior.onException(Component, RuntimeException)
AFTER they called their
respective template methods. Override this template method to do any
necessary cleanup.
cleanup
in class AbstractBehavior
AbstractBehavior.cleanup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |