tag:blogger.com,1999:blog-2782359832460307258.post8189173506805721917..comments2023-08-01T00:14:36.630-04:00Comments on Dev Harbor: Flex Validator Error Message Issue - Found SolutionAlex Chttp://www.blogger.com/profile/04555184614131343457noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-2782359832460307258.post-71042161134059404992010-01-04T12:46:53.718-05:002010-01-04T12:46:53.718-05:00Thanks, David. Great approach.Thanks, David. Great approach.Alex Chttps://www.blogger.com/profile/04555184614131343457noreply@blogger.comtag:blogger.com,1999:blog-2782359832460307258.post-45556457389651200582010-01-04T12:35:31.955-05:002010-01-04T12:35:31.955-05:00You can also use the currentTarget.source property...You can also use the currentTarget.source property of the ValidationResultEvent. currentTarget returns the Validator and source gives it's TextBox, which you can setFocus() on.David A. Bethunehttps://www.blogger.com/profile/12116788118800073220noreply@blogger.comtag:blogger.com,1999:blog-2782359832460307258.post-61279832426636149742009-06-15T16:37:13.150-04:002009-06-15T16:37:13.150-04:00One even simpler solution would be to access the l...One even simpler solution would be to access the listener object through the UIComponent and invoke setFocus and dispatchEvent right there in the doValidation function.<br /><br />For example:<br /><br />var theComponent:UIComponent = super.listener as UIComponent;<br />theComponent.setFocus();<br />theComponent.dispatchEvent(new MouseEvent(MouseEvent.MOUSE_OVER));Anonymoushttps://www.blogger.com/profile/05277080120875348853noreply@blogger.comtag:blogger.com,1999:blog-2782359832460307258.post-3040427796896211822009-02-04T08:52:00.000-05:002009-02-04T08:52:00.000-05:00Check out this article for a solution to this: htt...Check out this article for a solution to this: http://aralbalkan.com/1125<BR/><BR/>In addition, vote on the feature request from Adobe: https://bugs.adobe.com/jira/browse/FLEXDMV-2002<BR/><BR/>The more votes it gets, the more likely they'd add it as a feature. Thanks.Alex Chttps://www.blogger.com/profile/04555184614131343457noreply@blogger.comtag:blogger.com,1999:blog-2782359832460307258.post-74112973563024679872009-02-04T01:02:00.000-05:002009-02-04T01:02:00.000-05:00This works, but how do you go about showing the to...This works, but how do you go about showing the tooltip on multiple fields? In otherwords, if I have 5 required fields on a form and I hit submit, using this mouseover technique works, but it only focuses on one field at a time. I would like to show the tooltip on all fields. Any idea how to do this?<BR/><BR/>-wsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2782359832460307258.post-88315037245354651202008-12-26T18:18:00.000-05:002008-12-26T18:18:00.000-05:00I'm out of the country right now but will do so in...I'm out of the country right now but will do so in January. Where did you get stuck? Any errors?Alex Chttps://www.blogger.com/profile/04555184614131343457noreply@blogger.comtag:blogger.com,1999:blog-2782359832460307258.post-31790185519059045912008-12-26T17:30:00.000-05:002008-12-26T17:30:00.000-05:00Hi Alex,Any chance you can post some code of a wor...Hi Alex,<BR/>Any chance you can post some code of a working app for this. I guess I am missing something.Anonymousnoreply@blogger.com