KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > view > jsp > actionflow > UseActionTei


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.mvc.view.jsp.actionflow;
8
9
10 import javax.servlet.jsp.tagext.TagData JavaDoc;
11 import javax.servlet.jsp.tagext.TagExtraInfo JavaDoc;
12 import javax.servlet.jsp.tagext.VariableInfo JavaDoc;
13
14
15 /**
16  * <p>
17  * This class contains the extra tag information for the
18  * UseAction tag. This is where the scripting variable
19  * get setup.
20  * </p>
21  *
22  * @author Brian Pontarelli
23  */

24 public class UseActionTei extends TagExtraInfo JavaDoc {
25
26     /** The class name that will be used for the variable infos */
27     public static final String JavaDoc OBJECT_CLASS =
28         "com.inversoft.verge.mvc.controller.actionflow.ActionFlowAction";
29
30
31     /**
32      * Returns the information about the var page variable that will hold the
33      * repository item.
34      */

35     public VariableInfo JavaDoc [] getVariableInfo(TagData JavaDoc data) {
36         return new VariableInfo JavaDoc [] {
37             new VariableInfo JavaDoc(data.getAttributeString("var"),
38                              OBJECT_CLASS,
39                              true,
40                              VariableInfo.AT_BEGIN)};
41     }
42 }
43
44
Popular Tags