[richfaces-issues] [JBoss JIRA] Commented: (RF-8430) AJAX: autocomplete is set for all inputs after update

Vadim Berezniker (JIRA) jira-events at lists.jboss.org
Tue Mar 9 12:40:58 EST 2010


    [ https://jira.jboss.org/jira/browse/RF-8430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12519011#action_12519011 ] 

Vadim Berezniker commented on RF-8430:
--------------------------------------


A4J.AJAX.replaceViewState = function(inputs,newinputs){
	      	  		LOG.debug("Replace value for inputs: "+inputs.length + " by new values: "+ newinputs.length);
        	  		if( (newinputs.length > 0) && (inputs.length > 0) ){
        	  			for(var i = 0 ; i < newinputs.length; i++){
        	  				var newinput = newinputs[i];
        	  				LOG.debug("Input in response: "+newinput.getAttribute("name"));
        	  				for(var j = 0 ; j < inputs.length; j++){
        	  					var input = inputs[j];
        	  					input.setAttribute("autocomplete", "off");
        	  					
        	  					if(input.name == newinput.getAttribute("name")){
	        	  				LOG.debug("Found same input on page with type: "+input.type);
        	  						input.value = newinput.getAttribute("value");
        	  					}
        	  				}
        	  			}
        	  		}

it does it here

> AJAX: autocomplete is set for all inputs after update
> -----------------------------------------------------
>
>                 Key: RF-8430
>                 URL: https://jira.jboss.org/jira/browse/RF-8430
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: core
>    Affects Versions: 3.3.3.BETA1
>            Reporter: Nick Belaevski
>            Assignee: Nick Belaevski
>             Fix For: 3.3.3.Final
>
>
> Details on forum

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list