Simon Rydberg wrote:
> I asked this question in late January but recived no response.. Is that 
> possible to do?
>
> Posted my original question at the end of this message..
>
> /Simon
>
>
> Hi!
>
> I want to display columns that does not exist as properties in a class. 
> Instead I have stored the data in a map.
> [snip]
>   

I saw your question when it was originally posted but couldn't get my 
head round what you were trying to do and hoped someone else would.

Have you tried something like this?

<display:table name="datas">
    <display:column property="key" title="Key"/>
    <display:column property="map(b1)" title="B1"/>
    <display:column property="map(b2)" title="B2"/>
    <display:column property="map(b3)" title="B3"/>
    <display:column property="map(b4)" title="B4"/>
</display:table>


The documentation shows this way of specifying mapped properties here 
<http://displaytag.sourceforge.net/11/tut_sources.html> and although 
this is for the name attribute of the <display:table> tag it may also 
work for the property attribute.

Ed!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to