That fixed it. Thanks all 

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of jham36
Sent: Friday, January 30, 2009 2:58 PM
To: [email protected]
Subject: Re: Hiding the Authentication Field on Mid Tier 7.1

I was having the same issue.  It was not really a problem for us and I had not 
even noticed it until I read this thread.
I just commented out those two lines that Kelly suggested in the 
login_common.jsp and it worked.

Thanks,
James

On Jan 30, 2:50 pm, Kelly Heikkila <[email protected]> wrote:
> Brian-
> It looks like you'll also need to comment out two lines of JavaScript 
> that works against that field.  Christopher also has this commented 
> out on his form.
>
> Search for these two lines:
> //    this.document.loginForm.auth.value="";
>
> //    this.document.loginForm.auth.onkeypress = doSubmit;
>
> The two slashes are how JavaScript code is commented.   Yours won't 
> have them.
>
> Kelly
>
> On Jan 30, 2009, at 1:42 PM, strauss wrote:
>
>
>
>
>
> > **
> > 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();
> > }
>
> > 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 Sokol, Brian
> > Sent: Friday, January 30, 2009 1:28 PM
> > To: [email protected]
> > Subject: Re: Hiding the Authentication Field on Mid Tier 7.1
>
> > **
> > Hi Kelly,
>
> > I tried both td and tr and the results are the same. I also noticed 
> > a warning icon on the bottom of the browser now. If I open the 
> > warning it states:
> > 'this.document.loginForm.auth' is null or not an object
>
> > Any ideas?
>
> > From: Action Request System discussion list(ARSList) 
> > [mailto:[email protected] ] On Behalf Of Kelly Heikkila
> > Sent: Friday, January 30, 2009 2:07 PM
> > To: [email protected]
> > Subject: Re: Hiding the Authentication Field on Mid Tier 7.1
> > ** Hi Brian-
> > I don't have the 7.1 login JSP in front of me, but do make sure you 
> > are commenting out the entire HTML table row (<tr> to </tr> tags) 
> > versus just the table cells (td tags).  Otherwise you will have 
> > malformed HTML that could cause problems with some scripts, such as 
> > setting focus.
>
> > -Kelly
>
> > Kelly Heikkila
> > :coderow
> > 612-216-0028
> > [email protected]
> >www.coderow.com
>
> > On Jan 30, 2009, at 12:51 PM, Sokol, Brian wrote:
>
> > **
> > I need to hide the Authentication field for our Mid Tier 7.1 server. 
> > I commented out the following section in the login.jsp file:
>
> > <label for="auth-id"><
> > %=MessageTranslation.getLocalizedText(locale,"Authentication")%></
> > label>
> >                                                                 
> > </td>
>
> > <td><input type="text" NAME="<%=Params.AUTHENTICATION_STRING%>"
> > id="auth-id" maxlength="<%=Params.AUTHENTICATION_STRING_LENGTH%>"
> > class="loginfield" size="30"
>
> >                                                                 
> > ></td>
>
> > This seems to work with one minor problem. When I comment out this 
> > section and the Mid Tier login screen loads, my cursor is no longer 
> > focused on the User name field. So no a user will have to click in 
> > the field before typing. Anyone have a fix for this?
>
> > Brian Sokol
> > Manager, Desktop Services
> > Scholastic Inc.
> > 557 Broadway
> > NY, NY 10012
> > (212) 343-6494
> >http://www.Scholastic.com
>
> > __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" 
> > html___
>
> > __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" 
> > html___ __Platinum Sponsor: RMI Solutions ARSlist: "Where the 
> > Answers Are"
> > html___
> > __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" 
> > html___
>
> Kelly Heikkila
> :coderow
> 612-216-0028
> [email protected]
>
> ______________________________________________________________________
> _____­____ UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org 
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"- Hide 
> quoted text -
>
> - Show quoted text -

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

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

Reply via email to