[richfaces-issues] [JBoss JIRA] (RF-12158) Autocomplete component re-renders panels with ajaxRendered=true at each character being typed in into the autocomplete box

Cristian Cerb (JIRA) jira-events at lists.jboss.org
Mon Apr 23 12:27:18 EDT 2012


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

Cristian Cerb commented on RF-12158:
------------------------------------

Hi there,

In the provided sample, limitRender=true was added without knowing that autoomplete does not support that attribute. It can be removed from there, it's not relevant. Lukas explained to me that limitRender attribute is not necessary, because by definition an autocomplete is not supposed to re-render output panels with ajaxRendered set to true.
                
> Autocomplete component re-renders panels with ajaxRendered=true at each character being typed in into the autocomplete box
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-12158
>                 URL: https://issues.jboss.org/browse/RF-12158
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.0.Final
>         Environment: Windows 7, Chrome/IE/FF, Java 1.6, Tomcat 7, Spring 3.1
>            Reporter: Cristian Cerb
>            Assignee: Lukáš Fryč
>
> See this sample: https://gist.github.com/2353552
> And this forum entry: https://community.jboss.org/message/729173?tstart=0
> I tried to remove this: onkeypress="return submitOnEnter(event, '#{rich:clientId('qsPayorSupcdCmdBtnId')}')"
> and it worked fine. This JS piece of code produces a programatic button click when Enter is pressed inside autocomplete box.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list