[richfaces-issues] [JBoss JIRA] (RF-12696) Tree: loading facet doesn't work for first click

Brian Leathem (JIRA) jira-events at lists.jboss.org
Mon Jan 7 18:14:08 EST 2013


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

Brian Leathem commented on RF-12696:
------------------------------------

The "loading.gif" is not fetched from the server until after the first ajax expansion takes place.  To correct this issue, we would have to aggressively render the loading facet.

A possible workaround is to directly include the image resource elsewhere on the page so that it is aggressively loaded (with _display:none_ for instance)
                
> Tree: loading facet doesn't work for first click
> ------------------------------------------------
>
>                 Key: RF-12696
>                 URL: https://issues.jboss.org/browse/RF-12696
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tree
>    Affects Versions: 4.3.0.M3
>         Environment: RichFaces 4.3.0-SNAPSHOT
> Metamer 4.3.0-SNAPSHOT
> Mojarra 2.0.7
> JBoss AS 7.1.2.Final-redhat-1
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 23.0.1271.97 @ Linux x86_64
>            Reporter: Pavol Pitonak
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richTree/simpleSwingTreeNode.xhtml?templates=a4jRepeat
> # check "Test Loading Facet" and "Delayed Render (1sec)"
> # toggle some node in first tree, e.g. "Europe"
> # toggle the same node two more times
> result:
> * tree node's icon should change to a loading icon
> * loading facet works for second and all following requests
> * there is the same problem when tree is inside all iteration components - a4j:repeat, rich:dataTable, rich:cst, rich:edt, rich:dataGrid, ui:repeat

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list