Are you using t:columns in the table?

regards,

Martin

On 9/12/06, THIEN PHAM <[EMAIL PROTECTED]> wrote:
<t:sortCommandHeader> in Tomahawk 1.1.3 doesn't work
with JSF RI, i.e. clicking on the column header
doesn't result in the column data to be sorted. I
don't know if this is a MyFaces or JSF RI problem, but
in comparing with the same webapp that uses MyFaces
core, I noticed the followings:

- When using MyFaces core, each of the column header
is (correctly, I guess) generated as an HTML anchor
link with a sequential id like:

  user_form:list_table:columns:0:_idJsp59
  user_form:list_table:columns:1:_idJsp59
  user_form:list_table:columns:2:_idJsp59
  ..etc..

- When using JSF RI, all the column headers have the
same id:
  user_form:list_table:columns:_idJsp59

Notice the column number is missing from the id. That
seems to explain why when I clicked on the second
column header, the arrow always shows up with the last
column header. Is this something that can be corrected
in MyFaces? Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to