@Override
    public void encodeEnd(FacesContext context, Organigram component) throws IOException {
        encodeMarkup(context, component);
        encodeScript(context, component);
    }
Checks if the current request is a selection request and
assigns the found {@link OrganigramNode} to the <code>selection</code> value expression.

@param context    The current {@link FacesContext}.
@param component The {@link Organigram} component.
primefaces/src/main/java/org/primefaces/component/organigram/OrganigramRenderer.java