incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwald...@apache.org
Subject svn commit: r450634 - in /incubator/adffaces/trunk/trinidad/trinidad-impl/src: main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/ test/resources/org/apache/myfaces/tr...
Date Wed, 27 Sep 2006 23:28:14 GMT
Author: jwaldman
Date: Wed Sep 27 16:28:13 2006
New Revision: 450634

URL: http://svn.apache.org/viewvc?view=rev&rev=450634
Log:
ADFFACES-187 fix 'panelRadio' component for PDA. I'm committing for Piyush Hari.

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/panelRadio-minimalPPC-golden.xml

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java?view=diff&rev=450634&r1=450633&r2=450634
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java
Wed Sep 27 16:28:13 2006
@@ -259,7 +259,8 @@
     //VAC this condition is needed for bug 4526850- It ensures that only
     //state token and form name parameters are overwritten when there is
     //a partial page submission.
-    if (!isPIE)
+    //PH:include condition that browser is not blackberry
+    if (!isPDA(arc))
     {
       _renderNeededValues(context, arc);
     }
@@ -278,7 +279,8 @@
     //this condition is needed for bug 4526850- It ensures that only
     //state token and form name parameters are overwritten when there is
     //a partial page submission.
-    if (isPIE && pprImpl == null)
+    //PH: also include blackberry browser in this condition
+    if (isPDA(arc) && pprImpl == null)
     {
       //PH: Add hidden elements in the form for enabling PPR on IE Mobile.
 
@@ -293,10 +295,16 @@
         FormData formData = arc.getFormData();
         if(formData != null)
         {
-          formData.addNeededValue(XhtmlConstants.EVENT_PARAM);
-          formData.addNeededValue(XhtmlConstants.SOURCE_PARAM);
-          formData.addNeededValue(XhtmlConstants.PARTIAL_TARGETS_PARAM);
-          formData.addNeededValue(XhtmlConstants.PARTIAL_PARAM);
+          //PH: add needed values for PIE to enable PPR.
+          if(isPIE)
+          {
+            formData.addNeededValue(XhtmlConstants.EVENT_PARAM);
+            formData.addNeededValue(XhtmlConstants.PARTIAL_TARGETS_PARAM);
+            formData.addNeededValue(XhtmlConstants.PARTIAL_PARAM);
+          }
+          else
+          //PH:add needed values for blackberry.
+            formData.addNeededValue(XhtmlConstants.EVENT_PARAM);
         }
       }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java?view=diff&rev=450634&r1=450633&r2=450634
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java
Wed Sep 27 16:28:13 2006
@@ -23,8 +23,10 @@
 import javax.faces.context.ResponseWriter;
 
 import org.apache.myfaces.trinidad.component.UIXShowDetail;
+import org.apache.myfaces.trinidad.context.RenderingContext;
 import org.apache.myfaces.trinidad.logging.TrinidadLogger;
 import org.apache.myfaces.trinidadinternal.renderkit.RenderUtils;
+import org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer;
 import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SkinSelectors;
 import org.apache.myfaces.trinidadinternal.share.url.URLEncoder;
 import org.apache.myfaces.trinidadinternal.ui.UIConstants;
@@ -187,7 +189,11 @@
                                             compId,
                                             childClientId,
                                             isImmediate);
-        out.writeAttribute("onclick", submitJS, null);
+        //PH:onclick javascript handler for a HTML SPAN element is not supported
+        //on PIE, IE Mobile or Blackberry 4.0. Therefore, create onclick 
+        //javascript for non-PDAs only.
+        if(!CoreRenderer.isPDA(RenderingContext.getCurrentInstance()))
+          out.writeAttribute("onclick", submitJS, null);
       }
 
       // render the radio button now
@@ -195,7 +201,22 @@
       out.writeAttribute("id", childClientId, null);
       out.writeAttribute("value", childClientId, null);
       out.writeAttribute("name", compId, null);
