On 14/02/2013 12:27, Karl Kild�n wrote: > 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? Dear Karl,
are our in house components : * facelet tag files ; * composite components ; * "real" custom components ? BalusC explains those types in his reply to this question : http://stackoverflow.com/questions/6822000/when-to-use-uiinclude-tag-files-composite-components-and-or-custom-componen Best regards, Ludovic | | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT. |