[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, 10 months
[JBoss JIRA] Created: (RF-7241) assembly build broken because of error in combobox.js script
by Ilya Shaikovsky (JIRA)
assembly build broken because of error in combobox.js script
------------------------------------------------------------
Key: RF-7241
URL: https://jira.jboss.org/jira/browse/RF-7241
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.2.CR1
Reporter: Ilya Shaikovsky
Assignee: Ilya Shaikovsky
Priority: Critical
Fix For: 3.3.2.CR1
[INFO] context-menu.js (4093b) -> context-menu-min.js (2457b)[60%]
[ERROR] ...\target\modules\combobox\org\richfaces\renderkit\html\scripts\combobo
x.js:line 374:column 66:missing ) after condition
if((this.comboValue.value && (this.comboValue.value != v
alue)) {
[ERROR] ...\target\modules\combobox\org\richfaces\renderkit\html\scripts\combobo
x.js:line 375:column 14:syntax error
Richfaces.invokeEvent(this.onchange, this.combob
ox, "onchange", {value:value});
[ERROR] ...\target\modules\combobox\org\richfaces\renderkit\html\scripts\combobo
x.js:line 379:column 5:missing } after property list
.....
was caused by
if((this.comboValue.value && (this.comboValue.value != value)) {
Richfaces.invokeEvent(this.onchange, this.combobox, "onchange", {value:value});
}
--
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, 10 months
[JBoss JIRA] Created: (RF-6951) List shuttle causes "invalid value expression" error.
by aasia samreen (JIRA)
List shuttle causes "invalid value expression" error.
-----------------------------------------------------
Key: RF-6951
URL: https://jira.jboss.org/jira/browse/RF-6951
Project: RichFaces
Issue Type: Bug
Components: component-input
Affects Versions: 3.3.0
Environment: Windows XP,Eclipse 3.4.1, Sun JDK1.5.
Reporter: aasia samreen
Priority: Critical
I found this thread by search "invalidvalue expression".
Initially i was getting this exception for source list and after implementing the workaround using object array,it was working for source list.
And now iam getting the same exception for target list.
I tried to use an object array for target list as well but was not able to initialize the array (i need to specify the size but in this case array size is dyamic.)
Please have a look at the code:
<rich:listShuttle id="LineConfigs"
sourceValue="#{bean.availableline}"
targetValue="#{bean.selectedLine}" var="varaible"
sourceListWidth="280" listsHeight="250" targetListWidth="280"
binding="#{bean.ShuttleList}"
converter="convertor">
</rich:listShuttle>
public Object[] getAvailableLine() {
if (availableline== null) {
availableline = initialLineList.toArray();
}
return availableline ;
}
public Object[] getSelectedLine() {
if selectedLine== null) {
// how to initialize the array. as i dont have any control on the number of selected lines.?
}
return selectedLine;
--
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, 10 months