Deprecated API


Contents
Deprecated Classes
com.opensymphony.xwork2.util.AnnotationXWorkConverter
          Since XWork 2.0.4, the implementation of XWorkConverter handles the processing of annotations. 
com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer
          Use DefaultObjectTypeDeterminer instead. Since XWork 2.0.4 the DefaultObjectTypeDeterminer handles the annotation processing. 
com.opensymphony.xwork2.MockActionInvocation
          Please use @see com.opensymphony.xwork2.mock.MockActionInvocation instead 
com.opensymphony.xwork2.util.XWorkList
          Native support for expanding lists and maps is provided in XWork 1.1, so this is no longer needed. 
com.opensymphony.xwork2.util.XWorkMap
          Native support for expanding lists and maps is provided in XWork 1.1, so this is no longer needed. 
 

Deprecated Methods
org.apache.struts2.components.Component.determineActionURL(String, String, String, HttpServletRequest, HttpServletResponse, Map, String, boolean, boolean)
           
com.opensymphony.xwork2.ActionSupport.getErrorMessages()
          Use ActionSupport.getActionErrors(). 
com.opensymphony.xwork2.ActionSupport.getErrors()
          Use ActionSupport.getFieldErrors(). 
org.apache.struts2.servlet.interceptor.ServletPrincipalProxy.getRequest()
          To obtain the HttpServletRequest in your action, use org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future. 
org.apache.struts2.interceptor.PrincipalProxy.getRequest()
          To obtain the HttpServletRequest in your action, use org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future. 
org.apache.struts2.portlet.interceptor.PortletPrincipalProxy.getRequest()
          To obtain the HttpServletRequest in your action, use org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future. 
com.opensymphony.xwork2.XWorkException.getThrowable()
          Use getCause() 
org.apache.struts2.components.Token.getTokenNameField()
          Templates should use $parameters from now on, not $tag. 
com.opensymphony.xwork2.validator.ValidatorFactory.getValidator(ValidatorConfig)
            
org.apache.struts2.util.StrutsUtil.include(Object, HttpServletRequest, HttpServletResponse)
          the request and response are stored in this util class, please use include(string) 
com.opensymphony.xwork2.validator.ValidatorFileParser.parseValidatorDefinitions(InputStream)
          Use parseValidatorDefinitions(InputStream, String) 
com.opensymphony.xwork2.validator.ValidatorFileParser.parseValidatorDefinitions(InputStream, String)
            
org.apache.struts2.views.xslt.XSLTResult.setLocation(String)
          Use #setStylesheetLocation(String) 
org.apache.struts2.views.jsp.ui.TextFieldTag.setMaxLength(String)
          please use TextFieldTag.setMaxlength(java.lang.String) instead 
org.apache.struts2.views.jsp.ui.SubmitTag.setOnLoadJS(String)
           
org.apache.struts2.views.jsp.ui.AnchorTag.setOnLoadJS(String)
           
org.apache.struts2.views.jsp.ui.SubmitTag.setPreInvokeJS(String)
           
org.apache.struts2.views.jsp.ui.AnchorTag.setPreInvokeJS(String)
           
org.apache.struts2.views.jsp.ui.SubmitTag.setResultDivId(String)
           
 



Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.