[richfaces-issues] [JBoss JIRA] Reopened: (RF-7181) ReRender/Process: order unpredictable

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Mon Jun 1 08:56:03 EDT 2009


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

Mikhail Vitenkov reopened RF-7181:
----------------------------------

      Assignee: Nick Belaevski  (was: Alexander Dubovsky)


Use code, listed above with ajaxRendered="false" for a4j:outputPanel.
Verify order of components rerender.

Actual behavior:
effectsScript rendered first, independent on "reRender" in a4j:poll.
Verified at 3.3.2-snapshot

> ReRender/Process: order unpredictable
> -------------------------------------
>
>                 Key: RF-7181
>                 URL: https://jira.jboss.org/jira/browse/RF-7181
>             Project: RichFaces
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.1
>            Reporter: Nick Belaevski
>            Assignee: Nick Belaevski
>            Priority: Critical
>             Fix For: 3.3.2.CR1
>
>
> 	<a4j:poll id="poll" interval="5000" enabled="true" reRender="saTree, effectsScript"/> 
> 	<script type="text/javascript">window.effects = new Array();</script>
> 	<a4j:outputPanel id="effectsScript">
> 		<script type="text/javascript">
> 			while (effects.length > 0) {
> 				var effectFunc = effects.shift();
> 				effectFunc();
> 			}
> 		</script>
> 	</a4j:outputPanel>
> 	
> 	
> 	<rich:tree style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}" id="saTree">
> 			<rich:treeNode id="artistNode" type="artist" iconLeaf="/images/tree/singer.gif" icon="/images/tree/singer.gif">
> 				<h:outputText value="#{item.name}" />
> 				<rich:effect id="clickEffect" event="onclick" type="Highlight" params="duration:0.8" /> 
> 				<rich:effect id="evEff" for="artistNode" name="effects[effects.length]" rendered="#{true}" type="Highlight" params="duration:1.9" /> 
> 			</rich:treeNode>
> 			<rich:treeNode type="album" iconLeaf="/images/tree/disc.gif" icon="/images/tree/disc.gif">
> 				<h:outputText value="#{item.title}" />
> 			</rich:treeNode>
> 			<rich:treeNode type="song" iconLeaf="/images/tree/song.gif" icon="/images/tree/song.gif">
> 				<h:outputText value="#{item.title}" />
> 			</rich:treeNode>
> 		</rich:tree>
> 	</h:form>
> First effectsScript is executed, then saTree

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list