Adrian,

Thanks for the post.  I had the same exact problem as you did and
that's why I came up with forceId.  One of the programmers on my team
made the observation that the EG must not use a lot of javascript
because this is essential for webapps with a lot of javascript.

Unfortunately the standard components cannot be changed to include
this functionality.  This is because they would no longer be compliant
with the spec.  There are some changes to the upcoming spec that will
attempt to deal with this.

So you are stuck with the tomahawk components if you want this type of
behavior.  (Or apparently ADF is an option as well.)

Sean

On 1/5/06, Marti, Adrian (Adrian) <[EMAIL PROTECTED]> wrote:
>
>
>
> Hello all,
>
>
>
> First post, hopefully not too common a question.
>
>
>
>
>
>             Working on a project with a lot of preexisting javascript
> functions where the id's of components need to be exactly what is expected.
> JSF seems to want to prefix all of my component id's with the form id.
>
>
>
>             Such as
>
>                         <h:form id="acctform">
>
>
>
>                         <h:inputText id="firstInput"   … />
>
>                         … </h:form>
>
>
>
>             Will show up in the html with an id="acctform:firstInput". This
> obviously breaks the javascript. I have found the forceId attribute for
> Tomahawk components but haven't seen anything for the regular components.
> Anyone have any advice?
>
>
>
>
>
> Thanks,
>
> Adrian
>
>
>
>

Reply via email to