incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r504440 [1/2] - in /incubator/adffaces/branches/panel-popup-branch/trinidad: trinidad-demo/src/main/webapp/WEB-INF/ trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/ trinidad-impl/src/main/java/org/apache/myfac...
Date Wed, 07 Feb 2007 05:31:46 GMT
Author: awiner
Date: Tue Feb  6 21:31:42 2007
New Revision: 504440

URL: http://svn.apache.org/viewvc?view=rev&rev=504440
Log:
Check in latest patch from Danny Robinson
- Dialogs will now appear at a fixed size if specified, or will resize to that
of the first dialog page and remain that size for all other pages.
- for popup-based dialogs, do not use a FRAMESET
 inside of the IFRAME;  just use the IFRAME
- Added javascript code to only register events when popup shown
- Populate title of the popup based on the title of the dialog's content
- Size the popup based on the content

Modified:
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-demo/src/main/webapp/WEB-INF/web.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/DialogRequest.java
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/BodyRenderer.java
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPopupRenderer.java
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateField.js
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PanelPopup.js
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PopupDialog.js
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIE-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIERtl-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalInacc-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalSaf-golden.xml
    incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalScrRdr-golden.xml

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-demo/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-demo/src/main/webapp/WEB-INF/web.xml?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-demo/src/main/webapp/WEB-INF/web.xml (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-demo/src/main/webapp/WEB-INF/web.xml Tue Feb  6 21:31:42 2007
@@ -22,6 +22,12 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
          version="2.4">
+  <context-param>
+    <param-name>org.apache.myfaces.trinidadinternal.renderkit.USE_DIALOG_POPUP</param-name>
+    <param-value>true</param-value>
+  </context-param>
+
+
   <!-- Use client-side state saving.  In Trinidad, it is an
        optimized, token-based mechanism that is almost always a
        better choice than the standard JSF server-side state saving. -->

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java Tue Feb  6 21:31:42 2007
@@ -221,7 +221,7 @@
                                               sourceId,
                                               formId,
                                               windowProperties,
-                                              _usePopup(context));
+                                              usePopupForDialog(context));
     _getDialogList(context, true).add(request);
     return true;
   }