-
+        
+      //PH: onclick javascript handler for an INPUT element is supported on a 
+      //PDA. Therefore, create javascript for onclick on an INPUT element 
+      //instead of a SPAN element.
+      if(CoreRenderer.isPDA(RenderingContext.getCurrentInstance()))
+      {
+         boolean isImmediate = detailItem.isImmediate();
+         String submitJS = _getRadioSubmitJS(component,
+                                             rCtx,
+                                             formName,
+                                             compId,
+                                             childClientId,
+                                             isImmediate);
+         out.writeAttribute("onclick", submitJS, null);
+      }
+      
       if (disabled)
       {
         out.writeAttribute("disabled", Boolean.TRUE, null);
@@ -275,20 +296,39 @@
     boolean pprEnabled = elementSupportsPartial(rCtx, compId);
     if (pprEnabled)
     {
-      String encodedPartialTargets =
-        ShowOneUtils.getEncodedPartialTargets(component, compId);
-      StringBuffer jsBuff = new StringBuffer(220);
-      jsBuff.append("_submitPartialChange('")
-            .append(formName)
-            .append("',")
-            .append(validate)
-            .append(", {partialTargets:'")
-            .append(encodedPartialTargets)
-            .append("', event:'show',source:'")
-            .append(detailChildId)
-            .append("'});return true;");
-
-      onClickHandler = jsBuff.toString();
+      //PH:If agent is of type PDA, call submitForm instead of doing a full
+      //page submission since PPR on this component is not supported although
+      //pprEnabled is true for PIE and IE Mobile
+      if(CoreRenderer.isPDA(RenderingContext.getCurrentInstance())) 
+      {
+        StringBuffer jsBuff = new StringBuffer(135);
+        jsBuff.append("submitForm('")
+              .append(formName)
+              .append("',")
+              .append(validate)
+              .append(",{event:'show',source:'")
+              .append(detailChildId)
+              .append("'});return true;");
+              
+        onClickHandler = jsBuff.toString();          
+      }
+      else
+      {
+        String encodedPartialTargets =
+          ShowOneUtils.getEncodedPartialTargets(component, compId);
+        StringBuffer jsBuff = new StringBuffer(220);
+        jsBuff.append("_submitPartialChange('")
+              .append(formName)
+              .append("',")
+              .append(validate)
+              .append(", {partialTargets:'")
+              .append(encodedPartialTargets)
+              .append("', event:'show',source:'")
+              .append(detailChildId)
+              .append("'});return true;");
+    
+        onClickHandler = jsBuff.toString();
+      }
     }
     else
     {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/panelRadio-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/panelRadio-minimalPPC-golden.xml?view=diff&rev=450634&r1=450633&r2=450634
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/panelRadio-minimalPPC-golden.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/panelRadio-minimalPPC-golden.xml
Wed Sep 27 16:28:13 2006
@@ -71,6 +71,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -100,12 +101,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -135,12 +136,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -251,6 +252,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -280,12 +282,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -315,12 +317,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -431,6 +433,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -460,12 +463,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -495,12 +498,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -611,6 +614,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -640,12 +644,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -675,12 +679,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -791,6 +795,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -820,12 +825,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -855,12 +860,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -971,6 +976,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1000,12 +1006,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1035,12 +1041,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1151,6 +1157,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1180,12 +1187,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1215,12 +1222,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1331,6 +1338,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1360,12 +1368,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1395,12 +1403,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1511,6 +1519,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1540,12 +1549,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1575,12 +1584,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1691,6 +1700,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1720,12 +1730,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1755,12 +1765,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1871,6 +1881,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1900,12 +1911,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -1935,12 +1946,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2050,6 +2061,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="sDetailId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2079,12 +2091,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'sDetailId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="sDetailId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2114,12 +2126,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'sDetailId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="sDetailId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2230,6 +2242,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2259,12 +2272,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2294,12 +2307,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2410,6 +2423,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2439,12 +2453,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2474,12 +2488,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2589,6 +2603,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2618,12 +2633,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2653,12 +2668,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2768,6 +2783,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2797,12 +2813,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2832,12 +2848,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2954,6 +2970,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -2983,12 +3000,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -3018,12 +3035,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -3134,6 +3151,7 @@
                                checked="checked"
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -3163,12 +3181,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >
@@ -3198,12 +3216,12 @@
                         
                         <span
                              id="_idXXX_sor_tbl_span"
-                             onclick="_submitPartialChange('formId',1, {partialTargets:'mainId',
event:'show',source:'_idXXX'});return true;"
                             >
                           
                           <input
                                id="_idXXX"
                                name="mainId"
+                               onclick="submitForm('formId',1,{event:'show',source:'_idXXX'});return
true;"
                                type="radio"
                                value="_idXXX"
                               >



Mime
View raw message