Deprecated API


Contents
Deprecated Interfaces
ActionResolver
          This is a legacy interface that is implemented by PageFlowController, but unused in the framework. 
 

Deprecated Classes
DynamicSubappActionServlet
          Use PageFlowActionServlet instead. 
FormData
          Page Flow actions can accept form beans of any type; it is not necessary to extend this class. This will be removed in the next major version. In general, it's possible to remove extends FormData and replace it with implements Serializable. 
GetData
          The JSP expression language should be used instead. 
GlobalApp
          Use a SharedFlowController instead. 
Message
          This tag has been deprecated in favor of the i18n tags available in JSTL. 
MessageArg
          This tag has been deprecated in favor of the i18n tags available in JSTL. 
PageFlowFileFilter
          This class will be removed without replacement in the next major release. 
StrutsModule
          This class will be removed without replacement in the next version. 
StrutsModuleFactory
          This class will be removed without replacement in the next major release. 
URLTemplateDescriptor
          As of v1m1. The preferred method is to use the URLTemplatesFactory directly. There should be an instance of a URLTemplatesFactory available as an attribute of the ServletContext. 
 

Deprecated Exceptions
IllegalPageInputException
          Use IllegalActionOutputException instead. 
MismatchedPageInputException
          Use MismatchedActionOutputException instead. 
MissingPageInputException
          Use MissingActionOutputException instead. 
 

Deprecated Fields
org.apache.beehive.netui.pageflow.PageFlowConstants.ACTION_OVERRIDE
          This is an internal constant that will be removed without replacement. 
org.apache.beehive.netui.pageflow.PageFlowConstants.DEFAULT_FORWARD_OVERFLOW_COUNT
          This constant will be removed without replacement in a future release. The value is read from netui-config.xsd (the schema for netui-config.xml). 
org.apache.beehive.netui.pageflow.PageFlowConstants.DEFAULT_NESTING_OVERFLOW_COUNT
          This constant will be removed without replacement in a future release. The value is read from netui-config.xsd (the schema for netui-config.xml). 
org.apache.beehive.netui.pageflow.FlowController.defaultLocale
          Use FlowController.getDefaultLocale(). 
org.apache.beehive.netui.pageflow.PageFlowConstants.FORWARD_OVERFLOW_COUNT_PARAM
          Instead of this context-param, use the max-forwards-per-request element within pageflow-config in /WEB-INF/netui-config.xml. 
org.apache.beehive.netui.pageflow.PageFlowConstants.GLOBALAPP_CLASSNAME
          This constant will be removed with no replacement. 
org.apache.beehive.netui.pageflow.PageFlowConstants.GLOBALAPP_SOURCEFILE_NAME
          This constant will be removed with no replacement. 
org.apache.beehive.netui.pageflow.PageFlowConstants.JPF_EXTENSION
          Use PageFlowConstants.PAGEFLOW_EXTENSION instead. 
org.apache.beehive.netui.pageflow.PageFlowConstants.JPF_MODULE_CONFIG_EXTENSION
          Use PageFlowConstants.PAGEFLOW_MODULE_CONFIG_EXTENSION instead. 
org.apache.beehive.netui.pageflow.PageFlowConstants.JPF_MODULE_CONFIG_GEN_DIR
          Use PageFlowConstants.PAGEFLOW_MODULE_CONFIG_GEN_DIR instead. 
org.apache.beehive.netui.pageflow.PageFlowConstants.JPF_MODULE_CONFIG_PREFIX
          Use PageFlowConstants.PAGEFLOW_MODULE_CONFIG_PREFIX instead. 
org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.MODULE_CONFIG_LOCATOR_CLASS_ATTR
          To register AutoRegisterActionServlet.ModuleConfigLocators, use the module-config-locators element in pageflow-config of /WEB-INF/netui-config.xml. 
