src/main/java/org/efaps/ui/wicket/models/field/AbstractUIField.java
public List<Return> executeEvents(final EventType _eventType,
                                      final Object _others,
                                      final Map<String, String> _uiID2Oid)
        throws EFapsException
    {
        List<Return> ret = new ArrayList<>();
        final Field field = getFieldConfiguration().getField();
        if (field.hasEvents(_eventType)) {
            final Context context = Context.getThreadContext();
            final String[] contextoid = { getInstanceKey() };
            context.getParameters().put("oid", contextoid);
            ret = field.executeEvents(_eventType,
                            ParameterValues.INSTANCE, getInstance(),
                            ParameterValues.OTHERS, _others,
                            ParameterValues.PARAMETERS, context.getParameters(),
                            ParameterValues.CLASS, this,
                            ParameterValues.OIDMAP4UI, _uiID2Oid,
                            ParameterValues.CALL_INSTANCE, getParent().getInstance(),
                            ParameterValues.CALL_CMD, ((AbstractUIObject) getParent()).getCommand());
        }
        return ret;
    }
public List<Return> executeEvents(final EventType _eventType,
                                      final Object _others,
                                      final Map<String, String> _uiID2Oid)
        throws EFapsException
    {
        List<Return> ret = new ArrayList<>();
        final Field field = getFieldConfiguration().getField();
        if (field.hasEvents(_eventType)) {
            final Context context = Context.getThreadContext();
            final String[] contextoid = { getInstanceKey() };
            context.getParameters().put("oid", contextoid);
            ret = field.executeEvents(_eventType,
                            ParameterValues.INSTANCE, getInstance(),
                            ParameterValues.OTHERS, _others,
                            ParameterValues.PARAMETERS, context.getParameters(),
                            ParameterValues.CLASS, this,
                            ParameterValues.OIDMAP4UI, _uiID2Oid,
                            ParameterValues.CALL_INSTANCE, getParent().getInstance(),
                            ParameterValues.CALL_CMD, ((AbstractUIObject) getParent()).getCommand());
        }
        return ret;
    }
public List < Return > executeEvents ( final EventType _eventType , final Object _others , final Map < String , String > _uiID2Oid ) throws EFapsException { List < Return > ret = new ArrayList <> ( ) ; final Field field = getFieldConfiguration ( ) . getField ( ) ; if ( field . hasEvents ( _eventType ) ) { final Context context = Context . getThreadContext ( ) ; final String [ ] contextoid = { getInstanceKey ( ) } ; context . getParameters ( ) . put ( "oid" , contextoid ) ; ret = field . executeEvents ( _eventType , ParameterValues . INSTANCE , getInstance ( ) , ParameterValues . OTHERS , _others , ParameterValues . PARAMETERS , context . getParameters ( ) , ParameterValues . CLASS , this , ParameterValues . OIDMAP4UI , _uiID2Oid , ParameterValues . CALL_INSTANCE , getParent ( ) . getInstance ( ) , ParameterValues . CALL_CMD , ( ( AbstractUIObject ) getParent ( ) ) . getCommand ( ) ) ; } return ret ; }
Execute events.

@param _eventType the event type
@param _others the others
@param _uiID2Oid the ui i d2 oid
@return the list< return>
@throws EFapsException on error
Execute events .