protected Object resolveComponentList(String exp, Map<String, ? extends Object> contextMap, LaContainer container,
            Class<?> resultType) {
        if (!exp.contains(DQ) && !exp.contains(SQ) && exp.startsWith("[") && exp.endsWith("]")) {
            final String listContents = exp.substring(1, exp.length() - 1);
            final String[] elements = LdiStringUtil.split(listContents, ",");
            boolean compAry = false;
            for (String comp : elements) {
                if (!LdiStringUtil.isNumber(comp)) {
                    compAry = true;
                    break;
                }
            }
            if (compAry) {
                final List<Object> resultList = new ArrayList<Object>();
                for (String comp : elements) {
                    final Object component = container.getComponent(comp.trim()); // in same or child container
                    resultList.add(component);
                }
                return castResolver.convertListTo(exp, contextMap, container, resultType, resultList);
            }
        }
        return null;
    }
protected Object resolveComponentList ( String exp , Map < String , ? extends Object > contextMap , LaContainer container , Class < ? > resultType ) { if ( ! exp . contains ( DQ ) && ! exp . contains ( SQ ) && exp . startsWith ( "[" ) && exp . endsWith ( "]" ) ) { final String listContents = exp . substring ( 1 , exp . length ( ) - 1 ) ; final String [ ] elements = LdiStringUtil . split ( listContents , "," ) ; boolean compAry = false ; for ( String comp : elements ) { if ( ! LdiStringUtil . isNumber ( comp ) ) { compAry = true ; break ; } } if ( compAry ) { final List < Object > resultList = new ArrayList < Object > ( ) ; for ( String comp : elements ) { final Object component = container . getComponent ( comp . trim ( ) ) ; resultList . add ( component ) ; } return castResolver . convertListTo ( exp , contextMap , container , resultType , resultList ) ; } } return null ; }
==============