Hi Jorge,
Jorge Vásquez wrote:
Regards to all,
One week ago I had my commandSortHeader working perfectly until all of
a sudden it just stopped ordering. I haven´t done any change neither
to the xhtml page nor to the bean, and I am really having a tough time
trying to decipher how is this component´s operation in order to
proceed with some debugging. This whole ordering stuff is really
“sui-generis”, ‘cause it seems to work without the conventional action
paradigm or at least I don’t see nowhere where the action invocation
takes place. My specific problem is that I am not receiving on the
bean the column name clicked by the user. In summary I have 2
questions that can really help me solve this issue:
1. Why can´t the column be arriving at the sort function of the
bean? (This is probably too difficult to answer as it implies
multiple possibilities)
2. Can anyone explain me the basic operating mechanism used by the
commandSortHeader component or redirect me to somewhere where it
is explained?
Are you aware of the myfaces wiki?
http://wiki.apache.org/myfaces
This page in particular may be useful:
http://wiki.apache.org/myfaces/Working_with_auto_sortable_tables
Regards,
Simon