[ http://mc4j.org/jira/browse/STS-250?page=all ]
Tim Fennell resolved STS-250.
-----------------------------
Resolution: Fixed
I wrapped both the calls to focus() and select() in a try catch.
> Form auto-focus has JavaScript errors when field to focus is a select
> ---------------------------------------------------------------------
>
> Key: STS-250
> URL: http://mc4j.org/jira/browse/STS-250
> Project: Stripes
> Issue Type: Bug
> Components: Tag Library
> Affects Versions: Release 1.4
> Reporter: Andy
> Assigned To: Tim Fennell
> Fix For: Release 1.4.1
>
>
> I set a stripes:form to focus= on a stripes:select. The focus= generated some
> code like "z.select();", and this generated a javascript error because
> .select() is not a valid method for a drop-down box.
> Preferred change to Stripes: maybe wrap the call to .select() in a try-catch
> block...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development