org.ow2.jonas.webapp.jonasadmin
Class SetUpTreeAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.ow2.jonas.webapp.jonasadmin.SetUpTreeAction

public class SetUpTreeAction
extends org.apache.struts.action.Action

Test Action sets up tree control data structure for tree widget

Version:
$Revision: 11749 $ $Date: 2007-10-08 11:47:44 +0200 (lun 08 oct 2007) $
Author:
Jazmin Jonson, Manveen Kaur, Florent Benoit (changes for struts 1.2.2)

Field Summary
static int INIT_PLUGIN_MAX
           
static String ROOTNODENAME_KEY
           
static String TREEBUILDER_KEY
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
SetUpTreeAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT_PLUGIN_MAX

public static final int INIT_PLUGIN_MAX
See Also:
Constant Field Values

TREEBUILDER_KEY

public static final String TREEBUILDER_KEY
See Also:
Constant Field Values

ROOTNODENAME_KEY

public static final String ROOTNODENAME_KEY
See Also:
Constant Field Values
Constructor Detail

SetUpTreeAction

public SetUpTreeAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      HttpServletRequest request,
                                                      HttpServletResponse response)
                                               throws IOException,
                                                      ServletException
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it). Return an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.

Overrides:
execute in class org.apache.struts.action.Action
Parameters:
mapping - The ActionMapping used to select this instance
actionForm - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - The HTTP response we are creating
Throws:
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs


Copyright © 2010 OW2 Consortium. All Rights Reserved.