You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2005/06/03 08:48:02 UTC

[issue 35187] invalid 'focus' javascript in XHTML mode

I've submited a new bug : 
http://issues.apache.org/bugzilla/show_bug.cgi?id=35187

When xhtml mode is used <html:form> creates javascript from the focus 
attribute that is invalid as form has no name.

A solution may be to produce javascript that uses 
document.getElementById() when xhtml mode is set, and forcie an id value 
if styleId has not been set (beanName, random value...)

Nico.

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org