[JBoss JIRA] Created: (RF-5635) extendedDataTable: css classes defined in "columnClasses" attribute don't influence on columns width.
by Mikhail Vitenkov (JIRA)
extendedDataTable: css classes defined in "columnClasses" attribute don't influence on columns width.
-----------------------------------------------------------------------------------------------------
Key: RF-5635
URL: https://jira.jboss.org/jira/browse/RF-5635
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.CR3)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Minor
#1. Define css classes for component columns:
.leftColumn {
width: 50px;
height: 100%;
background-color: red;
}
.midColumn {
width: 250px;
height: 100%;
background-color: green;
}
.rightColumn {
width: 400px;
height: 100%;
background-color: yellow;
}
#2. Add extendedDataTable on the page, following way, as attachment.
#3. Set columnClasses="leftColumn, midColumn, rightColumn"(width attribute for component and it's columns shouldn't be defined)
#4. Navigate to page and verify extendedDataTable columns width.
Actual behavior:
Css classes(leftColumn, midColumn...) present in page code(see in firebug), but real width of columns remains the same as before columnClasses attribute using.
--
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-5707) extendedDataTable: JS error appears when visible="false" for any component column.
by Mikhail Vitenkov (JIRA)
extendedDataTable: JS error appears when visible="false" for any component column.
----------------------------------------------------------------------------------
Key: RF-5707
URL: https://jira.jboss.org/jira/browse/RF-5707
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.GA)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Optional
Place rich:column with visible="false" inside extendedDataTable:
<rich:column id="admissionDate" headerClass="dataTableHeader" visible="fasle"
width="25%" label="Admission date" sortable="true"
sortBy="#{patient.admissionDate}">
<f:facet name="header">
<h:outputText value="Admission date" />
</f:facet>
<h:outputText value="#{patient.admissionDate}" />
</rich:column>(test-application/jsp)
For more info see attached screenshot with js error.
--
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-5976) Multiple extendedDataTable on one page lead to a "Array index out of range"-Exception when user resizes a column of one of them
by Marcel Urbanek (JIRA)
Multiple extendedDataTable on one page lead to a "Array index out of range"-Exception when user resizes a column of one of them
-------------------------------------------------------------------------------------------------------------------------------
Key: RF-5976
URL: https://jira.jboss.org/jira/browse/RF-5976
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Marcel Urbanek
Priority: Minor
When I use only one extendedDataTable on a page, everything is fine.
When I use two or more extendedDataTable, with different number of columns, I get the following exception when I try to resize a column of the second table (if the tables have a different number of columns):
Error 500: Array index out of range: 8
at org.richfaces.component.ColumnsSizeState.changeColumnSize(ExtendedDataTableState.java:337)
Reason for that is the following: Richfaces seems to apply the changed column sizes to all(?) extendedDataTable in the View. It gets a little clearer whe you look at the requests that are submitted to the server:
AJAXREQUEST _viewRoot
columnResizeAction columnResizeAction
columnWidths 67;69;154;231;67;231;144;17;
This problem can be worked around, when I add a a4j:region around the tables. The Ajaxrequest then looks like the following:
AJAXREQUEST j_id10:workingTableRegion
columnResizeAction columnResizeAction
columnWidths 67;67;156;231;67;314;61;17;
So only the affected table is updated, no Exception occurs then.
--
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-6270) ExtendedDataTable: exception after column resizing if there are several ext. tables on the page which have different columns count
by Andrei Markavtsov (JIRA)
ExtendedDataTable: exception after column resizing if there are several ext. tables on the page which have different columns count
----------------------------------------------------------------------------------------------------------------------------------
Key: RF-6270
URL: https://jira.jboss.org/jira/browse/RF-6270
Project: RichFaces
Issue Type: Bug
Environment: RF 3.3.1-SNAPSHOT
Facelets 1.1.14
Reporter: Andrei Markavtsov
Assignee: Nick Belaevski
<h:form id="form">
<rich:extendedDataTable id="dt1" value="#{test3.rows}" var="row">
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value1}"></h:outputText>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value2}"></h:outputText>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value2}"></h:outputText>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value2}"></h:outputText>
</rich:column>
</rich:extendedDataTable>
<br/>
<rich:extendedDataTable id="dt2" value="#{test3.rows}" var="row">
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value1}"></h:outputText>
</rich:column>
</rich:extendedDataTable>
</h:form>
Try to resize the second table. Exception occurred:
java.lang.ArrayIndexOutOfBoundsException: 2
org.richfaces.component.ColumnsSizeState.changeColumnSize(ExtendedDataTableState.java:337)
org.richfaces.component.ExtendedDataTableState.changeColumnSize(ExtendedDataTableState.java:173)
org.richfaces.component.UIExtendedDataTable.processColumnResize(UIExtendedDataTable.java:186)
org.richfaces.component.UIExtendedDataTable.broadcast(UIExtendedDataTable.java:101)
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
--
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