[JBoss JIRA] Created: (RF-7181) ReRender/Process: order unpredictable
by Nick Belaevski (JIRA)
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
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
14 years, 11 months