I don't see any Javascript code in the Source file in the browser at
all.  That's what is not making any sense to me for the form tag.  It is
as if the focusElement doesn't cause the <s:form> tag to do anything at
all.

I would expect to see some <script> .... </script> stuff in the source
file that is rendered, correct?


-----Original Message-----
From: Dale Newfield [mailto:d...@newfield.org] 
Sent: Monday, December 28, 2009 4:38 PM
To: Struts Users Mailing List
Subject: Re: focusElement in s:form

CRANFORD, CHRIS wrote:
> I have removed all javascript from the JSP page and installed Firebug.
> No errors show up and Javascript is enabled.  I get the same result in
> IE as well where my form isn't focusing on my userName field.

So put a breakpoint on the javascript line that is making the focus() 
call, and make sure it's getting executed and doing what it should.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to