Hi Matt,

On 12 Nov 2007 at 22:31, Matt Raible wrote:

> I would suggest not using the display tag's linking mechanism - just
> write the link yourself.
> 
> http://displaytag.sourceforge.net/11/tut_implicitobjects.html
> 
> <display:table id="foo">
> <display:column sortProperty="whatever">
> <a href="${foo.property}">${foo.property}</a>
> ....
> 
> Eliminating the "property" attribute on a column allows you to define its 
> body.

Thanks heaps, that fixed the problem.  A good illustration of how blinkered 
you become if you look at a problem for too long!

I didn't have any property attributes in my column(s) so I just removed the 
href, paramId and paramName attributes and did my own link inside the 
column's body.  It worked like a bought one!

It's taken a big effort for me to get to this point.  I'm wondering if it would 
be 
worth doing an FAQ or even a tutorial on the subject of nested dynamic 
columns?  I could probably put up a quick FAQ if you felt that was 
worthwhile.  I'd be happy to do a tutorial, but would have to put that off 
until 
I've finished this project.

On the other hand, I'm not sure that the concept of nested dynamic columns 
is generally a great idea (the client wants this), so maybe there wouldn't be 
much call for it anyway.

What do you think?

Cheers,
Rob Hills
Waikiki, Western Australia
Mobile +61 (412) 904-357
Fax: +61 (8) 9529-2137

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to