Java Mailing List Archive

http://www.junlu.com/

Home » users.myfaces »

Problem converting custom components from mojarra to myfaces

Karl Kildén

2013-02-14

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello!


We have decided to upgrade to myfaces. Problem: We have about 30 or so in
house components and a lot of things stopped working. Here's a concrete
problem we would really appreciate some help with:

we use onDoubleClick on our datatable and our js function receives:

tr#tableRow:inbox:supplierInvoicesTable:0:0.odd    <-- Mojarra
tr#tableRow:inbox:supplierInvoicesTable:0.odd     <-- Myfaces

Now the number is the row, no Idea why mojarra puts another number in there
but our code is adapted to it. Any idea why there's a difference? We of
course needs our own components to a) work and b) be vendor independent.

Obviously a mistake to never test it with myfaces during development.
Further autogenerated ids, I sadly suspect that people have hardcoded in
generated ids in the components from mojarra - I assume those will break as
well?


Right now it goes like "it feels quicker wow" but.... Nothing works :-)


best regards / Karl
©2008 junlu.com - Jax Systems, LLC, U.S.A.