src/main/java/org/efaps/ui/wicket/models/objects/grid/UIGrid.java
@SuppressWarnings("unchecked")
    protected List<Instance> getInstances()
        throws EFapsException
    {
        final List<Return> returns = getEventObject().executeEvents(EventType.UI_TABLE_EVALUATE,
                        ParameterValues.INSTANCE, getCallInstance(),
                        ParameterValues.CALL_INSTANCE, getCallInstance(),
                        ParameterValues.PARAMETERS, Context.getThreadContext().getParameters(),
                        ParameterValues.CLASS, this,
                        ParameterValues.OTHERS, this.filterList);
        List<Instance> ret = null;
        if (returns.size() < 1) {
            throw new EFapsException(UIGrid.class, "getInstanceList");
        } else {
            final Object result = returns.get(0).get(ReturnValues.VALUES);
            if (result instanceof List) {
                ret = (List<Instance>) result;
            }
        }
        return ret;
    }
@SuppressWarnings("unchecked")
    protected List<Instance> getInstances()
        throws EFapsException
    {
        final List<Return> returns = getEventObject().executeEvents(EventType.UI_TABLE_EVALUATE,
                        ParameterValues.INSTANCE, getCallInstance(),
                        ParameterValues.CALL_INSTANCE, getCallInstance(),
                        ParameterValues.PARAMETERS, Context.getThreadContext().getParameters(),
                        ParameterValues.CLASS, this,
                        ParameterValues.OTHERS, this.filterList);
        List<Instance> ret = null;
        if (returns.size() < 1) {
            throw new EFapsException(UIGrid.class, "getInstanceList");
        } else {
            final Object result = returns.get(0).get(ReturnValues.VALUES);
            if (result instanceof List) {
                ret = (List<Instance>) result;
            }
        }
        return ret;
    }
Gets the instances.

@return the instances
@throws EFapsException the e faps exception