You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/12/15 17:10:28 UTC
svn commit: r1049629 - /myfaces/tobago/trunk/src/site/apt/migration-1.5.apt
Author: lofwyr
Date: Wed Dec 15 16:10:28 2010
New Revision: 1049629
URL: http://svn.apache.org/viewvc?rev=1049629&view=rev
Log:
doc: add JS changes
Modified:
myfaces/tobago/trunk/src/site/apt/migration-1.5.apt
Modified: myfaces/tobago/trunk/src/site/apt/migration-1.5.apt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/migration-1.5.apt?rev=1049629&r1=1049628&r2=1049629&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/apt/migration-1.5.apt (original)
+++ myfaces/tobago/trunk/src/site/apt/migration-1.5.apt Wed Dec 15 16:10:28 2010
@@ -158,3 +158,40 @@ Themes and CSS
*--+--+--+--+
| renamed | <<<tobago-textArea->>>* | <<<tobago-textarea->>>* |
*--+--+--+--+
+
+JavaScript
+
+ The JavaScript API has been refactored. Most application do not use the Tobago JavaScript API directly.
+ But if it does, you have to apply some changes.
+
+ The most important things, is the additional first parameter
+ on the submitting functions to compute the position of the action element.
+
+ If you are using <<<submitAction()>>> in the old code, you have to add the action element or just <<<null>>>.
+ If you are using <<<submitAction2()>>> in the old code, you have to rename it to <<<submitAction()>>>.
+
+*--+--+--+--+
+| added first param | <<<submitAction()>>> | |
+*--+--+--+--+
+| renamed | <<<submitAction2()>>> | <<<submitAction()>>> |
+*--+--+--+--+
+| added first param | <<<openPopupWithAction()>>> | |
+*--+--+--+--+
+| renamed | <<<openPopupWithAction2()>>> | <<<openPopupWithAction()>>> |
+*--+--+--+--+
+| added first param | <<<reloadComponent()>>> | |
+*--+--+--+--+
+| renamed | <<<reloadComponent2()>>> | <<<reloadComponent()>>> |
+*--+--+--+--+
+| added first param | <<<Updater.update()>>> | |
+*--+--+--+--+
+| renamed | <<<Updater.update2()>>> | <<<Updater.update()>>> |
+*--+--+--+--+
+| added first param | <<<Sheet.reloadWithAction()>>> | |
+*--+--+--+--+
+| renamed | <<<Sheet.reloadWithAction2()>>> | <<<Sheet.reloadWithAction()>>> |
+*--+--+--+--+
+| added first param | <<<TabGroup.reloadWithAction()>>> | |
+*--+--+--+--+
+| renamed | <<<TabGroup.reloadWithAction2()>>> | <<<TabGroup.reloadWithAction()>>> |
+*--+--+--+--+