[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-2877) <rich:dataTable>, <rich:column> interaction

Yura Zhishko (JIRA) jira-events at lists.jboss.org
Mon Nov 17 09:27:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yura Zhishko updated JBIDE-2877:
--------------------------------

    Description: 
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.

  was:
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)
Use attachment file (source) for reprodusing last 3 bugs.



> <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: Yahor Radtsevich
>             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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list