Package org.apache.myfaces.config.impl.digester.elements

Examples of org.apache.myfaces.config.impl.digester.elements.ListEntriesImpl


        managedProperty.setPropertyName("managedProperty");
        managedProperty.setValue(INJECTED_VALUE);
       
        ManagedPropertyImpl managedList = new ManagedPropertyImpl();
        managedList.setPropertyName("managedList");
        ListEntriesImpl listEntries = makeListEntries();
        managedList.setListEntries(listEntries);
       
        ManagedPropertyImpl writeOnlyList = new ManagedPropertyImpl();
        writeOnlyList.setPropertyName("writeOnlyList");
        ListEntriesImpl writeOnlyListEntries = makeListEntries();
        writeOnlyList.setListEntries(writeOnlyListEntries);
       
        ManagedPropertyImpl managedMap = new ManagedPropertyImpl();
        managedMap.setPropertyName("managedMap");
        MapEntriesImpl mapEntries = makeMapEntries();
View Full Code Here


        MANAGED_LIST.clear();
        MANAGED_MAP.clear();
    }
   
    private ListEntriesImpl makeListEntries(){
        ListEntriesImpl listEntries = new ListEntriesImpl();
       
        for(int i = 0; i < MANAGED_LIST.size(); i++){
            Entry entry = new Entry();
            entry.setValue((String) MANAGED_LIST.get(i));
            listEntries.addEntry(entry);
        }
        return listEntries;
    }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.config.impl.digester.elements.ListEntriesImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.