I'm getting this error in IE on a certain page: "Can't move focus to the
control because it is invisible, not enabled, or of a type that does not
accept focus."

It's trying to focus on a Select object that is rendered by a
PropertySelection component.  This only shows up in IE.  I don't understand
why it's doing this.  IE can focus on <select> objects.  I can do it in
static html pages.  Has anyone run in to this?  I've gotten this error
before when trying to focus on a form element that is in a hidden div, but
that's not the case now.

This page is a little odd in that there are a couple of forms that all share
the same IValidationDelegate.  The field that's trying to get focus is
actually in a form that has focus set to false.  This happens because the
field registers with the delegate.  When another form on the page (one that
has focus="ognl:true") renders, it asks the delegate if there is a focus
field, sees that there is (even though it's from another form), and tries to
focus on it.

Thanks,
Chris

Reply via email to