[richfaces-svn-commits] JBoss Rich Faces SVN: r6346 - branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Tue Feb 26 08:31:58 EST 2008
Author: maksimkaszynski
Date: 2008-02-26 08:31:58 -0500 (Tue, 26 Feb 2008)
New Revision: 6346
Modified:
branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
http://jira.jboss.com/jira/browse/RF-2325
Modified: branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-02-26 13:17:43 UTC (rev 6345)
+++ branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-02-26 13:31:58 UTC (rev 6346)
@@ -1299,11 +1299,15 @@
_value_query : function(control){
- LOG.debug("Append "+control.type+" control "+control.name+" with value ["+control.value+"] and value attribute ["+control.getAttribute('value')+"]");
- if(null != control.value){
- this.appendParameter(control.name, control.value);
- }
- },
+ if (control.name) {
+ LOG.debug("Append "+control.type+" control "+control.name+" with value ["+control.value+"] and value attribute ["+control.getAttribute('value')+"]");
+ if(null != control.value){
+ this.appendParameter(control.name, control.value);
+ }
+ } else {
+ LOG.debug("Ignored "+control.type+" no-name control with value ["+control.value+"] and value attribute ["+control.getAttribute('value')+"]");
+ }
+ },
_check_query : function(control){
if( control.checked ) {
More information about the richfaces-svn-commits
mailing list