[JBoss JIRA] Created: (RF-3488) DataScrollerPhaseListener searches component tree when not using datascroller component
by Peter Brewer (JIRA)
DataScrollerPhaseListener searches component tree when not using datascroller component
---------------------------------------------------------------------------------------
Key: RF-3488
URL: http://jira.jboss.com/jira/browse/RF-3488
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: RichFaces 3.2.0.SR1 + Seam 2.0.1.GA + JBoss AS 4.2.2.GA
Reporter: Peter Brewer
Priority: Minor
The org.richfaces.component.DataScrollerPhaseListener adds a phase listener that always searches through the component tree looking for a DataScroller component (to reset the pagination I think), evaluating the isRendered flag on each component.
I would suggest that, if possible, this should only occur when a DataScroller component is actually present on the page, avoiding the overhead of searching the entire component tree on each request. (Could the DataScroller component store its id in the view root attributes to switch the searching on/ off?)
Also, the evaluation of the rendered attribute by the phase listener ought to be documented to aid developers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-5201) rich:scrollableDataTable is not rerendering ok
by Josue Martinez Buenrrostro (JIRA)
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
17 years, 4 months
[JBoss JIRA] Created: (RF-5239) modalPanel: values of minWidth and minHeight in 'px' in the visualOptions attribute block resizeable functionality
by Tatyana Romanovich (JIRA)
modalPanel: values of minWidth and minHeight in 'px' in the visualOptions attribute block resizeable functionality
------------------------------------------------------------------------------------------------------------------
Key: RF-5239
URL: https://jira.jboss.org/jira/browse/RF-5239
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
Priority: Trivial
1. Go to the test application, select modalPanel component
2. Set visualOptions attribute to "minWidth:200,minHeight:100,width:400,height:300"
3. Open modalPanel1, verify sizes, try to miniaturize
RESULT: values from the visualOptions attribute were applied correctly
4. Set visualOptions attribute to "minWidth:200px,minHeight:100px,width:400px,height:300px"
5. Open modalPanel1, verify sizes, try to miniaturize
FAILURE: width and height values from the visualOptions attribute were applied correctly, but it's impossible to resize modalPanel
Note: in my mind:
1) minWidth, minHeight can be defined using px as width and height
2) incorrectly setted values should be ignored, or other, but shouldn't block resize modalPanel
--
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
17 years, 4 months
[JBoss JIRA] Created: (RF-5263) Tree with DnD: dragIndicator work incorrect in IE6-7.
by Alexander Dubovsky (JIRA)
Tree with DnD: dragIndicator work incorrect in IE6-7.
-----------------------------------------------------
Key: RF-5263
URL: https://jira.jboss.org/jira/browse/RF-5263
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA2, IE6-7
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Minor
Source is attached. In this example left tree accept nodes only from right tree and vice versa. ajaxSubmitSelection = "true" and reRender specified.
# Drag any node from left tree on any node from the same tree (do not release mouse button) => indicator show that item is not accepted - it is OK
# Move mouse on any node from right tree => indicator show that item is not accepted - it is WRONG (if release mouse button, selected node is moved from left tree to the right)
If select node, release mouse button and only after that drag element - all is OK.
--
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
17 years, 4 months