[
https://issues.jboss.org/browse/RFPL-2972?page=com.atlassian.jira.plugin....
]
Pavol Pitonak reassigned RFPL-2972:
-----------------------------------
Assignee: Jiří Štefek (was: Pavol Pitonak)
Fix Metamer tests for validation of r:select
--------------------------------------------
Key: RFPL-2972
URL:
https://issues.jboss.org/browse/RFPL-2972
Project: RichFaces Planning
Issue Type: Task
Security Level: Public(Everyone can see)
Components: QE
Affects Versions: 5.0.0.Alpha1
Reporter: Pavol Pitonak
Assignee: Jiří Štefek
Tests for validation in r:select fail. When performed manually, they seem to work fine.
{code}
mvn clean verify -Pjbossas-managed-7-1 -Dtest=TestSelectCSV#testCommonCase
{code}
One difference that I see in richSelect/csv.xhtml file is r:ajax and r:validator order
and configuration.
{code:xml|title=pattern (not working)}
<r:select id="pattern"
defaultLabel="#{richSelectBean.attributes['defaultLabel'].value}"
value="#{richSelectBean.patternValue}" >
<f:selectItems value="#{richSelectBean.validationOptionsPattern}" />
<r:validator event="blur"/>
<r:ajax event="change" render="patternMsg"/>
</r:select>
{code}
{code:xml|title=size (working)}
<r:select id="size"
defaultLabel="#{richSelectBean.attributes['defaultLabel'].value}"
value="#{richSelectBean.sizeValue}" >
<f:selectItems value="#{richSelectBean.validationOptionsSize}" />
<r:ajax event="change" render="sizeMsg"/>
<r:validator event="change"/>
</r:select>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira