add: q.push(p+'='+v); } } else { var input = document.getElementById(inputs[i]); if (input) { p = inputs[i]; v = encodeURIComponent(input.value || ""); 
context:     toQueryString: function() {	var q = new Array();	var i,j,p,v;	if (this.options.inputs) {	    if (this[DynaFaces.gViewState]) {		p = encodeURIComponent(DynaFaces.gViewState);		v = encodeURIComponent(this[DynaFaces.gViewState]);		q.push(p+'='+v);	    }	    var inputs = this.options.inputs.split(",");	    if (inputs) {		for (i = 0; i < inputs.length; i++) {		    if (this[inputs[i]]) {			p = encodeURIComponent(inputs[i]);			if (this[inputs[i]].constructor == Array) {			    for (j = 0; j < this[inputs[i]].length; j++){				v = this[inputs[i]][j];				if (null != v) {				    v = encodeURIComponent(v);				    q.push(p+'='+v);				}			    }			} else {			    v = encodeURIComponent(this[inputs[i]]);			    q.push(p+'='+v);			}		    }		}	    }	}	else {	    for (property in this) {		if (this[property]) {		    if (typeof this[property] == 'function') continue;		    p = encodeURIComponent(property);		    if (this[property].constructor == Array) {			for (j = 0; j < this[property].length; j++) {			    v = this[property][j];			    if (null != v) {				v = encodeURIComponent(v);				q.push(p+'='+v);			    }			}		    } else {			v = encodeURIComponent(this[property]);			q.push(p+'='+v);		    }		}	    }	}	if (this.options.parameters) {	    q.push(this.options.parameters);	}	if (typeof this.options.collectPostData == 'function') {	    this.options.collectPostData(this.options.ajaxZone, this.options.source,				   q);	}	else if (typeof DynaFaces.gGlobalScope[this.options.collectPostData] == 'function') {	    DynaFaces.gGlobalScope[this.options.collectPostData](this.options.ajaxZone, 						 this.options.source, q);	}	if (this.options.action) {	    p = (this.options.ajaxZone) ? this.options.ajaxZone.id :	      this.options.source.id || this.options.source.name;	    q.push(encodeURIComponent(p)+'='+		   encodeURIComponent(this.options.action));	}	    	return q.join('&');    }
meta: 8755	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8755/9a5ce4cf77b9e88fcad971c24087317c06af6df9/com_sun_faces_ajax.js/clean/code/run-time/avatar/src/main/resources/com_sun_faces_ajax.js