[JBoss JIRA] Created: (RF-6039) Rerender is SubView Blind
by Francisco Jose Peredo Noguez (JIRA)
Rerender is SubView Blind
-------------------------
Key: RF-6039
URL: https://jira.jboss.org/jira/browse/RF-6039
Project: RichFaces
Issue Type: Bug
Reporter: Francisco Jose Peredo Noguez
rerender is subView blind, lets say we have 2 subview
<f:subview id="idSubview1">
<a:aRichControl="idOfRichControl">
<a:commandButton id="commandButton" reRender = "idOfRichControl">
</f:subview id="someSubview1">
<f:subview id="idSubview2">
<a:aRichControlid="idOfRichControl">
<a:commandButton id="commandButton" reRender = "idOfRichControl">
</f:subview id="someSubview1">
Since we are using subview, it does not matter that the id of the aRichControl inside each of the subview is the same, because the id of the subview is prefixed on runtime, so the ids of the two aRichControl end up being idSubview1:idOfRichControl and idSubview2:idOfRichControl.
But the problem is that reRender is subView blind, so, idSubview2.commandButton will reRender the first idSubview1:idOfRichControl instead of idSubview2:idOfRichControl.
--
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
15 years, 9 months
[JBoss JIRA] Created: (RF-8141) IE 8: resize of invisible extended data table leads to JavaScript error in calculateWidthsFromRatios
by Andreas Schank (JIRA)
IE 8: resize of invisible extended data table leads to JavaScript error in calculateWidthsFromRatios
----------------------------------------------------------------------------------------------------
Key: RF-8141
URL: https://jira.jboss.org/jira/browse/RF-8141
Project: RichFaces
Issue Type: Bug
Components: component-tables
Affects Versions: 3.3.2.SR1
Environment: IE 8, JBoss 5.1.0 GA, Liferay 5.2.3, JBoss Portlet Bridge 1.0.0.CR2
Reporter: Andreas Schank
While re-rendering a page with an hidden extended data table IE8 throws a JavaScript error in calculateWidthsFromRatios (extended-data-table.js) while resetting the width of the last column.
Since the total width of the extended data table is set to 0 a too large width is to be subtracted from the last colum which leads to an error.
I do not exactly know why the table will be resized (I guess because it is in a portlet temporarily hidden) but subtraction from the last column (or resizing the component) could be checked for the case that the value to be sutracted is too large or maybe the function skipped completely if maxWidth is 0.
--
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
15 years, 9 months