I'm using Gnome/Sawfish, and I've tried all available focus styles to no avail. Is
anyone else seeing this behavior on Linux? If not, what window manager are you using,
with what focus style? I've attached a test html file, so it should be simple to test
it out. The User ID field should grab the focus.
It looks like the input field actually had the focus at one time or another, since it
displays a solid carat instead of a shadowed carat, but it definitely doesn't have
focus (not blinking). This could be because the window manager is doing something
weird...
Another thing: my form is within a table, and I need that surrounding table:
<table>
<form>
<table>
<tr><td> fields... </td></tr>
</table>
</form>
</table>
When I remove the outermost table, it starts working just fine. It also works if the
bit of JavaScript that sets the focus is moved into the onload attribute of the
<body> tag. So perhaps this isn't necessarily a window manager problem, but rather
Netscape is doing something weird when rendering and setting focus. I don't see why
it should work on Netscape on Windows but not Netscape on Linux though...
Am I the only one seeing this behavior?
Thanks,
-Mark
Jeff Martin wrote:
> This may depend on how your focus style is set with your window manager. I seem to
>remember that when I use sloppy focus that netscape linux didn't always focus right.
>
> Jeff
>
> -----Original Message-----
> From: Mark Woon [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 11:24 PM
> To: Struts Users Mailing List
> Subject: <html:form> focus failing in NS on linux?
>
> Is anyone else seeing weirdness with the focus attribute to the
> <html:form> tag? It works fine for me on Windows (NS and IE), but on
> Linux, NS never grabs the focus properly. Is this a known bug?
>
> I've attached the html result. It all looks good to me, but yet...
>
> Any thoughts?
>
> Thanks,
> -Mark
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>