[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, 5 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, 5 months