KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > improve > struts > taglib > layout > field > AreaFieldTag


1 package fr.improve.struts.taglib.layout.field;
2
3 import java.util.Collection JavaDoc;
4
5 import javax.servlet.jsp.JspException JavaDoc;
6
7 /**
8  * The area field tag is a tag with no specific user input field.
9  * The field area must be defined by nested tags.
10  *
11  * @author JN RIBETTE
12  */

13 public class AreaFieldTag extends AbstractLayoutFieldTag {
14     protected int doStartEditField() throws JspException JavaDoc {
15         return EVAL_BODY_INCLUDE;
16     }
17
18     protected int doEndEditField() throws JspException JavaDoc {
19         return EVAL_PAGE;
20     }
21     
22     protected int doStartInspectField() throws JspException JavaDoc {
23         return EVAL_BODY_INCLUDE;
24     }
25
26     protected int doEndInspectField() throws JspException JavaDoc {
27         return EVAL_PAGE;
28     }
29
30     protected Object JavaDoc getFieldValue() throws JspException JavaDoc {
31         return null;
32     }
33
34     protected void printIndexedHiddenValue(Collection JavaDoc lc_collection) throws JspException JavaDoc {
35         // Do nothing : we don't have any property and value.
36
}
37
38     protected void printSimpleHiddenValue(Object JavaDoc in_value) throws JspException JavaDoc {
39         // Do nothing :we d'ont have any property and value.
40
}
41
42     
43 }
44
Popular Tags