Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1259

login page commandLink error -- default AutoScroll setting depends on Tomahawk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.2-SNAPSHOT
    • 1.1.2
    • None
    • None
    • JBoss 4.0.4 RC1, MyFaces 4/4/06 night build.

    Description

      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>

      Attachments

        Activity

          People

            imario Mario Ivankovits
            javaone9 Dave
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: