Antonio Petrelli wrote:
> Hi all,
> I would like to know if it is possible with DisplayTag to create an
> external form that contains a way to create a sorting form, instead of
> putting links inside <th> elements.
> I'm working on an accessible application and I've read that this is a
> way to create a sorting facility that is also accessible:
> http://csscreator.com/node/29349
> If it is not possible, I'm going to implement it, because I need both
> DisplayTag and accessibility :-D
>   
DisplayTag can't put the sorting links anywhere except in the title 
cells of the table. You'll have to write some code that can create a 
form or a series of links outside the table. As long as the externally 
requested URL is the same as the one DisplayTag generates then you 
should have no issue. The fiddly bit is calculating the id number of the 
table to create the d-xxxx-s=n and d-xxxx-o=n attributes of the request. 
There's a method in the source somewhere that does it ISTR.

 From reading the linked discussion it sounds like a useful addition to 
the displaytag library. Maybe you'll be able to submit it to the devs as 
a patch when your done?

Ed!

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to