Matt, we are running on JRun 4. Having just a string constant in the body causes the same behavior, a blank column heading.

Scott



Matt Raible <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

05/03/2005 05:05 PM

Please respond to
[email protected]

To
[email protected]
cc
Subject
Re: [displaytag-user] titleKey not working on colums with body





What app server are you running on?  What happens if you just put "foo"
in the column's body?

Matt

On May 3, 2005, at 3:10 PM, [EMAIL PROTECTED] wrote:

>
> Hello, I am using the 1.0 release of the displaytag and I am having
> trouble with the titleKey attribute. It seems to work fine on columns
> that are using the property attribute to render the data. However, my
> columns that have content in the body of the tag show up with a blank
> title. Here's an example:
>
> <display:table name="model.procedureList" sort="list"
> uid="listProcedure" pagesize="40" export="true" >
>   <display:column property="name" titleKey="label.name"
>                 url="" paramId="procedureId"
> paramProperty="id"
>                 sortable="true" />
>   <display:column titleKey="label.description" >
>     <c:out value="${listProcedure.description}">
>       <fmt:message bundle="${tagBundle}"
> key="label.noDescriptionAvailable"/>
>     </c:out>
>   </display:column>
> </display:table>
>
> In this case the title of the name column renders properly, but the
> description column has nothing in it's header field at all (just an
> empty <th></th>). Anyone have any idea if this is a known issue (or
> even better, a work around)?
>
> Thanks,
> Scott



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to