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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Jun 1 09:06:56 EDT 2009


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

Nick Belaevski resolved RF-7181.
--------------------------------

    Resolution: Done
      Assignee: Mikhail Vitenkov  (was: Nick Belaevski)


"Ajax areas will be reRendered in order that this defined at page, so if you want rerender one area before another, specify this areas one before another on the page" - that's the right behavior.

> 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: Mikhail Vitenkov
>            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