[ https://issues.apache.org/jira/browse/MYFACES-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000023#comment-13000023 ]
Werner Punz edited comment on MYFACES-3045 at 2/27/11 6:29 PM: --------------------------------------------------------------- looks good to me feel free to apply it since I am currently bound by my newborn. was (Author: werpu): looks good to me but I have to revisit my code in this area again, but feel free to apply it since I am currently bound by my newborn. I will do a revisit of this area sometime next week. > jsf.js jsf.ajax.request doesn't resolve calling URL correctly -- ajax use in > portlets broken > -------------------------------------------------------------------------------------------- > > Key: MYFACES-3045 > URL: https://issues.apache.org/jira/browse/MYFACES-3045 > Project: MyFaces Core > Issue Type: Bug > Components: JSR-314 > Affects Versions: 2.0.5-SNAPSHOT > Reporter: Michael Freedman > Attachments: MYFACES-3045-1.patch > > > Javadoc for jsf.ajax.request says you determine the calling URL by: > Determine the posting URL as follows: If the hidden field > javax.faces.encodedURL is present in the submitting form, use its value as > the posting URL. Otherwise, use the action property of the form element as > the URL. > Looks like the MyFaces impl skips loking for/using the javax.faces.encodedURL > and only uses the form action. This means ajax is broken in portlets (when > using MyFaces). I.e. the javax.faces.encodedURL in the portlet case is > different than the action URL and the one that needs to be used. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira