Package org.strecks.converter

Examples of org.strecks.converter.StandardBeanUtilsConverter


  {

    handler = new BindSimpleHandler();
    handler.setBeanLocatingExpression("targetBean");
    handler.setBeanPropertyName("integerProperty");
    handler.setConverter(new StandardBeanUtilsConverter());
    handler.setConversionHandler(new DefaultConversionHandler());

    // needed for binding outwards
    PropertyDescriptor propertyDescriptor = PropertyUtils.getPropertyDescriptor(new BindableBean(), "intProperty");
    handler.setPropertyDescriptor(propertyDescriptor);
View Full Code Here


    handler.setBeanLookupExpression("lookupMap");
    handler.setBeanPropertyName("domainClass");
    handler.setBeanPropertyClass(Integer.class);
    handler.setConversionHandler(new DefaultConversionHandler());

    Converter converter = new StandardBeanUtilsConverter();
    handler.setConverter(converter);
    converter.setTargetClass(Integer.class);

    // needed for binding outwards
    PropertyDescriptor propertyDescriptor = PropertyUtils.getPropertyDescriptor(new BindableBean(), "selectedId");
    handler.setPropertyDescriptor(propertyDescriptor);
View Full Code Here

TOP

Related Classes of org.strecks.converter.StandardBeanUtilsConverter

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.