| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| <head> |
| <title>Components : Backward Compatibility Changes</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| </head> |
| |
| <body> |
| <h1 align="center">Backward Compatibility Changes </h1> |
| |
| |
| <table border="2"> |
| <tr> |
| <td> |
| <p align="center" style="text-align: center"><b>Deprecated</b></p></td> |
| <td> |
| <p align="center" style="text-align: center"><b>New usage</b></p></td></tr |
| > |
| <tr> |
| <td> |
| <include ></td> |
| <td> |
| <insert ></td></tr> |
| <tr> |
| <td> |
| <putAttribute ></td> |
| <td> |
| <getAsString ></td></tr> |
| <tr> |
| <td> |
| <getAttribute ></td> |
| <td> |
| <getAsString ></td></tr> |
| <tr> |
| <td>< instance= > <br /> |
| (in tag <insert > or <include >)</td> |
| <td> |
| < definition= > <br /> |
| (in tag <insert >)< </td></tr> |
| <tr> |
| <td> |
| <p align="left">Default definitions file name : </p> |
| |
| <ul> |
| <li> |
| <div align="left">componentInstances.xml </div> |
| </li> |
| <li> |
| <div align="left">templateDefinitions.xml </div> </li></ul></td> |
| <td> |
| Several possibilities : |
| <ul> |
| <li>Keep same name and set it in xml-config.xml: |
| </li></ul> |
| <div align="center"> |
| <table border="2"> |
| <tr> |
| <td> |
| <p> |
| <init-param><br /> |
| <param-name><br /> |
| definitions-config<br /> |
| </param-name><br /> |
| <param-value><br /> |
| /WEB- |
| INF/templateDefinitions.xml<br /> |
| |
| </param-value><br /> |
| </init-param></p> |
| </td> |
| </tr> |
| </table></div> |
| <ul> |
| <li>Change name to new default |
| (componentDefinitions.xml) </li></ul></td></tr> |
| <tr> |
| <td> |
| Components parameter names in web.xml: |
| <ul> |
| <li>instances-config </li> |
| <li>instances-debug </li></ul></td> |
| <td> |
| |
| Use new names : |
| <ul> |
| <li>definitions-config </li> |
| <li>definitions-debug |
| </li></ul></td></tr></table> |
| To update your web site, replace all deprecated tags with new |
| tags. |
| <br /> |
| You can use replacement |
| tools to search for <strong>:include </strong>to be replaced by |
| <strong>:insert |
| </strong> |
| |
| </body> |
| </html> |