rich:scrollableDataTable is not rerendering ok
----------------------------------------------
Key: RF-5201
URL: https://jira.jboss.org/jira/browse/RF-5201
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Ubuntu Linux Intrepid Ibex, Mozilla Firefox 3.0.4
Reporter: Josue Martinez Buenrrostro
When i change the table contents (using the "rerender" option from a
commandButton) the table does not render well. The header is not showing its
contents and the columns are bad formed.
The commandButton changes partially the information of one column and "refresh"
the data.
The a4j:log component show:
debug[13:05:20,129]: Update part of page for Id: j_id24:tablaBienes:0:hcb_4
successful
debug[13:05:20,129]: Update page part from call parameter for ID
j_id24:tablaBienes:0:hcb_5
debug[13:05:20,129]: call getElementById for id= j_id24:tablaBienes:0:hcb_5
debug[13:05:20,130]: Replace content of node by replaceChild()
debug[13:05:20,131]: search for elements by name 'script' in element div
debug[13:05:20,131]: Scripts in updated part count : 0
debug[13:05:20,132]: Update part of page for Id: j_id24:tablaBienes:0:hcb_5
successful
debug[13:05:20,132]: Update page part from call parameter for ID
j_id24:tablaBienes:0:hcb_6
debug[13:05:20,132]: call getElementById for id= j_id24:tablaBienes:0:hcb_6
debug[13:05:20,133]: Replace content of node by replaceChild()
debug[13:05:20,134]: search for elements by name 'script' in element div
debug[13:05:20,134]: Scripts in updated part count : 0
debug[13:05:20,134]: Update part of page for Id: j_id24:tablaBienes:0:hcb_6
successful
debug[13:05:20,135]: Update page part from call parameter for ID
j_id24:tablaBienes:0:hcb_7
debug[13:05:20,135]: call getElementById for id= j_id24:tablaBienes:0:hcb_7
debug[13:05:20,136]: Replace content of node by replaceChild()
debug[13:05:20,136]: search for elements by name 'script' in element div
debug[13:05:20,137]: Scripts in updated part count : 0
debug[13:05:20,137]: Update part of page for Id: j_id24:tablaBienes:0:hcb_7
successful
debug[13:05:20,137]: Update page part from call parameter for ID
j_id24:tablaBienes:0:hcb_8
debug[13:05:20,138]: call getElementById for id= j_id24:tablaBienes:0:hcb_8
debug[13:05:20,139]: Replace content of node by replaceChild()
debug[13:05:20,139]: search for elements by name 'script' in element div
debug[13:05:20,140]: Scripts in updated part count : 0
debug[13:05:20,140]: Update part of page for Id: j_id24:tablaBienes:0:hcb_8
successful
debug[13:05:20,140]: Update page part from call parameter for ID
j_id24:tablaBienes:0:hcb_9
debug[13:05:20,141]: call getElementById for id= j_id24:tablaBienes:0:hcb_9
debug[13:05:20,142]: Replace content of node by replaceChild()
debug[13:05:20,142]: search for elements by name 'script' in element div
debug[13:05:20,143]: Scripts in updated part count : 0
debug[13:05:20,143]: Update part of page for Id: j_id24:tablaBienes:0:hcb_9
successful
debug[13:05:20,143]: Update page part from call parameter for ID
j_id24:tablaBienes:s
debug[13:05:20,143]: call getElementById for id= j_id24:tablaBienes:s
debug[13:05:20,144]: Replace content of node by replaceChild()
debug[13:05:20,145]: search for elements by name 'script' in element input
debug[13:05:20,145]: Scripts in updated part count : 0
debug[13:05:20,145]: call getElementById for id= org.ajax4jsf.oncomplete
debug[13:05:20,146]: Update part of page for Id: j_id24:tablaBienes:s successful
debug[13:05:20,146]: call getElementById for id= ajax-view-state
debug[13:05:20,146]: Hidden JSF state fields: [object HTMLSpanElement]
debug[13:05:20,147]: Namespace for hidden view-state input fields is undefined
debug[13:05:20,147]: search for elements by name 'input' in element span
debug[13:05:20,148]: Replace value for inputs: 19 by new values: 1
debug[13:05:20,149]: Input in response: javax.faces.ViewState
debug[13:05:20,150]: Found same input on page with type: hidden
debug[13:05:20,150]: Found same input on page with type: hidden
debug[13:05:20,151]: search for elements by name 'INPUT' in element span
debug[13:05:20,151]: Replace value for inputs: 19 by new values: 0
debug[13:05:20,151]: call getElementById for id= _ajax:data
debug[13:05:20,153]: call getElementById for id= _ajax:data
debug[13:05:20,153]: call getElementById for id= _A4J.AJAX.focus
debug[13:05:20,154]: No focus information in response
debug[13:05:20,387]: Evaluate script replaced area in document: //<![CDATA[
window.Richfaces_ScrollableGrid_j_id24_tablaBienes = new
ClientUI.controls.grid.ScrollableGrid({'hideWhenScrolling':false,'rowsCount':0,'columnsCount':10,'ids':['valuador','lote','ubicación','comentarios','descripcion','unidad','candidad','fotos','mandato','numero']
,'onSortAjaxUpdate':function(event){A4J.AJAX.Submit('_viewRoot','j_id24',event,{'oncomplete':function(request,event,data){window.Richfaces_ScrollableGrid_j_id24_tablaBienes.onSortComplete(request,event,data)},'similarityGroupingId':'j_id24:tablaBienes','parameters':{'j_id24:tablaBienes':'j_id24:tablaBienes','j_id24:tablaBienes:sortIndex':event.index,'j_id24:tablaBienes:sortOrder':event.order,'j_id24:tablaBienes:sortStartRow':event.startRow,'j_id24:tablaBienes:sortColumn':event.column}
,'actionUrl':'/carasa-lb-admin/richfaces/listarBienes.jsf'} ); return
false;},'selectionInput':'j_id24:tablaBienes:s','selectedClass':'','normalizedId':'j_!
id24_tablaBienes','client_id':'j_id24:tablaBienes','activeClass':''} ); ; //
]]>
error[13:05:20,388]: . Error message: $(this.client_id + "_rows_input") is null
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues