A simple (but slightly hacky) solution is to add a convenience getter to
Employee

public class Employee {
        private int id;
        private String employeeName;
        private Department department;

        public String getDepartmentName() {
            return department == null ? null : department.getName();
        }
}




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-sort-Association-column-in-Grid-tp5718569p5718631.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to