org.apache.beehive.netui.pageflow.PageFlowConstants.NESTING_OVERFLOW_COUNT_PARAM
          Instead of this context-param, use the max-nesting-stack-depth element within pageflow-config in /WEB-INF/netui-config.xml. 
org.apache.beehive.netui.pageflow.Forward.RETURN_TO_ACTION
          Use Forward.RETURN_TO_PREVIOUS_ACTION instead. 
org.apache.beehive.netui.pageflow.Forward.RETURN_TO_PAGE
          Use Forward.RETURN_TO_CURRENT_PAGE or Forward.RETURN_TO_PREVIOUS_PAGE instead. 
org.apache.beehive.netui.pageflow.PageFlowConstants.SECURE_FORWARDS_PARAM
          Instead of this context-param, use the ensure-secure-forwards element within pageflow-config in /WEB-INF/beehive-netui-config.xml. 
org.apache.beehive.netui.pageflow.FlowController.servlet
          This variable will be removed with no replacement. In most cases, PageFlowManagedObject.getServletContext() is sufficient; for other cases, the ActionServlet itself is in the ServletContext attribute Globals.ACTION_SERVLET_KEY. 
 

Deprecated Methods
org.apache.beehive.netui.pageflow.PageFlowUtils.addBindingUpdateError(ServletRequest, String, String, Throwable)
          This is an internal utility. InternalUtils.addBindingUpdateError(javax.servlet.ServletRequest, java.lang.String, java.lang.String, java.lang.Throwable) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.Forward.addPageInput(String, Object)
          Use Forward.addActionOutput(java.lang.String, java.lang.Object) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.addPageInput(String, Object, ServletRequest)
          Use PageFlowUtils.addActionOutput(java.lang.String, java.lang.Object, javax.servlet.ServletRequest) instead. 
org.apache.beehive.netui.pageflow.FlowController.addValidationError(String, String)
          Use FlowController.addActionError(java.lang.String, java.lang.String, java.lang.Object[]) instead. 
org.apache.beehive.netui.pageflow.FlowController.addValidationError(String, String, Object[])
          Use FlowController.addActionError(java.lang.String, java.lang.String, java.lang.Object[]) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.addValidationError(String, String, Object[], ServletRequest)
          Use PageFlowUtils.addActionError(ServletRequest, String, String, Object[]) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.addValidationError(String, String, Object, ServletRequest)
          Use PageFlowUtils.addActionError(ServletRequest, String, String, Object[]) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.addValidationError(String, String, ServletRequest)
          Use PageFlowUtils.addActionError(ServletRequest, String, String, Object[]) instead. 
org.apache.beehive.netui.util.type.TypeUtils.convertToObject(String, Class)
            
