Yes, when you enable sorting on the dataTable the columns headers become links, so, the enclosing <h:form> is needed. Check out [1] for more information and alternative. The code snippet you provided should work though, isn't it working?

Thanks for the kind words,
Catalin

[1] - http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3

Paul Spencer <[EMAIL PROTECTED]> wrote:
Must a be enclosed in a for sorting to work?

This is my experience with Tomahawk 1.1.3, but it I does no appear to be
document!


Below is an example of a data table with 2 sortable columns.

















BTW: This is a great feature that was added in 1.1.3! Thank you to the
developers

Paul Spencer


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.

Reply via email to