Package javango.forms

Examples of javango.forms.ModelForm


  }

  public void testBlankInclude() throws Exception {
    // to set the form to include no fields use setInclude(""),  should return an empty list
    ModelForm form = injector.getInstance(IncludeTestContactForm.class);
    form.setInclude("");
    assertEquals("", form.getInclude()[0]);

    assertEquals(0, form.include.size());

    form.setInclude(null);
    assertNull(form.getInclude());
    assertNull(form.include);
  }
View Full Code Here

TOP

Related Classes of javango.forms.ModelForm

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.