@@ -237,7 +237,7 @@
     RequestContext afC = RequestContext.getCurrentInstance();
     try
     {
-      boolean usePopup = _usePopup(context);
+      boolean usePopup = usePopupForDialog(context);
       String returnId = null;
       if (!usePopup)
       {
@@ -254,14 +254,13 @@
       out.write("<script>");
       if (usePopup)
       {
-        out.write("parent.parent.returnFromDialog();");
+        out.write("parent.returnFromDialog();");
       }
       else
       {
         out.write("var callback = 'ADFDialogReturn[" + returnId + "]()';");
         out.write("top.opener.setTimeout(callback, 1);");
         out.write("top.close()");
-        out.write("parent.parent.setTimeout(callback, 1);");
 
         _LOG.fine("Returning from dialog using return ID {0}", returnId);
       }
@@ -735,7 +734,7 @@
   // Returns true if popups should be used to display dialogs
   // (Currently defaults to off)
   //
-  static private boolean _usePopup(FacesContext context)
+  static public boolean usePopupForDialog(FacesContext context)
   {
     String usePopup = context.getExternalContext().getInitParameter(
        _USE_DIALOG_POPUP_INIT_PARAM);

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/DialogRequest.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/DialogRequest.java?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/DialogRequest.java (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/DialogRequest.java Tue Feb  6 21:31:42 2007
@@ -55,10 +55,19 @@
     Object width = dialogProperties.get("width");
     Object height = dialogProperties.get("height");
 
-    _url = FredJSP.getRedirectURL(FacesContext.getCurrentInstance(),
-                                  targetRoot,
-                                  CoreRenderer.toString(width),
-                                  CoreRenderer.toString(height));
+    FacesContext context = FacesContext.getCurrentInstance();
+
+    if (usePopup)
+    {
+      _url = context.getApplication().getViewHandler().getActionURL(context, targetRoot.getViewId());
+    }
+    else
+    {
+      _url = FredJSP.getRedirectURL(context,
+                                    targetRoot,
+                                    CoreRenderer.toString(width),
+                                    CoreRenderer.toString(height));
+    }
     
     _dialogProperties  = dialogProperties;
   }
@@ -82,7 +91,7 @@
       out.writeText("TrPopupDialog._launchPopupDialog(\"", null);
     else
       out.writeText("_launchDialog(\"", null);
-
+    
     out.writeText(_url, null);
     if (!_usePopup)
     {
@@ -95,14 +104,14 @@
     // Get some default widths and heights out there in
     // case they're omitted
     boolean writtenOne = false;
-    if (!_dialogProperties.containsKey("width"))
+    if (!_dialogProperties.containsKey("width") && !_usePopup)
     {
       out.writeText("width:", null);
       out.writeText(_DEFAULT_WIDTH, null);
       writtenOne = true;
     }
 
-    if (!_dialogProperties.containsKey("height"))
+    if (!_dialogProperties.containsKey("height") && !_usePopup)
     {
       if (writtenOne)
         out.writeText(",", null);

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/BodyRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/BodyRenderer.java?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/BodyRenderer.java (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/BodyRenderer.java Tue Feb  6 21:31:42 2007
@@ -32,10 +32,10 @@
 import org.apache.myfaces.trinidad.component.html.HtmlBody;
 import org.apache.myfaces.trinidad.context.RequestContext;
 
-
 import org.apache.myfaces.trinidad.context.RenderingContext;
 import org.apache.myfaces.trinidad.skin.Skin;
 
+import org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit;
 
 /**
  * Renderer for the panelPartialRoot.
@@ -199,23 +199,37 @@
       onload = null;
     else
       onload = toString(bean.getProperty(_onloadKey));
+    
+    StringBuffer js = new StringBuffer(50);
+    
+    // FIXME: call this from _checkLoad() instead of rendering
+    // it into every onload
+    if (CoreRenderKit.usePopupForDialog(FacesContext.getCurrentInstance()))
+    {
+      js.append("TrPopupDialog._initDialogPage();");
+    }
+    
     if (PartialPageUtils.supportsPartialRendering(arc))
-	{
-	  // Don't short circuit...
-	  //PH:_checkLoad(event) is replaced by _checkLoad() because on certain
-	  //devices like IE Mobile , event object is not defined. Moreover,
-	  //_checkLoad function does not use event object. So, remove it altogether
-	  //for all PPR devices
-	  onload = XhtmlUtils.getChainedJS("_checkLoad()", onload, false);
-	}
-	//PH: Currently, if a browser supports PPR, _checkLoad function is called
-	//that sets initialFocus if set.For non-PPR browsers like blackBerry 4.0,
-	//no body onload function is called. hence, initialFocus cannot is not set.
-	//Therefore, created another function _checkLoadNoPPR() This function is
-	//called by the onLoad JS handler of body tag when device does not support
-	//PPR
-	else
-	  onload = XhtmlUtils.getChainedJS("_checkLoadNoPPR()", onload, false);
+    {
+      // Don't short circuit...
+      //PH:_checkLoad(event) is replaced by _checkLoad() because on certain
+      //devices like IE Mobile , event object is not defined. Moreover,
+      //_checkLoad function does not use event object. So, remove it altogether
+      //for all PPR devices
+      js.append("_checkLoad()");
+    }
+    else
+    {
+      //PH: Currently, if a browser supports PPR, _checkLoad function is called
+      //that sets initialFocus if set.For non-PPR browsers like blackBerry 4.0,
+      //no body onload function is called. hence, initialFocus cannot is not set.
+      //Therefore, created another function _checkLoadNoPPR() This function is
+      //called by the onLoad JS handler of body tag when device does not support
+      //PPR
+      js.append("_checkLoadNoPPR()");
+    }
+
+    onload = XhtmlUtils.getChainedJS(js.toString(), onload, false);
 
     return onload;
   }
@@ -528,4 +542,5 @@
   static private final String _PPR_BACK_SAVE_CONTENT_ID = "_pprSavePage";
   static private final String _PPR_BACK_SAVE_SCRIPT_ID = "_pprSaveScript";
   static private final String _PPR_BACK_SAVE_LIBRARY_ID = "_pprSaveLib";
+
 }

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPopupRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPopupRenderer.java?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPopupRenderer.java (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPopupRenderer.java Tue Feb  6 21:31:42 2007
@@ -126,9 +126,6 @@
     ResponseWriter writer = context.getResponseWriter();
     String clientId = getClientId(context, component);
 
-    // output the popup javascript library
-    _POPUP_LIB.outputScriptlet(context, arc);
-    
     _renderTrigger(context, arc, component, bean);
 
     // render the outer div that is the actual popup container
@@ -285,9 +282,6 @@
 
   private PropertyKey _contentStyleKey;
   
-  static private final Scriptlet _POPUP_LIB =
-    new LibraryScriptlet("PanelPopup", null);
-
   private static final String _POPUP_CONTAINER_ID_SUFFIX = "_popupContainer";
 
   /**

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java Tue Feb  6 21:31:42 2007
@@ -45,6 +45,7 @@
 import org.apache.myfaces.trinidad.validator.DateTimeRangeValidator;
 import org.apache.myfaces.trinidadinternal.agent.TrinidadAgent;
 import org.apache.myfaces.trinidadinternal.convert.GenericConverterFactory;
+import org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit;
 import org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry;
 import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.ConfigurationScriptlet;
 import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet;
@@ -371,6 +372,10 @@
     onClickBuffer.append(id);
     onClickBuffer.append('\'');
 
+    // decide if we should display the picker in a popup or window
+    onClickBuffer.append(',');
+    onClickBuffer.append(CoreRenderKit.usePopupForDialog(context));
+    
     DateTimeRangeValidator dtrv = _findDateTimeRangeValidator(bean);
     if (dtrv != null)
     {
@@ -398,7 +403,7 @@
         onClickBuffer.append(maxTime);
       }
     }
-
+    
     onClickBuffer.append("); return false");
 
     return onClickBuffer.toString();

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java Tue Feb  6 21:31:42 2007
@@ -985,6 +985,9 @@
   }
 
 
+  static private final String _USE_DIALOG_POPUP_INIT_PARAM =
+    "org.apache.myfaces.trinidadinternal.renderkit.USE_DIALOG_POPUP";
+
   private PropertyKey _shortDescKey;
   private PropertyKey _styleClassKey;
   private PropertyKey _inlineStyleKey;

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateField.js
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateField.js?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateField.js (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/DateField.js Tue Feb  6 21:31:42 2007
@@ -166,11 +166,12 @@
 
 
 /**
- * Provate function for launching the date picker
+ * Private function for launching the date picker
  */
 function _ldp(
   formName,
   nameInForm,
+  usePopup,
   minValue,
   maxValue,
   destination
@@ -190,7 +191,11 @@
   if (!destination)
   {
     destination = _jspDir + _getQuerySeparator(_jspDir);
-    destination += "_t=fred&_red=cd";
+    if (usePopup)
+      //don't use frame redirect
+      destination += "_t=cd";
+    else
+      destination += "_t=fred&_red=cd";
   }
   else
   {
@@ -250,14 +255,47 @@
   {
     destination += "&maxValue=" + maxValue; 
   }
+
+  if (usePopup)
+  {
+    //
+    // initialize and open the dialog passing callback details
+    //
+    var dialog = _DATE_DIALOG;
+    if (!dialog)
+    {
+      dialog = _DATE_DIALOG = new TrPopupDialog();
+      dialog.callback = _returnPopupCalendarValue;
+    }
+    dialog.callbackProps = { formNameKey:formName, fieldNameKey:nameInForm };
+    dialog.setDestination(destination);
+    //dialog.setSize(350, 370);
+    dialog.openDialog();
+  }
+  else
+  {
+    // Open the window;  we used to name it "calendar", but
+    // that's a common enough name that we hit a fun bug
+    // where we overwrote a window from an entirely different source.
+    // Give at a random name, in homage of the particular
+    // bug number
+    var calWindow = openWindow(self,
+                               destination,
+                               'uix_2807778',
+                               {width:350, height:370},
+                               true,
+                               void 0,
+                               _returnCalendarValue);
   
-  //
-  // initialize and open the dialog passing callback details
-  //
-  var popup = new TrPopupDialog(370, 350);
-  popup.callback = _returnPopupCalendarValue;
-  popup.callbackProps = { formNameKey:formName, fieldNameKey:nameInForm };
-  popup.launchDialog(destination);
+    // save the date field on the calendar window for access
+    // from event handler
+    calWindow._dateField = dateField;
+
+    // And, for bug 1879034, stash it on a JS variable.  It
+    // seems that IE sometimes has already blown away the values
+    // on "calWindow"!
+    _savedField1879034 = dateField;  
+  }
 }
 
 // _dfgv(): Date Field Get Value function
@@ -424,24 +462,37 @@
 
 function _doCancel()
 {
-  var popup = top.TrPanelPopup.getCurrentPanelPopup();
-  popup.returnValue = (void 0);
-  popup.hide();
-//  top.returnValue = (void 0);
-//  top.close();
+  if (parent._DATE_DIALOG)
+  {
+    var dialog = parent._DATE_DIALOG;
+    dialog.returnValue = (void 0);
+    dialog.returnFromDialog();
+  }
+  else
+  {
+    top.returnValue = (void 0);
+    top.close();
+  }
   return false;
 }
 
 function _selectDate(dateTime)
 {
-  var popup = top.TrPanelPopup.getCurrentPanelPopup();
-  popup.returnValue = dateTime;
-  popup.hide();
-//  top.returnValue = dateTime;
-//  top._unloadADFDialog(window.event);
-//  top.close();return false;
+  if (parent._DATE_DIALOG)
+  {
+    var dialog = parent._DATE_DIALOG;
+    dialog.returnValue = dateTime;
+    dialog.returnFromDialog();
+  }
+  else
+  {
+    top.returnValue = dateTime;
+    top._unloadADFDialog(window.event);
+    top.close();return false;
+  }
   return false;
 }
 
+var _DATE_DIALOG;
 
 var _savedField1879034;

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PanelPopup.js
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PanelPopup.js?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PanelPopup.js (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PanelPopup.js Tue Feb  6 21:31:42 2007
@@ -34,10 +34,6 @@
 //the modal mask - shared by all instances
 TrPanelPopup._mask = false;
 
-// TOODO: only register this while a popup is visible
-//register the onclick handlers
-TrPanelPopup._addEvent(document, "click", TrPanelPopup._documentOnClick);
-
 //useful event registration function
 TrPanelPopup._addEvent = function(obj, evType, fn)
 {
@@ -58,6 +54,26 @@
   }
 }
 
+//useful event deregistration function
+TrPanelPopup._removeEvent = function(obj, evType, fn)
+{
+  // TODO: abstract onto Agent object
+  if (obj.removeEventListener)
+  {
+    obj.removeEventListener(evType, fn, false);
+    return true;
+  }
+  else if (obj.detachEvent)
+  {
+    var r = obj.detachEvent("on"+evType, fn);
+    return r;
+  }
+  else
+  {
+    return false;
+  }
+}
+
 TrPanelPopup._documentOnClick = function(event)
 {
   //use document level onclick so we know when to hide non-modals  
@@ -73,7 +89,7 @@
   if (!TrPanelPopup._mask)
     return;
 
-  if (window.innerHeight!=window.undefined) 
+  if (window.innerHeight!=window.undefined)
     fullHeight = window.innerHeight;
   else if (document.compatMode=='CSS1Compat')
     fullHeight = document.documentElement.clientHeight;
@@ -86,7 +102,7 @@
     fullWidth = document.documentElement.clientWidth;
   else if (document.body)
     fullWidth = document.body.clientWidth;
-  
+    
   // Determine what's bigger, scrollHeight or fullHeight / width
   if (fullHeight > document.body.scrollHeight)
   {
@@ -165,9 +181,15 @@
     
   this._calcPosition(event);
   
-  if (this.isModal()) {
+  if (this.isModal())
+  {
     this._showMask();
   }
+  else
+  {
+    //setup event handler to close the popup if clicked off
+    TrPanelPopup._addEvent(document, "click", TrPanelPopup._documentOnClick);
+  }
 
   this.getContainer().style.visibility = "visible"; 
   
@@ -184,6 +206,12 @@
   {
     this._hideMask();
   }
+  else
+  {
+    //cancel callbacks
+    TrPanelPopup._removeEvent(document, "click", TrPanelPopup._documentOnClick);
+  }
+  
   this.getContainer().style.visibility = "hidden";
   //move popup back to top left so it won't affect scroll size if window resized
   this.getContainer().style.left = "0px";
@@ -192,7 +220,6 @@
   //call the callback function if attached
   if (this.callback)
   {
-    //alert('callback function attached: ' + this.callback + ', callbackProps:' + this.callbackProps + ', returnValue:' + this.returnValue);
     this.callback(this.callbackProps, this.returnValue);
   }
 
@@ -306,8 +333,8 @@
   var yOffset = isIE ? document.body.scrollTop : window.pageYOffset;
   var scrollWidth = document.body.scrollWidth;
   var scrollHeight = document.body.scrollHeight;
-  var bodyWidth = isIE ? document.body.clientWidth : window.innerWidth;
-  var bodyHeight = isIE ? document.body.clientHeight : window.innerHeight;
+  var bodyWidth = isIE ? document.documentElement.clientWidth : window.innerWidth;
+  var bodyHeight = isIE ? document.documentElement.clientHeight : window.innerHeight;
   var containerWidth = this.getContainer().clientWidth;
   var containerHeight = this.getContainer().clientHeight;
   

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PopupDialog.js
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PopupDialog.js?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PopupDialog.js (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/PopupDialog.js Tue Feb  6 21:31:42 2007
@@ -16,41 +16,69 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-function TrPopupDialog(height, width)
+function TrPopupDialog()
 {
   var div = document.createElement("div");
   div.style.cssText = "visibility:hidden; position: absolute; z-index: 201;";
+  // TODO: this will only work when names aren't abbreviated.
+  // We need to send down the abbreviated names (when abbreviations
+  // are in effect)
+  div.className = "af_panelPopup_container";
+  
+  //setup the title bar
+  var titlebar = document.createElement("div");
+  // TODO: this will only work when names aren't abbreviated
+  titlebar.className = "af_panelPopup_titlebar af_panelPopup_title-text";
+  div.appendChild(titlebar);
+  this._titleDiv = titlebar;
 
   //setup the content iframe
   var iframe = document.createElement("iframe");
   iframe.name = "_blank";
-  iframe.height = "200px";
-  if (height)
-    iframe.height = height;
-  iframe.width = "200px";
-  if (width)
-    iframe.width = width;
   
   //hold the iframe so we can set the 'src' as needed.
   this._iframe = iframe;
-  
+    
   div.appendChild(iframe);
   document.body.appendChild(div);
   
+  //create a flag for locking the dialog size
+  this._lockSize = false;
+  
   this.base = TrPanelPopup;
-  this.base(true, true, div, false);// modal, the div, no trigger
+  this.base(true, true, div, false);// modal, centered, the div, no trigger
 }
 
 TrPopupDialog.prototype = TrPanelPopup.prototype;
 
-TrPopupDialog.prototype.launchDialog = function(url)
-{
-  this.show(false); //no event to pass as we're centered anyway
+/**
+ * Set the title bar text
+ **/
+TrPanelPopup.prototype.setTitle = function(title) {
+  if (title)
+    this._titleDiv.innerHTML = title;
+};
 
+TrPopupDialog.prototype.setDestination = function(url)
+{
   this._iframe.src = url;
-  this._iframe.focus();
+}
+
+TrPopupDialog.prototype.setSize = function(width, height) {
+  this._lockSize = false;
   
-  return this._iframe;
+  if (width && height)
+  {
+    this._resize(width, height);
+    //prevent further resizes through resizeToPage
+    this._lockSize = true;
+  }
+}
+
+
+TrPopupDialog.prototype.openDialog = function()
+{
+  this.show();
 }
 
 TrPopupDialog.prototype.returnFromDialog = function()
@@ -63,10 +91,59 @@
   this._iframe.src = "about:blank";
 }
 
-TrPopupDialog.prototype.resize = function(height, width)
+/**
+ * Resize the content area of the dialog
+ **/
+TrPopupDialog.prototype._resize = function(width, height)
 {
   this._iframe.height = height;
   this._iframe.width = width;
+  this._calcPosition(false);
+}
+
+/**
+ * Resizes the dialog to fit its contents.  This function is only
+ * callable once each time the dialog is shown.
+ **/
+TrPopupDialog.prototype.resizeToPage = function()
+{
+  if (this._lockSize)
+    return;
+
+  this._resize(
+    this._iframe.contentWindow.document.body.scrollWidth + 40, 
+    this._iframe.contentWindow.document.body.scrollHeight + 40);
+
+  //prevent further resizes
+  this._lockSize = true;
+}
+
+/**
+ * Called from dialog page (usually body onload) to set the dialog title to
+ * that of the current page, and handle any resizing that may be required.
+ **/
+TrPopupDialog._initDialogPage = function()
+{
+  var dialog;
+
+  try
+  {
+    dialog = parent.TrPopupDialog.DIALOG;
+    if (!dialog)
+      return;
+  }
+  catch(err)
+  {
+    //if 'parent' is in a different URL domain, you could get a security exception.
+    //ignore it.
+  }
+  
+  dialog.setTitle(document.title);
+  
+  dialog.resizeToPage();
+  
+  dialog.openDialog();
+  
 }
 
 function returnFromDialog()
@@ -106,10 +183,15 @@
 {
   var dialog = TrPopupDialog.DIALOG;
   if (!dialog)
+  {
     dialog = TrPopupDialog.DIALOG = new TrPopupDialog();
-
-  dialog.callback = TrPopupDialog._returnFromDialogAndSubmit;
+    dialog.callback = TrPopupDialog._returnFromDialogAndSubmit;
+  }
+  
   dialog.callbackProps = { formNameKey:formName, postbackKey:postbackId, partialKey:partial };
-  dialog.resize(features['height'], features['width']);
-  dialog.launchDialog(srcURL);
+  dialog.setDestination(srcURL);
+  dialog.setSize(features['width'], features['height']);
+  
+  //dialog will be opened by initDialogPage() once dialog page has loaded
+  //this prevents lots of up/down sizing of popup if not specifically sized.
 }

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml Tue Feb  6 21:31:42 2007
@@ -42,7 +42,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -150,7 +150,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -259,7 +259,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -323,7 +323,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -422,7 +422,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -492,7 +492,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -556,7 +556,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -620,7 +620,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -690,7 +690,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -760,7 +760,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -830,7 +830,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -900,7 +900,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -964,7 +964,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','test-id'); return false"
+                 onclick="_ldp('formId','test-id',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1029,7 +1029,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1101,7 +1101,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1165,7 +1165,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1229,7 +1229,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1294,7 +1294,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1359,7 +1359,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1424,7 +1424,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1489,7 +1489,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1554,7 +1554,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1619,7 +1619,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1684,7 +1684,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1749,7 +1749,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1814,7 +1814,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1879,7 +1879,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml Tue Feb  6 21:31:42 2007
@@ -38,7 +38,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -141,7 +141,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -245,7 +245,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -304,7 +304,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -398,7 +398,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -463,7 +463,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -522,7 +522,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -581,7 +581,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -646,7 +646,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -711,7 +711,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -776,7 +776,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -841,7 +841,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -900,7 +900,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','test-id'); return false"
+                 onclick="_ldp('formId','test-id',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -960,7 +960,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1027,7 +1027,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1086,7 +1086,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1145,7 +1145,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1205,7 +1205,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1265,7 +1265,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1325,7 +1325,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1385,7 +1385,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1445,7 +1445,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1505,7 +1505,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1565,7 +1565,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1625,7 +1625,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1685,7 +1685,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1745,7 +1745,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml Tue Feb  6 21:31:42 2007
@@ -38,7 +38,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -141,7 +141,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -245,7 +245,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -304,7 +304,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -398,7 +398,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -463,7 +463,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -522,7 +522,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -581,7 +581,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -646,7 +646,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -711,7 +711,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -776,7 +776,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -841,7 +841,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -900,7 +900,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','test-id'); return false"
+                 onclick="_ldp('formId','test-id',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -960,7 +960,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1027,7 +1027,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1086,7 +1086,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1145,7 +1145,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1205,7 +1205,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1265,7 +1265,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1325,7 +1325,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1385,7 +1385,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1445,7 +1445,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1505,7 +1505,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1565,7 +1565,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1625,7 +1625,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1685,7 +1685,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1745,7 +1745,7 @@
               t(8,1)
             </script>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml Tue Feb  6 21:31:42 2007
@@ -40,7 +40,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -143,7 +143,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -242,7 +242,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -302,7 +302,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -396,7 +396,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -462,7 +462,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -522,7 +522,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -582,7 +582,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -648,7 +648,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -714,7 +714,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -780,7 +780,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -846,7 +846,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -906,7 +906,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','test-id'); return false"
+                 onclick="_ldp('formId','test-id',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -967,7 +967,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1029,7 +1029,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1089,7 +1089,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1149,7 +1149,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1210,7 +1210,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1271,7 +1271,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1332,7 +1332,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1393,7 +1393,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1454,7 +1454,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1515,7 +1515,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1576,7 +1576,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1637,7 +1637,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1698,7 +1698,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1759,7 +1759,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml Tue Feb  6 21:31:42 2007
@@ -42,7 +42,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -150,7 +150,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -259,7 +259,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -323,7 +323,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -422,7 +422,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -492,7 +492,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -556,7 +556,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -620,7 +620,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -690,7 +690,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -760,7 +760,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -830,7 +830,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -900,7 +900,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -964,7 +964,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','test-id'); return false"
+                 onclick="_ldp('formId','test-id',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1029,7 +1029,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1095,7 +1095,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1159,7 +1159,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1223,7 +1223,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1288,7 +1288,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1353,7 +1353,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1418,7 +1418,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1483,7 +1483,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1548,7 +1548,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1613,7 +1613,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1678,7 +1678,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1743,7 +1743,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1808,7 +1808,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1873,7 +1873,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml Tue Feb  6 21:31:42 2007
@@ -42,7 +42,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -151,7 +151,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -260,7 +260,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -324,7 +324,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -423,7 +423,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -493,7 +493,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -557,7 +557,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -621,7 +621,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -691,7 +691,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -761,7 +761,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -831,7 +831,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -901,7 +901,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -965,7 +965,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','test-id'); return false"
+                 onclick="_ldp('formId','test-id',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1030,7 +1030,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1102,7 +1102,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1166,7 +1166,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1230,7 +1230,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1295,7 +1295,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1360,7 +1360,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1425,7 +1425,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1490,7 +1490,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1555,7 +1555,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1620,7 +1620,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1685,7 +1685,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1750,7 +1750,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1815,7 +1815,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               
@@ -1880,7 +1880,7 @@
               
             </img>
             <a
-                 onclick="_ldp('formId','mainId'); return false"
+                 onclick="_ldp('formId','mainId',false); return false"
                  href="uri-attr:#"
                 >
               

Modified: incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml?view=diff&rev=504440&r1=504439&r2=504440
==============================================================================
--- incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml (original)
+++ incubator/adffaces/branches/panel-popup-branch/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml Tue Feb  6 21:31:42 2007
@@ -22,7 +22,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -86,7 +86,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -152,7 +152,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -194,7 +194,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -249,7 +249,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','test-id'); return false"
+             onclick="_ldp('formId','test-id',false); return false"
              href="uri-attr:#"
             >
           
@@ -292,7 +292,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -341,7 +341,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -383,7 +383,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -425,7 +425,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -468,7 +468,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -511,7 +511,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -554,7 +554,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -597,7 +597,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -640,7 +640,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -683,7 +683,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -726,7 +726,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -769,7 +769,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -812,7 +812,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           
@@ -855,7 +855,7 @@
           
         </img>
         <a
-             onclick="_ldp('formId','mainId'); return false"
+             onclick="_ldp('formId','mainId',false); return false"
              href="uri-attr:#"
             >
           



Mime
View raw message