[richfaces-issues] [JBoss JIRA] Closed: (RF-821) <rich:dataGrid> does not support 'caption' facet.

Viktor Volkov (JIRA) jira-events at lists.jboss.org
Fri Mar 28 09:53:40 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-821?page=all ]

Viktor Volkov closed RF-821.
----------------------------

    Assignee: Viktor Volkov  (was: Sergey Halipov)

verified on 3.2.0 CR6

> <rich:dataGrid> does not support 'caption' facet.
> -------------------------------------------------
>
>                 Key: RF-821
>                 URL: http://jira.jboss.com/jira/browse/RF-821
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Sergey Halipov
>         Assigned To: Viktor Volkov
>             Fix For: 3.1.0
>
>         Attachments: dataGrid.png
>
>
> JSP code:
> <data:dataGrid id="master11" var="master" value="#{data.numbers}" columns="3" 
> 			    rowClasses="rowa,rowb,rowc rowcc" 
> 			    columnClasses="cola, colb ,rowc rowcc">
> 			    <f:facet name="caption"><h:outputText value="caption" /></f:facet>
> 			    <f:facet name="header"><h:outputText value="table head" /></f:facet>
> 			    <f:facet name="footer"><h:outputText value="table foot" /></f:facet>
> 			      <h:outputText value="#{master}" />
> 			      <h:outputText value="st" />
> 			</data:dataGrid>
> This grid will be rendered without caption (see attached screen shot).
> JUnit test fails also with caption:
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.failNotEquals(Assert.java:282)
> 	at junit.framework.Assert.assertEquals(Assert.java:64)
> 	at junit.framework.Assert.assertEquals(Assert.java:201)
> 	at junit.framework.Assert.assertEquals(Assert.java:207)
> 	at org.richfaces.component.DataGridComponentTest.testRenderDataGridFacets(DataGridComponentTest.java:154)
> 	at org.richfaces.component.DataGridComponentTest.testRenderDataGridFacets(DataGridComponentTest.java:154)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         ....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list