[richfaces-issues] [JBoss JIRA] Created: (RF-9567) rich:autocomplete - add bypassUpdates attribute

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Wed Oct 27 08:07:54 EDT 2010


rich:autocomplete - add bypassUpdates attribute
-----------------------------------------------

                 Key: RF-9567
                 URL: https://jira.jboss.org/browse/RF-9567
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.0.0.Milestone3
            Reporter: Lukas Fryc


from ML:

rich:autocomplete completion shows validation messages before user request to submit it's value

<a4j:outputPanel ajaxRendered="true"><h:messages /></a4j:outputPanel>

<rich:autocomplete mode="ajax" id="autocomplete" autocompleteMethod="#{...}" value="#{value}">
<f:validateRegexp value="Alabama" />
</a4j:autocomplete>

<rich:commandButton render="@form" execute="autocomplete" />


This code shows the validation message during each ajax request for completion.
I have two ideas how to work it around:

1. rich:autocomplete bypassUpdates=true
2. rich:autocomplete limitRender=true

But both are not implemented attributes in rich:autocomplete.

Ilya commented:

prefer to use bypassUpdates = true as if we will use limitRender - facesMessages will still be in context just not appear on the screen. Even considering that it's not implemented as attribute - it should be still possible to define as request parameter in autocomplete js. Please create jira for it. And if possible and not took much time we should have it in near release I think. 

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

        


More information about the richfaces-issues mailing list