src/main/java/org/efaps/ui/wicket/behaviors/SetMessageStatusBehavior.java
@Override
    public void renderHead(final Component _component,
                           final IHeaderResponse _response)
    {
        try {
            _response.render(JavaScriptHeaderItem.forScript(SetMessageStatusBehavior.getScript(),
                            SetMessageStatusBehavior.class.getName()));
        } catch (final EFapsException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
@Override
    public void renderHead(final Component _component,
                           final IHeaderResponse _response)
    {
        try {
            _response.render(JavaScriptHeaderItem.forScript(SetMessageStatusBehavior.getScript(),
                            SetMessageStatusBehavior.class.getName()));
        } catch (final EFapsException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
Render to the web response whatever the component wants to contribute to
the head section.

@param _component    Component this behavior belongs to
@param _response     Response object