Hi Lev,

> i am using DisplayTag to generate tables. i have an object for
> which i want to display one of the fields in capital letters.
> 
> i have tried doing so using JSTL fn:toUpperCase, such as:
> 
>         <d:table name="${actionBean.employees}" id="employee"
>         requestURI=""
>                  defaultsort="1" pagesize="40" export="true" sort="list">
>             <d:column title="Name" sortable="true">
>                 <s:format value="${fn:toUpperCase(name)}"/>
>             </d:column>
>         </d:table>
> 
> however, when the table is generated, no text is displayed for the
> entries in the specified column.
> 
> is there a way for me to achieve capitalization using JSTL
> fn:toUpperCase()? or, must i create a stripes formatter?

Hmmm, could it be this?

             <d:column title="Name" sortable="true">
                 ${fn:toUpperCase(employee.name}
             </d:column>

Let me know if that works..

Cheers,
Freddy

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to