KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > raptus > owxv3 > modules > categories > EACategoryAction


1 /*
2  * eAdmin/OWX
3  * Copyright (C) 1996-2003 OWX-Project Team <owx-team@gmx.net>
4  */

5
6 package com.raptus.owxv3.modules.categories;
7
8 import javax.servlet.http.HttpServletRequest JavaDoc;
9
10 import com.raptus.owxv3.*;
11 import com.raptus.owxv3.api.VModuleRoleAction;
12
13
14
15 /**
16  *
17  * <hr>
18  * <table width="100%" border="0">
19  * <tr>
20  * <td width="24%"><b>Filename</b></td><td width="76%">EACategoryAction.java</td>
21  * </tr>
22  * <tr>
23  * <td width="24%"><b>Author</b></td><td width="76%">REEA</td>
24  * </tr>
25  * <tr>
26  * <td width="24%"><b>Date</b></td><td width="76%">10th of December 2001</td>
27  * </tr>
28  * </table>
29  * <hr>
30  * <table width="100%" border="0">
31  * <tr>
32  * <td width="24%"><b>Date / Author</b></td><td width="76%"><b>Changes</b></td>
33  * </tr>
34  * </table>
35  * <table width="100%" border="0">
36  * <tr>
37  * <td>This Action is an empty action to dipslay the index section of the Categoris module</td>
38  * </tr>
39  * </table>
40  * <hr>
41  */

42 //public class EACategoryAction extends VModuleAuthAction
43
public class EACategoryAction extends VModuleRoleAction
44 {
45     /**
46      *Method called from perfom
47      */

48     public String JavaDoc dispatchVModuleElement(HttpServletRequest JavaDoc request,
49                                          String JavaDoc element,
50                                          org.apache.struts.action.ActionForm form,
51                                          VModule vm,
52                                          com.raptus.owxv3.api.usermgr.User user)
53     {
54
55         if(element.compareToIgnoreCase(CategoryConstants.ELEMENT_INDEX) == 0)
56         {
57             // doing what, here?
58
}
59         else
60             return null; // display unknown element screen
61

62         return Constants.SECTION_EADMIN + Constants.DEFAULT_SPACER + element;
63
64     }
65
66 }
67
68 // eof
69
Popular Tags