src/main/java/org/efaps/ui/wicket/behaviors/dojo/AbstractDojoBehavior.java
@Override
    public void renderHead(final Component _component,
                           final IHeaderResponse _response)
    {
        super.renderHead(_component, _response);
        _response.render(new PriorityHeaderItem(new DojoHeaderItem(AbstractDojoBehavior.JS_DOJO,
                        AbstractDojoBehavior.class.getName())));
        final String clazz = Configuration.getAttribute(ConfigAttribute.DOJO_CLASS);

        ResourceReference reference = null;
        if ("tundra".equals(clazz)) {
            reference = AbstractDojoBehavior.CSS_TUNDRA;
        } else if ("claro".equals(clazz)) {
            reference = AbstractDojoBehavior.CSS_CLARO;
        } else if ("nihilo".equals(clazz)) {
            reference = AbstractDojoBehavior.CSS_NIHILO;
        } else if ("soria".equals(clazz)) {
            reference = AbstractDojoBehavior.CSS_TUNDRA;
        }
        if (reference != null) {
            _response.render(CssHeaderItem.forReference(reference));
        }
    }
@Override
    public void renderHead(final Component _component,
                           final IHeaderResponse _response)
    {
        super.renderHead(_component, _response);
        _response.render(new PriorityHeaderItem(new DojoHeaderItem(AbstractDojoBehavior.JS_DOJO,
                        AbstractDojoBehavior.class.getName())));
        final String clazz = Configuration.getAttribute(ConfigAttribute.DOJO_CLASS);

        ResourceReference reference = null;
        if ("tundra".equals(clazz)) {
            reference = AbstractDojoBehavior.CSS_TUNDRA;
        } else if ("claro".equals(clazz)) {
            reference = AbstractDojoBehavior.CSS_CLARO;
        } else if ("nihilo".equals(clazz)) {
            reference = AbstractDojoBehavior.CSS_NIHILO;
        } else if ("soria".equals(clazz)) {
            reference = AbstractDojoBehavior.CSS_TUNDRA;
        }
        if (reference != null) {
            _response.render(CssHeaderItem.forReference(reference));
        }
    }
@ Override public void renderHead ( final Component _component , final IHeaderResponse _response ) { super . renderHead ( _component , _response ) ; _response . render ( new PriorityHeaderItem ( new DojoHeaderItem ( AbstractDojoBehavior . JS_DOJO , AbstractDojoBehavior . class . getName ( ) ) ) ) ; final String clazz = Configuration . getAttribute ( ConfigAttribute . DOJO_CLASS ) ; ResourceReference reference = null ; if ( "tundra" . equals ( clazz ) ) { reference = AbstractDojoBehavior . CSS_TUNDRA ; } else if ( "claro" . equals ( clazz ) ) { reference = AbstractDojoBehavior . CSS_CLARO ; } else if ( "nihilo" . equals ( clazz ) ) { reference = AbstractDojoBehavior . CSS_NIHILO ; } else if ( "soria" . equals ( clazz ) ) { reference = AbstractDojoBehavior . CSS_TUNDRA ; } if ( reference != null ) { _response . render ( CssHeaderItem . forReference ( reference ) ) ; } }
Render the links for the head.

@see org.apache.wicket.behavior.AbstractBehavior#renderHead(org.apache.wicket.markup.html.IHeaderResponse)
@param _component component the header will be rendered for
@param _response resonse to add
Render the links for the head .