|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IHeaderContributor
An interface to be implemented by components or application level listeners that wish to contribute to the header section of the page. Example:
class MyPanel extends Panel implements IHeaderContributor
{
public MyPanel(String id)
{
super(id);
}
public void renderHead(Component component, IHeaderResponse response)
{
response.renderOnLoadJavaScript("alert('page loaded!');");
}
}
| Method Summary | |
|---|---|
void |
renderHead(IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section. |
| Method Detail |
|---|
void renderHead(IHeaderResponse response)
response - Response object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||