[richfaces-issues] [JBoss JIRA] (RF-13322) Tree: selectionchange event fired twice inside r:region

Matej Novotny (JIRA) issues at jboss.org
Mon Jul 28 03:27:34 EDT 2014


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

Matej Novotny updated RF-13322:
-------------------------------

    Description: 
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richTree/simpleSwingTreeNode.xhtml?templates=a4jRegion
# set attribute onselectionchange=alert('changed')
# select first node in tree ("Europe")

result:
* alert is displayed twice
* you can also run Metamer tests 
{code}
mvn clean verify -Pwildfly-remote-8-1 -Dtest=TestTreeAttributes#testOnselectionchangeInRegion -Dtemplates=a4jRegion
{code}
* all other templates work fine

  was:
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richTree/simpleSwingTreeNode.xhtml?templates=a4jRegion
# set attribute onselectionchange=alert('changed')
# select first node in tree ("Europe")

result:
* alert is displayed twice
* you can also run Metamer tests 
{code}
mvn clean verify -P jbossas-managed-7-1 -Dtest=TestTreeAttributes#testOnselectionchange -Dtemplates=a4jRegion
{code}
* all other templates work fine



> Tree: selectionchange event fired twice inside r:region
> -------------------------------------------------------
>
>                 Key: RF-13322
>                 URL: https://issues.jboss.org/browse/RF-13322
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tree
>    Affects Versions: 4.3.4, 4.5.0.Alpha3, 5.0.0.Alpha1
>         Environment: RichFaces 4.3.4.Final-redhat-1
> Metamer 4.3.5-SNAPSHOT
> JBoss Application Server: Weld Integration 7.2.1.Final-redhat-10
> JBoss AS 7.2.1.Final-redhat-10
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 30.0.1599.114 @ Linux x86_64
>            Reporter: Pavol Pitonak
>             Fix For: 4.5-Tracking, 5-Tracking
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richTree/simpleSwingTreeNode.xhtml?templates=a4jRegion
> # set attribute onselectionchange=alert('changed')
> # select first node in tree ("Europe")
> result:
> * alert is displayed twice
> * you can also run Metamer tests 
> {code}
> mvn clean verify -Pwildfly-remote-8-1 -Dtest=TestTreeAttributes#testOnselectionchangeInRegion -Dtemplates=a4jRegion
> {code}
> * all other templates work fine



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the richfaces-issues mailing list