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 ) {