Re: Grid sorting - lowercase,uppercase

2011-10-13 Thread Taha Hafeez Siddiqi
Hi Luke Did you check http://tapestry.apache.org/applications.html. I don't think they are school projects. We use tapestry in our company where it caters around 7000 employees. The application is so stable and manageable that the company has already started porting other applications to tapes

Re: Grid sorting - lowercase,uppercase

2011-10-12 Thread darkslide
Hi, thanks a lot for help. A work with Tapestry sucks. It is a framework for school projects or for simple situation like click on button and see page with text "HELLO WORLD" Have a nice day. BR Lukas -- View this message in context: http://tapestry.1045711.n5.nabble.com/Grid-sorting-lowercase

Re: Grid sorting - lowercase,uppercase

2011-10-12 Thread cqasker
You can override GridDataSource: So you can do something like: This is something I did to put nulls at the bottom when a user sorts the grid. I hope it is helpful. @Override public void prepare(int startIndex, int endIndex, List sortConstraints) { // your own initialization code

Re: Grid sorting - lowercase,uppercase

2011-10-11 Thread derkoe
The problem is that Tapestry uses the usual Java String comparison for sorting in Grid (generally speaking - Grid is not really localized). String's compare uses the value of the character (and in UTF-8 encodings "b" is greater than "G", as in ASCII). So, if you want correct sorting you have to us