Package org.araneaframework.uilib.form.reader

Examples of org.araneaframework.uilib.form.reader.MapFormWriter


   * @throws Exception
   */
  public void setFilterInfo(Map filterInfo) throws Exception {   
    if (filterInfo != null) {
      propagateListDataProviderWithFilter(filterInfo);
      MapFormWriter mapFormWriter = new MapFormWriter();
      mapFormWriter.writeForm(this.filterForm, filterInfo);
    }
  }
View Full Code Here


    testMap.put("booleanValue", Boolean.TRUE);
    testMap.put("stringValue", LIFE_IS_BEAUTIFUL);
    testMap.put("longValue", TEN);

    MapFormWriter mapWriter = new MapFormWriter();

    mapWriter.writeForm(mapForm, testMap);

    assertTrue("Boolean value written properly", mapForm.getValueByFullName("booleanValue").equals(Boolean.TRUE));
    assertTrue("String value written properly", mapForm.getValueByFullName("stringValue").equals(LIFE_IS_BEAUTIFUL));
    assertTrue("Long value written properly", mapForm.getValueByFullName("longValue").equals(TEN));
 
View Full Code Here

   
   
    Map topTestMap = new HashMap();
    topTestMap.put("subTestVO", testMap);   

    MapFormWriter mapWriter = new MapFormWriter();

    mapWriter.writeForm(mapForm, topTestMap);

    assertTrue("Boolean value written properly", mapForm.getValueByFullName("subTestVO.booleanValue").equals(Boolean.TRUE));
    assertTrue("String value written properly", mapForm.getValueByFullName("subTestVO.stringValue").equals(LIFE_IS_BEAUTIFUL));
    assertTrue("Long value written properly", mapForm.getValueByFullName("subTestVO.longValue").equals(TEN));
  }   
View Full Code Here

TOP

Related Classes of org.araneaframework.uilib.form.reader.MapFormWriter

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.