On Thu, 30 Dec 2004 12:04:39 -0500, Sean Schofield
<[EMAIL PROTECTED]> wrote:
> > There needs to be a better way than that. Every decent JavaScript library
> > out there uses getElementById() to manipulate elements and allow people to
> > build dynamic web apps. A "solution" that requires either wrapping every
> > component usage in a proxy tag or overriding all of the components isn't
> > tenable. People building dynamic web apps are not going to adopt JSF with
> > those kinds of constraints imposed on them.
>
> I agree completely. The proxyId tag is a nice workaround for now, but
> I wouldn't view it as a long-term solution. Not only do you have to
> add unecessary complexity to your javascript (which is complex enough
> already), but now you have to add extra tags everywhere in your faces
> pages just to set the id attribute. Way too cumbersome for my tastes.
>
> > I can see why there might be issues with components inside of something
> > like a data grid. But this can be overcome by, for example, taking the id
> > provided and adding an index using a well-defined scheme, so that other
> > JavaScript code can know how to identify the relevant elements.
>
> Well said.
>