KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > webwork > views > velocity > components > HiddenDirective


1 package com.opensymphony.webwork.views.velocity.components;
2
3 import com.opensymphony.webwork.components.Component;
4 import com.opensymphony.webwork.components.Hidden;
5 import com.opensymphony.xwork.util.OgnlValueStack;
6
7 import javax.servlet.http.HttpServletRequest JavaDoc;
8 import javax.servlet.http.HttpServletResponse JavaDoc;
9
10 /**
11  * User: patrick
12  * Date: Aug 5, 2005
13  * Time: 8:56:36 AM
14  */

15 public class HiddenDirective extends AbstractDirective {
16     protected Component getBean(OgnlValueStack stack, HttpServletRequest JavaDoc req, HttpServletResponse JavaDoc res) {
17         return new Hidden(stack, req, res);
18     }
19
20     public String JavaDoc getBeanName() {
21         return "hidden";
22     }
23 }
24
Popular Tags