]
Yura Zhishko closed JBIDE-2877.
-------------------------------
Verified in jbdevstudio-win32-2.0.0.CR1-N200812012353
<rich:dataTable>, <rich:column> interaction
-------------------------------------------
Key: JBIDE-2877
URL:
https://jira.jboss.org/jira/browse/JBIDE-2877
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.0.0.alpha
Reporter: Andrei Scherbovich
Assignee: Yura Zhishko
Fix For: 3.0.0.cr1
Attachments: booksale.zip, screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg,
screenshot-4.jpg, screenshot-5.jpg, sources.zip
1) Incorrect behavior of "styleClass" attribute of <rich:dataTable> with
the footer of <rich:column>. StyleClass aren't applied correctly to footer path
(see screenshot-1) in VPE.
2) Incorrect position of footer and header paths of <rich:column> (see
screenshot-3)
3) Incorrect realisation of interaction of <rich:columns> and <rich:column>
(see screenshot-4). <rich:columns> must stand near <rich:column> and not after
or before (at the bottom/top) it.
4) Incorrect size of header and footer paths of <rich:dataTable> when using
<rich:subTable> (see screenshot-5)
5) visible="false" doesn't work for the column inside rich:dataTable
correctly. Insert this part of code into attachment file:
<h:form>
<rich:dataTable value="#{bookList.bookList}" var="book"
style="width : 200px; height : 187px; float:right"
columnClasses="evenRow, oddRow" sortMode="multi">
<f:facet name="header">
<h:outputText value="#{msg.pageTitle}"/>
</f:facet>
<f:facet name="footer">
<h:outputText value="#{msg.priceColumnName}"/>
</f:facet>
<rich:column sortBy="#{book.price}" id="col2">
<f:facet name="header">
<h:outputText value="#{msg.priceColumnName}"/>
</f:facet>
<f:facet name="footer">
<h:outputText value="#{msg.priceColumnName}"/>
</f:facet>
<h:outputText value="#{book.price}"/>
</rich:column>
<rich:column id="col3" sortBy="#{book.numOfCopies}"
visible="false">
<f:facet name="footer">
<h:outputText value="#{msg.titleColumnName}"/>
</f:facet>
<f:facet name="header">
<h:outputText value="#{msg.titleColumnName}"/>
</f:facet>
<h:outputText value="#{book.numOfCopies}"/>
</rich:column>
<rich:column sortBy="#{book.price}" id="col4">
<f:facet name="header">
<h:outputText value="#{msg.priceColumnName}"/>
</f:facet>
<f:facet name="footer">
<h:outputText value="#{msg.priceColumnName}"/>
</f:facet>
<h:outputText value="#{book.price}"/>
</rich:column>
<rich:column id="col5" sortBy="#{book.numOfCopies}"
visible="false">
<f:facet name="footer">
<h:outputText value="#{msg.titleColumnName}"/>
</f:facet>
<f:facet name="header">
<h:outputText value="#{msg.titleColumnName}"/>
</f:facet>
<h:outputText value="#{book.numOfCopies}"/>
</rich:column>
</rich:dataTable>
</h:form>
Use attachment file (source) for reprodusing last 3 bugs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: