[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 05:57:17 EDT 2012


Jan Papousek created RF-12301:
---------------------------------

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