myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Schoch (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2302) source component of ajax request is rendered without id (causing javascript errors)
Date Sat, 20 Oct 2012 19:42:12 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480813#comment-13480813
] 

Robert Schoch commented on TRINIDAD-2302:
-----------------------------------------

The patch from Thomas works only, if the element has an <f:ajax> tag.
But in other cases remains the problem which ends in an JavaScript Error.
In Mojarra is the error message "jsf.ajax.request: source not set".

These are other cases where the id's are not rendered:

  https://issues.apache.org/jira/browse/TRINIDAD-2216
  https://issues.apache.org/jira/browse/TRINIDAD-2259

I hope that the committers find time to integrate the patches quickly for the next release!
                
> 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

Mime
View raw message