[richfaces-issues] [JBoss JIRA] (RF-12301) rich:validator and rich:ajax inside the same input element

Jan Papousek (JIRA) jira-events at lists.jboss.org
Fri Jun 1 06:01:19 EDT 2012


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

Jan Papousek updated RF-12301:
------------------------------

    Steps to Reproduce: 
# clone git://github.com/papousek/richfaces-sanbox.git and checkout RFPL-2201 branch
# build and deploy the project and open http://localhost:8080/richfaces-sandbox-jee6/
# choose an input component arbitrary
# set incorrect value and correct value to the component (where a4j:ajax is before/after the rich:validator) and see the difference

  was:
# clone git at github.com:papousek/richfaces-sanbox.git and checkout RFPL-2201 branch
# build and deploy the project and open http://localhost:8080/richfaces-sandbox-jee6/
# choose an input component arbitrary
# set incorrect value and correct value to the component (where a4j:ajax is before/after the rich:validator) and see the difference


    
> rich:validator and rich:ajax inside the same input element
> ----------------------------------------------------------
>
>                 Key: RF-12301
>                 URL: https://issues.jboss.org/browse/RF-12301
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core, component-input, component-validators
>    Affects Versions: 4.2.2.Final
>            Reporter: Jan Papousek
>
> This issue affects the following input components:
> - rich:autocomplete
> - rich:calendar
> - rich:inplaceInput
> - rich:inplaceInput
> - rich:select
> When the rich:validator and rich:ajax is placed inside the same input element, the order is important.
> The following code doesn't update update output area:
> {code}
> <rich:inplaceInput id="input" value="...">
>     <rich:validator />
>     <a4j:ajax event="change"  render="output" />
> </rich:inplaceInput>
> <rich:message id="message" for="input"/>
> <h:outputText id="output" value="..." />
> {code}
> The following code works correctly:
> {code}
> <rich:inplaceInput id="input" value="...">
>     <a4j:ajax event="change"  render="output" />
>     <rich:validator />
> </rich:inplaceInput>
> <rich:message id="message" for="input"/>
> <h:outputText id="output" value="..." />
> {code}

--
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