Alright... just got into work today to give this a try and it didn't work. 

<display:table name="${projects.rows}" id="row" border="1" cellpadding="2" 
cellspacing="0"
export="true" >
        <display:setProperty name="export.xml" value="false" />
        <display:setProperty name="export.csv" value="false" />
        <display:column property="project_name" title="Project Name" sortable="true"  
group="1" />
        <display:column property="project_id" title="Project ID" align="center" 
sortable="true" 
<display:column title="Resource">
        <c:out value="${row.lastname}, ${row.firstname} ${row.middlename}" />
</display:column>
</display:table>

The Project Name and Project ID columns display fine, but the only thing that's output
under the Resource column is the comma. Does this work for anyone else?

Keith


---------- Original Message -----------
From: Matt Raible <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Tue, 24 Aug 2004 11:35:17 -0600
Subject: Re: [displaytag-user] Multiple data fields in one column

> If you give your table an id - you can use that to access the properties 
> in the body of the column:
> 
> <display:table id="foo">
> 
> <display:column>
> <c:out value="${foo.firstName} ${foo.lastName}"/>
> </display:column>
> 
> Keith wrote:
> 
> >New to using the display taglib and am stumped by this on. Is there anyway to put 
> >more
> >than one data column in a single table column? In my case, I'm trying to output 
> >names. The
> >names are stored as firstname, middlename, and lastname; each individual columns in 
> >the
> >database table. I'd like to output them like "lastname, firstname middlename" all 
> >in the
> >same column.
> >
> >Thanks!
> >
> >Keith
> >
> >
> >-------------------------------------------------------
> >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> >_______________________________________________
> >displaytag-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >  
> >
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> displaytag-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
------- End of Original Message -------



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to