[ http://issues.apache.org/jira/browse/MYFACES-1259?page=comments#action_12374068 ]
Chad Lyon commented on MYFACES-1259: ------------------------------------ Do you also have in your deployment descriptor: <context-param> <param-name>org.apache.myfaces.AUTO_SCROLL</param-name> <param-value>true</param-value> </context-param> You must or you wouldn't get this part in your "onclick" event of your <a> tag: document.forms['_id20'].elements['autoScroll'].value=getScrolling(); ...set that parameter to false and your links will start working again. This is just a work around. Something is missing. I had the same problem. I turned on the extensions filter and teh getScrolling() function started to get generated. Also, the following post to the dev list by Mike made me think it was what I described above: >Mario (or whoever else was involved with moving the autoscroll stuff into >tomahawk recently), > >Could you take a look at http://issues.apache.org/jira/browse/MYFACES-1259? > >Doing so appears to have broken the generation of "getScrolling" >javascript, and command links are not working. I will look into it in a few and determine if it really is caused by the move and see if I can't come up with a patch or two (I have limited windows of time durring regular business hours). BTW the extensions filter is not required to use myfaces, only to use the myfaces extesions. Read here: http://myfaces.apache.org/tomahawk/extensionsFilter.html > login page commandLink error > ---------------------------- > > Key: MYFACES-1259 > URL: http://issues.apache.org/jira/browse/MYFACES-1259 > Project: MyFaces Core > Type: Bug > Versions: 1.1.2-SNAPSHOT > Environment: JBoss 4.0.4 RC1, MyFaces 4/4/06 night build. > Reporter: Dave > Priority: Blocker > > Upgraded to JBoss 4.0.4RC1 and MyFaces 4/4/06 night build. > When user visit a protected page, the login.jsp will show up for user to > login in. > But in the login.jsp, if clicking commandLink "Forget Password", "Error on > Page" will show up on browser status bar (IE). > nothing else happens. It was working before: JBoss 4.0.3 RC1 and MyFaces > 1/16/06. > login.jsp (simplified for testing) > ----------- > <%@ page contentType="text/html; charset=UTF-8"%> > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> > <HTML> > <body> > <f:view> > <h:commandLink value="Forget Password" > action="#{bean.resetPassword}"/> > </f:view> > </body> > </html> > Browser source > ------------------ > <HTML> > <body> > <a href="#" > onclick="clear_linkDummyForm();document.forms['linkDummyForm'].elements['autoScroll'].value=getScrolling();document.forms['linkDummyForm'].elements['linkDummyForm:_link_hidden_'].value='_idJsp0';if(document.forms['linkDummyForm'].onsubmit){var > result=document.forms['linkDummyForm'].onsubmit(); if( (typeof result == > 'undefined') || result ) > {document.forms['linkDummyForm'].submit();}}else{document.forms['linkDummyForm'].submit();}return > false;" id="_idJsp0">ForgetPassword</a> > > </body> > </html> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
