[richfaces-issues] [JBoss JIRA] Issue Comment Edited: (RF-11228) Metamer - input elements, validation and displaying output

Jan Papousek (JIRA) jira-events at lists.jboss.org
Thu Aug 18 04:21:17 EDT 2011


    [ https://issues.jboss.org/browse/RF-11228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621825#comment-12621825 ] 

Jan Papousek edited comment on RF-11228 at 8/18/11 4:21 AM:
------------------------------------------------------------

I've tried Metamer for 4.0 Final and there is the same behaviour. The problem can be that there two tags with event attribute set to 'change'.

For example:
{code:xml}
...
<rich:inplaceInput id="input3"
                   defaultLabel="#{richInplaceInputBean.attributes['defaultLabel'].value}"
                   value="#{richInplaceInputBean.value3}"
                   >
    <rich:validator event="change"/>
    <a4j:ajax event="change" render="output3"/>
</rich:inplaceInput>
...
{code}

Whole source code (rich:inplaceInput) is available here - http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/csv.xhtml.

----

EDIT: When I change the ajax event to something else, the output is rendered correctly.

{code:xml}
<a4j:ajax event="keyup" render="output3"/>
{code}

      was (Author: jpapouse):
    I've tried Metamer for 4.0 Final and there is the same behaviour. The problem can be that there two tags with event attribute set to 'change'.

For example:
{code:xml}
...
<rich:inplaceInput id="input3"
                   defaultLabel="#{richInplaceInputBean.attributes['defaultLabel'].value}"
                   value="#{richInplaceInputBean.value3}"
                   >
    <rich:validator event="change"/>
    <a4j:ajax event="change" render="output3"/>
</rich:inplaceInput>
...
{code}

Whole source code (rich:inplaceInput) is available here - http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/trunk/application/src/main/webapp/components/richInplaceInput/csv.xhtml.
  
> Metamer - input elements, validation and displaying output
> ----------------------------------------------------------
>
>                 Key: RF-11228
>                 URL: https://issues.jboss.org/browse/RF-11228
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.1.0.Milestone1
>         Environment:     * RichFaces 4.1.0.20110805-M1 r.10246d45dddd1d2aa2034317d5a832394cc919f9
>     * Metamer 4.1.0.20110805-M1 r.22604
>     * Mojarra 2.1.3-FCS
>     * Apache Tomcat 6.0.32
>     * OpenJDK Runtime Environment 1.6.0_22-b22 @ Linux
>     * Firefox 3.6.19 @ Linux i686 (x86_64)
>            Reporter: Jan Papousek
>             Fix For: 4.1.0.Milestone2
>
>
> When an input element is filled and validation passes, the output isn't displayed. This issue can be reproduced on a lot of pages in Metamer containg input elements and client side validation, e.q.:
> - faces/components/richCalendar/csv.xhtml
> - faces/components/richInplaceInput/csv.xhtml
> - faces/components/richInputNumberSpinner/csv.xhtml
> - ...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list