I just upgraded from 5.0.13 to 5.0.17 and fixed all of my issues ;) except
for this one. This is my first tapestry app (and first post) so hopefully I
can explain this sufficiently...
I've got a form within a zone which is working fine. There are action links
within this form which are tied to a separate zone (this zone provides
additional detailed information on the highlighted portion of the form). So
when a user clicks on a item in the form more details show up about the
item. This is still working fine with 5.0.17 but the problem is that I have
an onclick="focusformline()" function that is set on the actionlinks, this
javascript highlights the selected form portion by calling the relevant
inputs' focus() event.
The problem is that after upgrading to 5.0.17 the input field loses focus
when the additional information zone completes it's update, so the user sees
a brief pretty focused form section, and then no focus. This didn't happen
with 5.0.13 (the form input kept it's focus), so I'm not sure what has
changed, but it seems the zone's update is stealing the focus away? I'm not
sure how to stop this from happening...
My current workaround is to
setTimeout("inputfocuseventstuffinsidefocusformline()", 100) in the onclick
actionlink's javascript function which "fixes" the problem as long as the
zone update takes less than 100ms. This isn't a good solution as the user
sees the quick focus/loss of focus/refocus sluggishness...
Any ideas on how to stop the zone update from stealing the input element's
focus?
--
View this message in context:
http://www.nabble.com/Zone-update-steals-input-element-focus-in-5.0.17-tp20690329p20690329.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]