src/main/java/org/efaps/ui/wicket/behaviors/dojo/RequireBehavior.java
@Override
    public void renderHead(final Component _component,
                           final IHeaderResponse _response)
    {
        super.renderHead(_component, _response);
        final StringBuilder js = new StringBuilder()
            .append("require([");
        for (int i = 0; i < this.packages.length; i++) {
            if (i > 0) {
                js.append(",");
            }
            js.append("\"").append(this.packages[i]).append("\"");
        }
        js.append("]);");
        _response.render(JavaScriptHeaderItem.forScript(js, _component.getId()));
    }
@Override
    public void renderHead(final Component _component,
                           final IHeaderResponse _response)
    {
        super.renderHead(_component, _response);
        final StringBuilder js = new StringBuilder()
            .append("require([");
        for (int i = 0; i < this.packages.length; i++) {
            if (i > 0) {
                js.append(",");
            }
            js.append("\"").append(this.packages[i]).append("\"");
        }
        js.append("]);");
        _response.render(JavaScriptHeaderItem.forScript(js, _component.getId()));
    }
Render the links for the head.

@param _component component the header will be rendered for
@param _response resonse to add