1 20 package org.enhydra.barracuda.contrib.dbroggisch.examples.model.forms; 21 22 import org.enhydra.barracuda.contrib.dbroggisch.repopulation.*; 23 import org.enhydra.barracuda.core.forms.*; 24 import org.enhydra.barracuda.core.comp.*; 25 import org.enhydra.barracuda.core.forms.validators.*; 26 27 public class ChildFormMap extends RepopulationFormMap { 28 29 public final static String MODEL_NAME = "ChildModel"; 30 public final static String CHILD_NAME = "CHILD_NAME"; 31 32 public ChildFormMap() { 33 setName(MODEL_NAME); 34 defineElement(new DefaultFormElement( 35 CHILD_NAME, 36 FormType.STRING, 37 null, 38 new NotNullValidator(), 39 false)); 40 41 42 } 43 44 } 45 | Popular Tags |