[
https://issues.jboss.org/browse/RF-12860?page=com.atlassian.jira.plugin.s...
]
David Lee edited comment on RF-12860 at 3/25/13 10:05 PM:
----------------------------------------------------------
Hi Jan,
For the rich:extendedDataTable I'm using with some more stuff ...
<rich:extendedDataTable id="table" var="items"
sortMode="multi" value="#{tablePage.tableDataModel}"
rows="#{tablePage.height}" selection="#{tablePage.selection}"
rowKeyVar="row" selectionMode="multiple"
onready="selectToCheckbox();" onrowdblclick="onRowdblclick();"
onselectionchange="selectToCheckbox();"
tableState="#{tablePage.tableState}"
noDataLabel="#{messages['noDataLabel']}" ...>
Also with
<a4j:ajax execute="table_form" event="selectionchange"
listener="#{tablePage.takeSelection()}" render=":panelcontent" />
Will that be the problem come from?
Thanks
was (Author: dlee606):
Hi Jan,
For the rich:extendedDataTable I'm using with some more stuff ...
<rich:extendedDataTable id="table" var="items"
sortMode="multi" value="#{tablePage.tableDataModel}"
rows="#{tablePage.height}" selection="#{tablePage.selection}"
rowKeyVar="row" selectionMode="multiple"
onready="selectToCheckbox();" onrowdblclick="onRowdblclick();"
onselectionchange="selectToCheckbox();"
tableState="#{tablePage.tableState}"
noDataLabel="#{messages['noDataLabel']}" ...>
Also with
<a4j:ajax execute="table_form" event="selectionchange"
listener="#{tablePage.takeSelection()}" render=":panelcontent" />
Will that be the problem come from?
Thanks
AccordionItem.js with error cause browser crash
-----------------------------------------------
Key: RF-12860
URL:
https://issues.jboss.org/browse/RF-12860
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-output
Affects Versions: 4.3.0.Final
Environment: JBOSS7/JSF2/FirefoxESR10 or Chrome25.0.1
Reporter: David Lee
Assignee: Jan Papousek
Labels: javascript, rich:accordionItem
Fix For: 4.3.2
Put the rich:accordionItem and rich:extendedDataTable on same page,
and just click on any column for sort.
The firebug will show an error:
items[i].__header is not a function
[Break On This Error]
h -= items[i].__header().outerHeight();
Looks like accordionItem.js line48 been triggered when sort:
$(document).one("javascriptServiceComplete", function () {
item.__fitToHeight(item.getTogglePanel());
});
And after this happened, my whole thing crashed.
Now more sortable or click for any action.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira