[richfaces-planning-issues] [JBoss JIRA] (RFPL-2972) Fix Metamer tests for validation of r:select

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Tue May 28 04:00:07 EDT 2013


     [ https://issues.jboss.org/browse/RFPL-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavol Pitonak updated RFPL-2972:
--------------------------------

    Description: 
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}

  was:
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}


    
> 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: Pavol Pitonak
>
> 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


More information about the richfaces-planning-issues mailing list