You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/01/15 23:21:55 UTC

svn commit: r612251 - /myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Author: bommel
Date: Tue Jan 15 14:21:55 2008
New Revision: 612251

URL: http://svn.apache.org/viewvc?rev=612251&view=rev
Log:
(TOBAGO-596) Duplicate component Id exception with tc:date and tx:date with facelets

Modified:
    myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=612251&r1=612250&r2=612251&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Tue Jan 15 14:21:55 2008
@@ -520,7 +520,7 @@
   /**
    * Submit the page with specified actionId and position data for popup.
    */
-  openPickerPopup: function(event, actionId, hiddenId) {
+  openPickerPopup: function(event, actionId, hiddenId, popupId) {
     var hidden = this.element(hiddenId);
     if (hidden) {
       // calculate position of command and size of window
@@ -530,8 +530,6 @@
       }
     }
     if (Tobago.Transport.hasTransport()) {
-      var idPrefix = hiddenId.substring(0, hiddenId.indexOf("Dimension"));
-      var popupId = idPrefix + "popup";
       Tobago.openPopupWithAction(popupId, actionId);
     } else {
       this.submitAction(actionId);