You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Jone.hwk" <jo...@yahoo.com.cn> on 2005/08/12 08:07:12 UTC
"Focus" hidden field?Is this a javascript bug?
Hi,
The following is some snippet in my rendered html page source:
Snippet 1:
<script language="JavaScript" type="text/javascript"><!--
var create_events = new FormEventManager(document.create);
focus(document.create.$Hidden);
// --></script>
Snippet 2:
<script language="JavaScript" type="text/javascript"><!--
var testForm_events = new FormEventManager(document.testForm);
focus(document.testForm.userIDHidden);
// --></script></body>
</html>
How to fix this problem,could anybody help me?
thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: "Focus" hidden field?Is this a javascript bug?Not solved.
Posted by "Jone.hwk" <jo...@yahoo.com.cn>.
Normally,the first component in my form are hidden fields which used to store
key information,maybe this is cause of the problem.
I think the tapestry should just only "focus" text field,and provide a option
to disable focusing .In tapestry 4 beta4,you will even see the
focused "button",focused "hidden" field and focused "selection
list" ,generally,this is not what we expected.
thanks.
Jone.hwk
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org