[
https://issues.apache.org/jira/browse/TRINIDAD-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442371#comment-13442371
]
Thomas Möller edited comment on TRINIDAD-2302 at 8/27/12 11:12 PM:
-------------------------------------------------------------------
The attached patch modifies XhtmlRenderer.shouldRenderId() so that there is an
additional test if the component to render has ajax behavior. I don't know if
the test is optimal but it works.
was (Author: thomoell):
This patches XhtmlRenderer.shouldRenderId() so that there is an additional
test if the component to render has ajax behavior. I don't know if the test is
optimal but it works.
> source component of ajax request is rendered without id (causing javascript
> errors)
> -----------------------------------------------------------------------------------
>
> Key: TRINIDAD-2302
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2302
> Project: MyFaces Trinidad
> Issue Type: Bug
> Environment: trinidad 2.0.1
> Reporter: Thomas Möller
> Attachments: patch.zip
>
>
> If a source component of an ajax request is defined without an id I get
> javascript errors that the component is not found in the dom-tree like
> ERR_PPR_UNKNOWNCID in myfaces or similar in mojarra. The solution is to
> define an id but it should work without.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira