Package javax.faces.convert

Examples of javax.faces.convert.ShortConverter


  test.setConverter(null);
  assertNull(test.getConverter());
  test.setValueBinding("converter", application.createValueBinding("#{foo}"));
  assertNotNull(test.getValueBinding("converter"));
  assertTrue(test.getConverter() instanceof LongConverter);
  test.setConverter(new ShortConverter());
  assertTrue(test.getConverter() instanceof ShortConverter);
  test.setConverter(null);
  assertTrue(test.getConverter() instanceof LongConverter);
  test.setValueBinding("converter", null);
  assertNull(test.getValueBinding("converter"));
View Full Code Here


        assertNotNull((Converter) newComp.getAttributes().get("converter"));
        assertTrue(newComp.getAttributes().get("converter")
                   instanceof LongConverter);
        vh.setConverter(null);
        assertNull(newComp.getAttributes().get("converter"));
        newComp.getAttributes().put("converter", new ShortConverter());
        assertNotNull(vh.getConverter());
        assertTrue(vh.getConverter() instanceof ShortConverter);
        newComp.getAttributes().put("converter", null);
        assertNull(vh.getConverter());
View Full Code Here

        assertNotNull((Converter) newComp.getAttributes().get("converter"));
        assertTrue(newComp.getAttributes().get("converter")
                   instanceof LongConverter);
        vh.setConverter(null);
        assertNull(newComp.getAttributes().get("converter"));
        newComp.getAttributes().put("converter", new ShortConverter());
        assertNotNull(vh.getConverter());
        assertTrue(vh.getConverter() instanceof ShortConverter);
        newComp.getAttributes().put("converter", null);
        assertNull(vh.getConverter());
View Full Code Here

  test.setConverter(null);
  assertNull(test.getConverter());
  test.setValueBinding("converter", application.createValueBinding("#{foo}"));
  assertNotNull(test.getValueBinding("converter"));
  assertTrue(test.getConverter() instanceof LongConverter);
  test.setConverter(new ShortConverter());
  assertTrue(test.getConverter() instanceof ShortConverter);
  test.setConverter(null);
  assertTrue(test.getConverter() instanceof LongConverter);
  test.setValueBinding("converter", null);
  assertNull(test.getValueBinding("converter"));
View Full Code Here

TOP

Related Classes of javax.faces.convert.ShortConverter

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.