[richfaces-issues] [JBoss JIRA] Commented: (RF-11266) showcase - Tree Adaptors - selection of nodes does not work and it is possible to expand only one node on IE9

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Sep 1 18:18:26 EDT 2011


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

Brian Leathem commented on RF-11266:
------------------------------------

Cause:
The javascript object is attached to the dom object at:
{code:title=tree.js, line 44}this.__rootElt = $(this.attachToDom());{code}
The javascript object retrieval from the DOM fails at:
{code:title=tree.js, line 304}richfaces.$(node).__fireToggleEvent();{code}

Digging into how the javascript object is attached to the DOM:
{code:title=richfaces-base-component, line 227}
           attachToDom: function(source) {
                source = source || this.id;
                var element = richfaces.getDomElement(source);
                if (element) {
                    var container = element[richfaces.RICH_CONTAINER] = element[richfaces.RICH_CONTAINER] || {};
                    container.component = this;
                }
                return element;
            },
{code}

With a debugger, I've confirmed that the property "richfaces.RICH_CONTAINER" is indeed stored correctly in the _attachToDom_ method, but is nevertheless undefined upon subsequent retrieval when the toggleEvent is fired (with IE9).

There seems to be some problem saving state with IE9.  I will investigate using the [jQuery "data" method|http://api.jquery.com/data] to store and retrieve the data, rather than setting the property directly.

> showcase - Tree Adaptors - selection of nodes does not work and it is possible to expand only one node on IE9
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-11266
>                 URL: https://issues.jboss.org/browse/RF-11266
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: showcase
>    Affects Versions: 4.1.0.Milestone1
>         Environment: richfaces-showcase-4.1.0.20110805-M1-jee6.war
> container - JBoss AS 6.0.0.Final
> browser - IE 9
>            Reporter: Juraj Huska
>              Labels: ie9
>             Fix For: 4.1.0.Milestone2
>
>
> When I try to select any node, it is not highlighted and it is possible to expand only one node. After expanding one node, clicking on other expand signs does not work.

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