I have a application that uses view states.  One state has an
accordion component.  A button on one panel of this component takes me
to a new state (completely away from the accordion) where I can do
some data entry on a Form component.  When I click the button, the
form displays correctly but as soon as I click on it I get the
following runtime error:

TypeError: Error #1009: null has no properties.
      at mx.containers::Accordion/focusOutHandler()
      at mx.core::UIComponent/setFocus()
      at mx.managers::FocusManager/setFocus()
      at mx.managers::FocusManager/::mouseDownHandler()

I pretty sure this has to do with the accordion losing focus but how
can I handle it?  If I pop up an Alert box from the button handler
(the Alert now has focus) when I click the Alert's "OK" button, the
form works error free.  This is obviously not a viable solution.

So how do I get the focus off the Accordion and on to the newly
displayed form?

Thanks,

Bill






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to