The only two places I found focus() called in the templates are in
css_xhtml/form-close.ftl and xhtml/form-close.ftl. You can look there
to see the "magic" behind the scenes.
Also note, while you're setting the theme globally, it can also be
changed on a tag-by-tag basis with the theme attrib
r
> theme, ugh.
>
>
>
> -Original Message-
> From: CRANFORD, CHRIS [mailto:chris.cranf...@setech.com]
> Sent: Tuesday, December 29, 2009 8:15 AM
> To: Struts Users Mailing List
> Subject: RE: focusElement in s:form
>
> I do have in my struts.xml file the
: Struts Users Mailing List
Subject: RE: focusElement in s:form
I do have in my struts.xml file the following defined:
Does this affect this?
-Original Message-
From: Dale Newfield [mailto:d...@newfield.org]
Sent: Monday, December 28, 2009 4:56 PM
To: Struts Users Mailing List
Subject
I do have in my struts.xml file the following defined:
Does this affect this?
-Original Message-
From: Dale Newfield [mailto:d...@newfield.org]
Sent: Monday, December 28, 2009 4:56 PM
To: Struts Users Mailing List
Subject: Re: focusElement in s:form
CRANFORD, CHRIS wrote:
>
CRANFORD, CHRIS wrote:
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 tag to do anything at
all.
I would expect to see some stuff in the source
file tha
ndered, 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.
&
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(
lto:d...@newfield.org]
Sent: Monday, December 28, 2009 4:10 PM
To: Struts Users Mailing List
Subject: Re: focusElement in s:form
CRANFORD, CHRIS wrote:
> Is there anything special I could be missing here to get FF to focus
on
> the field when the page is rendered?
There's no magic. The o
CRANFORD, CHRIS wrote:
Is there anything special I could be missing here to get FF to focus on
the field when the page is rendered?
There's no magic. The only way for this to happen is by executing a
snippet of javascript in the browser. Therefore this will not work in a
browser that has ja
I have tried all combinations of values in the focusElement tag for
s:form yet I cannot get the textfield called username to be focused when
the JSP is rendered with my login web page. I have tried it both with
just the name of the textfield (userName) along with using the ID of the
element (logi
10 matches
Mail list logo