1 package net.sourceforge.formview.displayer; 2 3 import java.util.Map ; 4 5 import net.sourceforge.formview.FieldView; 6 7 28 public class Behaviour extends BaseElement { 29 30 33 public void processHTML(FieldView field, String defaultBehaviour, Map contextValuesMap, StringBuffer htmlContentToInsertBefore, StringBuffer htmlContentToInsertAfter, StringBuffer htmlContentToReplace, Map attributeMap) { 34 String behaviour = defaultBehaviour; 37 if (field != null && field.getBehaviour() != null && field.getBehaviour().length() > 0) 38 behaviour = field.getBehaviour(); 39 if (getName().equalsIgnoreCase(behaviour)) { 40 super.processHTML(field, defaultBehaviour, contextValuesMap, htmlContentToInsertBefore, htmlContentToInsertAfter, htmlContentToReplace, attributeMap); 41 } 42 } 43 } 44 | Popular Tags |