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

Brian Leathem updated RF-11111:
-------------------------------

    Fix Version/s: 4.2.0.Tracking
                       (was: 4.1.0.Tracking)

    
> <a4j:status> for <rich:tree> works on selecting a node; not on toggling (via 
> Ajax) in RF4.0.0
> ---------------------------------------------------------------------------------------------
>
>                 Key: RF-11111
>                 URL: https://issues.jboss.org/browse/RF-11111
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core, component-tree
>    Affects Versions: 4.0.0.Final
>         Environment: WinXP; 6.0.0.Final; RichFaces 4.0.0
>            Reporter: Bastian Ulke
>              Labels: ajax, richfaces, status, toggle, tree
>             Fix For: 4.2.0.Tracking
>
>
> I have got the following tree:
> {code}
> <rich:tree var="item"  id="someTree" selectionType="ajax" toggleType="ajax" 
> treeSelectionChangeListener="#{someBean.selectionChanged}" 
>                               
> selectionChangeListener="#{someBean.selectionChanged}">
>       <rich:treeModelRecursiveAdaptor roots="#{someBean.entities}" 
>                               nodes="#{someBean.getSomeSubItems(item.id)}">
>               <rich:treeNode>
>                       <a4j:outputPanel>
>                               <h:outputText value="#{item.fullName}" />
>                       </a4j:outputPanel>
>               </rich:treeNode>
>       </rich:treeModelRecursiveAdaptor>
> </rich:tree>
> {code}
> And a status indicator:
> {code}
> <a4j:status layout="block" startStyleClass="startAjax" >
>       <f:facet name="start">
>               <img src="ajax-loader.gif" />
>       </f:facet
> </a4j:status>
> {code}
> The combination works well for selecting (!) a node: When the AJAX-request is 
> sent, it displays the gif, when it is received, it is removed. Unfortunatly, 
> when performing a toggle on a node, the gif is displayed but never removed, 
> although the data is correctly received and the view is updated. I added some 
> alert('..') messages for the on{success|error|stop}-Properties of the 
> <a4j:status> - same again: well fired for the selection of a particular node; 
> but none ever executed for toggling.

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to