Difference between setOrder and setOrderColumn in Seam
- This code work fine.
programList.setOrder("program.programName asc, program.programId desc");
- The below code snippet won't work –
- programList.setOrderColumn("program.programName asc, program.programId desc");
- programList.setOrderColumn("program.programName asc);
It throws the following exceptions - Caused by java.lang.IllegalArgumentException with message: "invalid order column ("program.programName asc, program.programId desc" must match the regular expression "^\w+(\.\w+)*$")"
- This works fine - programList.setOrderColumn("program.programName");
- But we have to set
customerList.setOrderDirection("asc"); or customerList.setOrderDirection("desc");
- programList.setOrderColumn("program.programName asc, program.programId desc");
No comments:
Post a Comment