Make sure that you have not tampered with the section of the login.jsp that 
sets the reference to login_common.jsp and then calls the initLogin() function 
from it, which includes the setInitialFocus() function:

<html>
  <head>
                <script 
src="<%=request.getContextPath()%>/shared/TimezoneFinder.js" defer=1></script>

    <!-- common to all localized login pages -->
    <%@ include file="login_common.jsp" %>

    <title><%=titleStr%> - <%=MessageTranslation.getLocalizedText(locale, 
"Login")%></title><!--;-->
  </head>

<body onLoad="initLogin();" topmargin="0" leftmargin="0" rightmargin="0" 
bottommargin="0" >

Christopher Strauss, Ph.D.
Call Tracking Administration Manager
University of North Texas Computing & IT Center
http://itsm.unt.edu/
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of strauss
Sent: Friday, January 30, 2009 1:43 PM
To: [email protected]
Subject: Re: Hiding the Authentication Field on Mid Tier 7.1

**
You must have a problem with the way login.jsp includes the login_common.jsp 
file, anyway - the code for placing the cursor is in login_common.jsp:

function setInitialFocus() {
    // set focus to user input field
    document.loginForm.username.focus();
    document.loginForm.username.select();
}


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to