Re: setSortAscending on BeanModel in Grid

2010-10-21 Thread Darren Williams
ending > then you could just do this: > > _grid.getSortModel().updateSort("entered"); // sorts ascending > _grid.getSortModel().updateSort("entered"); // now sorts descending > > ugly, but effective. > > On Wed, Oct 20, 2010 at 5:41 AM, Darren William

setSortAscending on BeanModel in Grid

2010-10-20 Thread Darren Williams
Hi, we have been trying to work out a way to set the default sort order on our BeanModel to descending by default, since this is what out SQL query does but it appears as though the grid does not expose this method as shown below. Is there another way we can do this? All the examples I have see

Re: Tapestry 5.2 Grid inPlace Ajax navigation is no longer working

2010-08-12 Thread Darren Williams
//this is still not exposed in tapestry 5.2 so you > can't change order > //_grid.setSortAscending(false); > } > } > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br _ Darren Williams LiveTime Software Inc. http://www.livetime.com (949) 777 5800

Tapestry 5.2 Grid inPlace Ajax navigation is no longer working

2010-08-12 Thread Darren Williams
When upgrading to Tapestry 5.2 the inPlace Ajax grid no longer works. It appears to be related to the sorting and the fact that the _grid sort model gets reset to null when using the navigation. It works fine if you don't use the AJAX inPlace call. Is anyone else seeing the same thing on Tap 5.