[JBoss JIRA] (RF-12193) rich:extendedDataTable is blank on show
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12193?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-12193:
------------------------------------
The cause of this issue is in this section of the initialize code:
{code}
this.rowHeight = this.dataTableElement.offsetHeight / this.rows;
if (this.rowCount != this.rows) {
this.contentElement.style.height = (this.rowCount * this.rowHeight) + "px";
}
{code}
when the EDT is not displayed, the _offsetHeight_ is 0, so the calculated height of the EDT is 0.
A possible fix would be to:
# absolutely position the EDT off the page,
# display it,
# calculate the offsetHeight,
# un-display it,
# re-position it.
However it is not clear how well this would work when the EDT's display is controlled by the display property of a parent element.
> rich:extendedDataTable is blank on show
> ---------------------------------------
>
> Key: RF-12193
> URL: https://issues.jboss.org/browse/RF-12193
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.2.1.Final
> Environment: Firefox 11, Internet Explorer 8
> Reporter: Nick Dev
> Assignee: Brian Leathem
> Fix For: 4.3.2, 5-Tracking
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> rich:extendedDataTable is blank when shown after it was hidden.
> Firefox: complete table is blank.
> IE: table header is not displayed.
> Table is shown after resizing the window.
--
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
12 years, 11 months
[JBoss JIRA] (RF-12193) rich:extendedDataTable is blank on show
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12193?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-12193:
------------------------------------
A more reliable workaround for me is to run the ExtendedDataTable's _initialize_ method after displaying the table, as in:
{code}
RichFaces.$($('#form1\\:extendedDataTable').get(0)).initialize()
{code}
> rich:extendedDataTable is blank on show
> ---------------------------------------
>
> Key: RF-12193
> URL: https://issues.jboss.org/browse/RF-12193
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.2.1.Final
> Environment: Firefox 11, Internet Explorer 8
> Reporter: Nick Dev
> Assignee: Brian Leathem
> Fix For: 4.3.2, 5-Tracking
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> rich:extendedDataTable is blank when shown after it was hidden.
> Firefox: complete table is blank.
> IE: table header is not displayed.
> Table is shown after resizing the window.
--
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
12 years, 11 months
[JBoss JIRA] (RF-12193) rich:extendedDataTable is blank on show
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12193?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-12193:
------------------------------------
Reproduced in Chrome 26, however the workaround did not work for me.
> rich:extendedDataTable is blank on show
> ---------------------------------------
>
> Key: RF-12193
> URL: https://issues.jboss.org/browse/RF-12193
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.2.1.Final
> Environment: Firefox 11, Internet Explorer 8
> Reporter: Nick Dev
> Assignee: Brian Leathem
> Fix For: 4.3.2, 5-Tracking
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> rich:extendedDataTable is blank when shown after it was hidden.
> Firefox: complete table is blank.
> IE: table header is not displayed.
> Table is shown after resizing the window.
--
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
12 years, 11 months
[JBoss JIRA] (RF-12839) Toggle panels: ajax-related attributes don't work
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12839?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reopened RF-12839:
--------------------------------
Re-opening to verify we keep backward compatibility.
> Toggle panels: ajax-related attributes don't work
> -------------------------------------------------
>
> Key: RF-12839
> URL: https://issues.jboss.org/browse/RF-12839
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.1
> Environment: RichFaces 4.3.2-SNAPSHOT
> Metamer 4.3.2-SNAPSHOT
> JBoss Application Server: Weld Integration 7.1.3.Final-redhat-4
> JBoss AS 7.1.3.Final-redhat-4
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 25.0.1364.160 @ Linux x86_64
> Reporter: Pavol Pitonak
> Assignee: Brian Leathem
> Fix For: 4.3.2
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richTab/simple.xhtml
> # set oncomplete to "alert('complete')"
> # switch to tab 2 and back to tab 1
> result:
> * alert should be diplayed but isn't
> * tabs are correctly switched
> * worked fine in 4.2.3.Final
> * several attributes don't work - onbegin, onbeforedomupdate, oncomplete, data, execute, immediate, render, limitRender, status
> * affected components: tab, toggle panel item, accordion item
--
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
12 years, 11 months