Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by HubertRabago:
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13

The comment on the change is:
Added to the deprecations that have been removed.

------------------------------------------------------------------------------
  }}}
  
  == 4 Deprecations which have been removed ==
+ 
+ === 4.1 struts-config_1_3.dtd ===
+ Removed the contextRelative attribute of the forward element.
+ 
+ === 4.2 Classes ===
+ ActionError has been removed.  Use ActionMessage instead.
+ 
+ === 4.3 Methods and properties ===
+ ||Class||Member||Comments||
+ ||Action||defaultLocale||Use Locale.getDefault directly.||
+ ||Action||saveErrors(HttpServletRequest request, ActionErrors errors)||Use 
saveErrors(HttpServletRequest, ActionMessages) instead.||
+ ||ActionErrors||GLOBAL_ERROR||Use ActionMessages.GLOBAL_MESSAGE instead.||
+ ||ActionErrors||add||Use add(String, ActionMessage) instead.||
+ ||DynaActionFormClass||clear()||No longer need to Clear our cache of 
<code>DynaActionFormClass</code> instances.||
+ ||ExceptionHandler||void storeException(...ActionError...)||Use 
storeException(...ActionMessage...) instead.||
+ ||RequestProcessor||log(String)||Use Commons Logging Log class||
+ ||RequestProcessor||log(String,Throwable)||Use Commons Logging Log class||
+ ||FormBeanConfig||setDynamic()||This value is now computed automatically.||
+ ||ForwardConfig||contextRelative||Use module instead||
+ ||ForwardConfig||ForwardConfig(...contextRelative...) constructor||Use 
ForwardConfig(...module...) instead.||
+ ||ModuleException||error||Use message instead.||
+ ||ModuleException||getError||Use getActionMessage() instead.||
+ ||validator.Resources||SERVLET_CONTEXT_KEY||Use SERVLET_CONTEXT_PARAM||
+ ||validator.Resources||HTTP_SERVLET_REQUEST_KEY||Use 
HTTP_SERVLET_REQUEST_PARAM||
+ ||validator.Resources||ACTION_ERRORS_KEY ||Use ACTION_MESSAGES_PARAM||
+ ||validator.Resources||getLocale()||Use RequestUtils.getUserLocale() 
instead.||
+ ||validator.Resources||getActionError()||Use getActionMessage() instead.||
+ ||RequestUtils||selectModule() [2 forms]||Use equivalent method in 
MethodUtils.||
+ ||RequestUtils||getModuleName() [2 forms]||Use equivalent method in 
MethodUtils.||
+ ||RequestUtils||getRequestModuleConfig()||Use equivalent method in 
MethodUtils.||
+ ||RequestUtils||getModuleConfig()||Use equivalent method in MethodUtils.||
+ ||RequestUtils||getModulePrefixes()||Use equivalent method in MethodUtils.||
+ ||MessageTag||defaultLocale||unused, no replacements.||
+ ||BaseHandlerTag||defaultLocale||unused, no replacements.||
+ ||ErrorsTag||defaultLocale||unused, no replacements.||
+ ||JavascriptValidatorTag||defaultLocale||unused, no replacements.||
+ ||OptionTag||defaultLocale||unused, no replacements.||
+ ||ErrorsTag||lineEnd||unused, no replacements.||
+ ||HtmlTag||getCurrentLocale()||locale is no longer being used.||
+ ||ImgTag||isContextRelativeSet()||contextRelative is no longer being used.||
+ ||TagUtils (Taglib)||getActionErrors()||use getActionMessages() instead.||
+ ||TagUtils (Tiles)||getProperty()||Use PropertyUtils.getProperty() directly.||
+ 
- === 4.1 TLD URLs ===
+ === 4.4 TLD URLs ===
- The struts-taglib and struts-tiles distributions no longer include TLDs which 
are configured with the old URIs under the ''jakarta.apache.org'' domain name.  
You must make the following changes:
+ The struts-taglib and struts-tiles distributions no longer include TLDs which 
are configured with 
+ 
+ the old URIs under the ''jakarta.apache.org'' domain name.  You must make the 
following changes:
  ||Deprecated, now removed||Replacement||
  
||http://jakarta.apache.org/struts/tags-bean||http://struts.apache.org/tags-bean||
  
||http://jakarta.apache.org/struts/tags-html||http://struts.apache.org/tags-html||
  
||http://jakarta.apache.org/struts/tags-logic||http://struts.apache.org/tags-logic||
  
||http://jakarta.apache.org/struts/tags-nested||http://struts.apache.org/tags-nested||
  
||http://jakarta.apache.org/struts/tags-tiles||http://struts.apache.org/tags-tiles||
+ 
+ === 4.5 Tag Attributes ===
+ ||Tag||Attribute||Comments||
+ ||bean:include||name||Use page instead.||
+ ||html:html||locale||Use lang instead.||
+ ||html:img||contextRelative||Use module instead.||
+ ||html:img||lowsrc||Non-standard attribute; No longer supported.||
  
  ----
  Some users who were not using the Struts taglibs or tiles have reported 
success with simply "dropping-in" the Struts 1.3 "core" JAR and Commons Chain 
1.0.  This is unlikely to work if you have not been keeping up with deprecation 
warnings, as many deprecated methods and classes are being completely removed 
with the Struts 1.3.0 release.  ('''note:''' we should keep an explicit list, 
either here or in the change log)  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to