[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
14 years, 6 months
[JBoss JIRA] Created: (RF-8336) UIDataAdaptor: events broadcasting is happening with wrong client id
by Nick Belaevski (JIRA)
UIDataAdaptor: events broadcasting is happening with wrong client id
--------------------------------------------------------------------
Key: RF-8336
URL: https://jira.jboss.org/jira/browse/RF-8336
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 3.3.2.SR1
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: 4.0.0.BETA1
The following code:
<rich:dataTable var="top" value="#{forum5Bean.data}" rowKeyVar="row">
<rich:column>
<h:outputText value="#{top}" />
<a4j:commandButton value="Delete">
<a4j:actionparam value="#{row}"
assignTo="#{forum5Bean.itemValue}" />
</a4j:commandButton>
</rich:column>
</rich:dataTable>
doesn't work because parameter is submitted with name=clientId (i.e. including row number), but in the time of event broadcast, clientId of a4j:actionparam component doesn't include row index.
--
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
14 years, 7 months