It appears if I removed this line and additionally made sure that the
<s:head/> tag was inside my HTML <head>...</head> block that the
appropriate logic works and the StrutsUtil class is available and
focuses on my elements.  

Now is there a way to avoid this extra <td class='tdLabel'></td> from
being decorated on my input fields?  I suppose this is part of the
standard theme and sometimes the labels for my fields have to be
positioned in certain ways, not sure I want to use this particular
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 following defined:

  <constant name="struts.ui.theme" value="simple"/>

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:
> 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?

Yes.  Are you using a specific theme for your s: tags?

-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




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

Reply via email to