org.apache.beehive.netui.pageflow.PageFlowUtils.destroyPageFlowStack(HttpServletRequest)
          Use PageFlowStack.destroy(javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.scoping.ScopedRequest.didRedirect()
          Use ScopedResponse.didRedirect() instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.dumpRequest(HttpServletRequest, PrintStream)
          This is an internal utility. ServletUtils.dumpRequest(javax.servlet.ServletRequest, java.io.PrintStream) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.PageFlowUtils.dumpServletContext(ServletContext, PrintStream)
          This is an internal utility. ServletUtils.dumpServletContext(javax.servlet.ServletContext, java.io.PrintStream) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureAppDeployment(HttpServletRequest, HttpServletResponse, ServletContext)
          This method no longer has any effect, and will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureCurrentPageFlow(HttpServletRequest, HttpServletResponse)
          Use PageFlowUtils.getCurrentPageFlow(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureCurrentPageFlow(HttpServletRequest, HttpServletResponse, ServletContext)
          Use PageFlowUtils.getCurrentPageFlow(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureGlobalApp(HttpServletRequest, HttpServletResponse)
          Use PageFlowUtils.getGlobalApp(javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureGlobalApp(HttpServletRequest, HttpServletResponse, ServletContext)
          Use PageFlowUtils.getSharedFlow(java.lang.String, javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureModuleConfig(String, ServletRequest, ServletContext)
          This is an internal utility. InternalUtils.ensureModuleConfig(java.lang.String, javax.servlet.ServletContext) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.ensureModuleRegistered(String, ServletRequest)
          Use #ensureModuleRegistered(String) instead. 
org.apache.beehive.netui.pageflow.FlowController.generateToken(HttpServletRequest)
          Use FlowController.generateToken() instead. 
org.apache.beehive.netui.pageflow.PageFlowStack.get(HttpServletRequest)
          Use PageFlowStack.get(HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.PageFlowStack.get(HttpServletRequest, boolean)
          Use PageFlowStack.get(HttpServletRequest, ServletContext, boolean) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getBindingUpdateErrors(ServletRequest)
          This is an internal utility. InternalUtils.getBindingUpdateErrors(javax.servlet.ServletRequest) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getCurrentActionResolver(HttpServletRequest)
          Use PageFlowUtils.getCurrentPageFlow(HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getCurrentActionResolver(HttpServletRequest, ServletContext)
          Use PageFlowUtils.getCurrentPageFlow(HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getCurrentPageFlow(HttpServletRequest)
          Use PageFlowUtils.getCurrentPageFlow(HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getFileExtension(String)
          Use FileUtils.getFileExtension(java.lang.String) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getGlobalApp(HttpServletRequest)
          Use PageFlowUtils.getSharedFlow(java.lang.String, javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getGlobalApp(HttpServletRequest, HttpServletResponse, ServletContext)
          Global.app is deprecated; use shared flows and FlowControllerFactory.getSharedFlowsForRequest(RequestContext). 
org.apache.beehive.netui.pageflow.PageFlowUtils.getGlobalAppConfig(ServletContext)
          This will be removed with no replacement in a future release. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getJpfClassName(String)
          Use PageFlowUtils.getPageFlowClassName(String) instead. 
org.apache.beehive.netui.pageflow.FlowController.getLocale(HttpServletRequest)
          Use FlowController.getLocale(javax.servlet.http.HttpServletRequest) or FlowController.retrieveUserLocale(javax.servlet.http.HttpServletRequest, java.lang.String). 
org.apache.beehive.netui.pageflow.PageFlowUtils.getLongLivedPageFlow(String, HttpServletRequest)
          Use PageFlowUtils.getLongLivedPageFlow(String, HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.FlowController.getMapping()
          Use FlowController.getActionMapping() instead. 
org.apache.beehive.netui.pageflow.FlowController.getModuleConfig(ServletContext, HttpServletRequest)
          Use FlowController.getModuleConfig() instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getModuleConfig(String, ServletContext)
          This is an internal utility. InternalUtils.getModuleConfig(java.lang.String, javax.servlet.ServletContext) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.getModuleConfig(String, ServletRequest, ServletResponse)
          Use AutoRegisterActionServlet.ensureModuleRegistered(java.lang.String, javax.servlet.ServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getModuleConfPath(String)
          Use PageFlowActionServlet.getModuleConfPath(java.lang.String) instead. Get the path to the Struts module configration file (e.g., "/WEB-INF/classes/_pageflow/struts-config-someModule") for a given module path (e.g., "someModule"), according to the PageFlow convention. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getNestingPageFlow(HttpServletRequest)
          Use PageFlowUtils.getNestingPageFlow(HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlow(Class, HttpServletRequest, HttpServletResponse, ServletContext)
          Use FlowControllerFactory.createPageFlow(RequestContext, Class) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlow(String, HttpServletRequest, HttpServletResponse, ServletContext)
          Use FlowControllerFactory.createPageFlow(RequestContext, String) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getPageFlowClassName(String, ServletRequest, ServletContext)
          This is an internal utility. InternalUtils.getFlowControllerClassName(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForRelativeURI(HttpServletRequest, HttpServletResponse, String, ServletContext)
          Use FlowControllerFactory.getPageFlowForPath(RequestContext, String) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForRequest(HttpServletRequest, HttpServletResponse, ServletContext)
          Use FlowControllerFactory.getPageFlowForRequest(RequestContext) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForURI(HttpServletRequest, HttpServletResponse, String, ServletContext)
          Use FlowControllerFactory.getPageFlowForPath(RequestContext, String) instead. The URI must be stripped of the webapp context path before being passed. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getPageFlowStack(HttpServletRequest)
          Use PageFlowStack.get(HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getPageInput(String, ServletRequest)
          Use PageFlowUtils.getActionOutput(java.lang.String, javax.servlet.ServletRequest) instead. 
org.apache.beehive.netui.pageflow.Forward.getPageInputs()
          Use Forward.getActionOutputs() instead. 
org.apache.beehive.netui.pageflow.PageFlowController.getPreviousForm()
          This method may return an ActionForm wrapper when the form bean type does not extend ActionForm. Use PageFlowController.getPreviousFormBean() instead. 
org.apache.beehive.netui.pageflow.FlowController.getPreviousPageInfoLegacy(PageFlowController, HttpServletRequest)
          This method will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.PageFlowController.getPreviousPageInfoLegacy(PageFlowController, HttpServletRequest)
          This method will be removed without replacement in the next release. 
org.apache.beehive.netui.pageflow.SharedFlowController.getPreviousPageInfoLegacy(PageFlowController, HttpServletRequest)
          This method will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.FlowController.getResources()
          This method can only return the resources for the default module. Use FlowController.getMessageResources() to get the resources for this FlowController. 
org.apache.beehive.netui.pageflow.FlowController.getResources(HttpServletRequest)
          Use FlowController.getMessageResources() instead. 
org.apache.beehive.netui.pageflow.FlowController.getResources(HttpServletRequest, String)
          Use FlowController.getMessageResources(String) instead. 
org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils.getScopedRequest(HttpServletRequest, String, ServletContext, Object)
          Use ScopedServletUtils.getScopedRequest(HttpServletRequest, String, ServletContext, Object, boolean). 
org.apache.beehive.netui.pageflow.FlowController.getServlet()
          This method will be removed with no replacement. In most cases, PageFlowManagedObject.getServletContext() is sufficient; for other cases, the ActionServlet itself is in the ServletContext attribute Globals.ACTION_SERVLET_KEY. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getSharedFlow(String, HttpServletRequest)
          Use PageFlowUtils.getSharedFlow(String, HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.script.ExpressionUpdateException.getUpdateValue()
            
org.apache.beehive.netui.pageflow.ActionResult.hadCompileErrors()
          This method now always returns false; compilation no longer happens at runtime. It will be removed in the next major release. 
org.apache.beehive.netui.pageflow.Forward.initialize(ActionMapping, FlowController)
          Use Forward.initialize(ActionMapping, FlowController, ServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.isAbsoluteURI(String)
          Use FileUtils.isAbsoluteURI(java.lang.String) instead. 
org.apache.beehive.netui.pageflow.FlowController.isCancelled(HttpServletRequest)
          This method will be removed without replacement in a future release. The normal method for cancelling in a form is to use the action attribute on Button, rather than avoiding validation on the current action. 
org.apache.beehive.netui.pageflow.GlobalApp.isNestable()
          Only page flows (PageFlowControllers) can be nested. 
org.apache.beehive.netui.pageflow.PageFlowUtils.isSecureResource(String, ServletContext)
          Use PageFlowUtils.getSecurityProtocol(String, ServletContext, HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.FlowController.isTokenValid(HttpServletRequest)
          Use FlowController.isTokenValid() instead. 
org.apache.beehive.netui.pageflow.FlowController.isTokenValid(HttpServletRequest, boolean)
          Use FlowController.isTokenValid(boolean) instead. 
org.apache.beehive.netui.pageflow.FlowController.lookup(String, ServletContext, HttpServletRequest, HttpServletResponse)
          Use PageFlowUtils.strutsLookup(javax.servlet.ServletContext, javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String[]) instead. This method will be removed in v1.1. 
org.apache.beehive.netui.pageflow.FlowController.lookup(String, ServletContext, HttpServletRequest, HttpServletResponse, String)
          Use PageFlowUtils.strutsLookup(javax.servlet.ServletContext, javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String[]) instead. This method will be removed in v1.1. 
org.apache.beehive.netui.pageflow.FlowController.onDestroy()
          FlowController.onDestroy(HttpSession) should be used instead. 
org.apache.beehive.netui.pageflow.scoping.ScopedRequest.persistAttributes()
          Moved the persisting of attributes out of the beehive NetUI layer. Use ScopedRequest.getAttributeMap() to get the attributes. 
org.apache.beehive.netui.pageflow.PageFlowUtils.preventCache(HttpServletResponse)
          Use ServletUtils.preventCache(javax.servlet.ServletResponse) instead. 
org.apache.beehive.netui.pageflow.ActionResult.printCompileErrors(PrintWriter)
          This method has no effect; compilation no longer happens at runtime. It will be removed in the next major release. 
org.apache.beehive.netui.pageflow.PageFlowUtils.removeLongLivedPageFlow(String, HttpServletRequest)
          Use PageFlowUtils.removeLongLivedPageFlow(String, HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.removeSharedFlow(String, HttpServletRequest)
          Use PageFlowUtils.removeSharedFlow(String, HttpServletRequest, ServletContext) instead. 
org.apache.beehive.netui.pageflow.FlowController.resetToken(HttpServletRequest)
          Use FlowController.resetToken() instead. 
org.apache.beehive.netui.pageflow.FlowController.resolveAction(String, Object)
          Use FlowController.resolveAction(String, Object, HttpServletRequest, HttpServletResponse) instead. 
org.apache.beehive.netui.pageflow.scoping.ScopedRequest.restoreAttributes()
          Moved the persisting of attributes out of the beehive NetUI layer. Use ScopedRequest.setAttributeMap(java.util.Map) to set/merge the attributes. 
org.apache.beehive.netui.pageflow.FlowController.saveErrors(HttpServletRequest, ActionMessages)
          Use FlowController.saveActionErrors(org.apache.struts.action.ActionMessages) instead. 
org.apache.beehive.netui.pageflow.FlowController.saveMessages(HttpServletRequest, ActionMessages)
          This method will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.FlowController.sendError(String, HttpServletResponse)
          Use FlowController.sendError(String, HttpServletRequest, HttpServletResponse) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.setCurrentActionResolver(ActionResolver, HttpServletRequest)
          This is an internal utility. InternalUtils.setCurrentActionResolver(org.apache.beehive.netui.pageflow.ActionResolver, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext) can be used, but it is not guaranteed to be supported in the future. This method will be removed in the next version. 
org.apache.beehive.netui.tags.databinding.datagrid.HeaderCell.setHeaderText(String)
            
org.apache.beehive.netui.pageflow.FlowController.setLocale(HttpServletRequest, Locale)
          Use FlowController.setLocale(Locale). 
org.apache.beehive.netui.tags.databinding.datagrid.HeaderCell.setValue(Object)
            
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.shouldDoSecureForwards()
          Use LegacySettings.shouldDoSecureForwards() instead. 
 

Deprecated Constructors
org.apache.beehive.netui.util.logging.Logger(Class)
            
org.apache.beehive.netui.util.logging.Logger(String)
            
 

Deprecated Enum Constants
org.apache.beehive.netui.pageflow.annotations.Jpf.NavigateTo.page
          Either Jpf.NavigateTo.currentPage or Jpf.NavigateTo.previousPage should be used instead.