1 15 package org.apache.tapestry; 16 17 import org.apache.hivemind.ApplicationRuntimeException; 18 import org.apache.hivemind.Location; 19 import org.apache.tapestry.form.FormEventType; 20 import org.apache.tapestry.form.IFormComponent; 21 22 29 public interface FormBehavior 30 { 31 38 public void addEventHandler(FormEventType type, String functionName); 39 40 48 49 public void addHiddenValue(String name, String value); 50 51 61 62 public void addHiddenValue(String name, String id, String value); 63 64 74 75 public String getElementId(IFormComponent component); 76 77 92 93 public String getElementId(IFormComponent component, String baseId); 94 95 99 100 public boolean isRewinding(); 101 102 110 111 public void setEncodingType(String encodingType); 112 113 128 public void prerenderField(IMarkupWriter writer, IComponent field, Location location); 129 130 138 public boolean wasPrerendered(IMarkupWriter writer, IComponent field); 139 140 148 149 public void addDeferredRunnable(Runnable runnable); 150 151 } | Popular Tags |