[richfaces-issues] [JBoss JIRA] Updated: (RF-11111) <a4j:status> for <rich:tree> works on selecting a node; not on toggling (via Ajax) in RF4.0.0

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Jul 20 02:36:24 EDT 2011


     [ 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.1.0.Final


> <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.1.0.Final
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list