I am not a myfaces developer but ran into the id issue today due to the fact that I tried to implement a custom control.
I dont thing the myfaces should introduce its own standard unless it does not break the specs (isn't the id naming scheme defined in the specs) What I could see probably, and that would be the easiest would be a sort of helper framework/non visual control which could do the name mapping from a given normal id and form to the internal id. That at least would ease the burden if you have to pass id parameters down a javascript somehwere.
Werner
Sean Schofield wrote:
Could we not come up with our own standard for myfaces for the time being? And hopefully the JCP will follow suit or at least make for an easy
transition. This is such an essential thing these days especially with
everyone seeing what Google is doing lately.
That would be my vote. I would be happy to try and help with the coding (with my limited Faces knowledge.) I can certainly help with the testing and patching.
I did not see anything in the 1.2 spec that addresses this issue. Also, the 1.2 spec is still in draft and is tied to the J2EE 5.0 spec.
We're talking a long time until 1.2 and even longer if this isn't
addressed in that spec (which I don't believe it is.)
The only issue I see is if the spec mandates the current scheme used by MyFaces and RI for the id. I can't see why it would, but they both seem to do things in an identical way ...
Travis
sean

