protected void decodeSelection(FacesContext context, Organigram component) {

        if (ComponentUtils.isRequestSource(component, context)) {
            boolean selectionEnabled = component.getValueExpression("selection") != null;

            if (selectionEnabled) {
                Map<String, String> params = context.getExternalContext().getRequestParameterMap();

                String rowKey = params.get(component.getClientId(context) + "_selectNode");

                if (!isValueBlank(rowKey)) {
                    OrganigramNode node = component.findTreeNode(component.getValue(), rowKey);
                    assignSelection(context, component, node);
                }
            }
        }
    }
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