[
https://jira.jboss.org/browse/RF-9567?page=com.atlassian.jira.plugin.syst...
]
Ilya Shaikovsky updated RF-9567:
--------------------------------
Assignee: Pavel Yaschenko
Fix Version/s: 4.0.0.Milestone4
Labels: richfaces4 autocomplete (was: )
Description:
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:
Validation and model updates should not occur during suggestions loading.
was:
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.
Component/s: component-input
Autocomplete completion shows validation messages before user request
to submit
-------------------------------------------------------------------------------
Key: RF-9567
URL:
https://jira.jboss.org/browse/RF-9567
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Milestone3
Reporter: Lukas Fryc
Assignee: Pavel Yaschenko
Fix For: 4.0.0.Milestone4
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:
Validation and model updates should not occur during suggestions loading.
--
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