RE: [FlexCoders] Validator width actionscript and without model tag

2005-07-18 Thread Eric Guesdon


Darron,

So funny, when i receive your post I just found the solution.

Thanks a lot for your help


Eric
-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Darron J. Schall
Envoyé : lundi 18 juillet 2005 21:11
À : flexcoders@yahoogroups.com
Objet : Re: [FlexCoders] Validator width actionscript and without model tag

Eric Guesdon wrote:

>I do this code and i retreived true or false from validate method but i
>would like to retreive default validators behaviors (TextInput with red
>border and error tooltip attach to the error field)
>
That's kind of funny - I actually just ran into this exact same thing
today.  The Validator revolves around the "errorString" property of
UIComponent.

To set the red border and a tooltip on a textInput, set it's errorString
to some value:

myInput.errorString = "This is the tooltip text";

To make the red border / tooltip go away, set the errorString to "".

-d




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







This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.



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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [FlexCoders] Validator width actionscript and without model tag

2005-07-18 Thread Darron J. Schall
Eric Guesdon wrote:

>I do this code and i retreived true or false from validate method but i
>would like to retreive default validators behaviors (TextInput with red
>border and error tooltip attach to the error field)
>
That's kind of funny - I actually just ran into this exact same thing 
today.  The Validator revolves around the "errorString" property of 
UIComponent.

To set the red border and a tooltip on a textInput, set it's errorString 
to some value:

myInput.errorString = "This is the tooltip text";

To make the red border / tooltip go away, set the errorString to "".

-d




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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [FlexCoders] Validator width actionscript and without model tag

2005-07-18 Thread Eric Guesdon


Good evening,

I do this code and i retreived true or false from validate method but i
would like to retreive default validators behaviors (TextInput with red
border and error tooltip attach to the error field)

 
http://www.macromedia.com/2003/mxml";
creationComplete="initApp()"
>


















Thanks for you help

Eric

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Eric Guesdon
Envoyé : lundi 18 juillet 2005 20:32
À : flexcoders@yahoogroups.com
Objet : [FlexCoders] Validator width actionscript and without model tag


Hi to all,

I’m looking for validator without  or . In fact
how to make validation totally with actionscript

I didn’t find any solutions for the moment

First is it possible ?
Second are there any old messages about this use of validation

Thanks in advance for your help

Eric



This message contains information that may be privileged or confidential and
is the property of the Capgemini Group. It is intended only for the person
to whom it is addressed. If you are not the intended recipient,  you are not
authorized to read, print, retain, copy, disseminate,  distribute, or use
this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.



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







This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.



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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [FlexCoders] Validator width actionscript and without model tag

2005-07-18 Thread Sauro, Nick





first off, ALL mxml classes are reallly 
Actionscript. The mxml serves as a shortcut for coding, in theory you 
can write an entire Flex app using nothing but AS.  During compilation, all 
your mxmls are converted into AS. There's an option in flex-config to 
keep-generated-as files, so you can see that.  Write a validator using 
mxml, and then turn on that option, and u will see the AS that is generated for 
the Validator.  You won't see the fine details of it, but you can get a 
starting point at least.
 
Secondly, as I just learned, you can 
check
 
http://www.mail-archive.com/flexcoders@yahoogroups.com/
for all old emails.
 
Nick 
Sauro + R 
O U N D 
A R C H + 
bus 
212.909.2335 + mob 914.882.3687
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Eric 
GuesdonSent: Monday, July 18, 2005 2:32 PMTo: 
flexcoders@yahoogroups.comSubject: [FlexCoders] Validator width 
actionscript and without model tag
Hi to all,I’m looking for validator without 
 or . In facthow to make 
validation totally with actionscriptI didn’t find any solutions for the 
momentFirst is it possible ?Second are there any old messages about 
this use of validationThanks in advance for your 
helpEricThis message contains information that may be 
privileged or confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient,  you are not authorized to read, print, retain, copy, 
disseminate,  distribute, or use this message or any part thereof. If you 
receive this  message in error, please notify the sender immediately and 
delete all  copies of this message.





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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.