[flexcoders] Validators messing with runtime styles
Hello, I'm having a problem where input fields that fail validation don't pick up a borderColor style from a runtime stylesheet. I've got a small test case below with a NumberValidator hooked up to a TextInput and two buttons that load/unload some styles. If you type a number in the field and hit the two buttons, it will change the border color and change the alignment of the text. Then type in some letters (to make the field fail validation), then a number again to correct the error. Now the buttons will only change the text alignment - the border color of the field does not change. I guess the red failed-validation border is messing things up somehow - does anyone know of a fix? Text.mxml - http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="creationHandler()"> TextInput { borderStyle: solid; borderThickness: 3; borderColor: #ff; textAlign: left; } style.css - TextInput { borderColor: #00ff00; textAlign: right; }
RE: [flexcoders] validators in datagrid colmun
There is an example in the doc for this situation: http://livedocs.macromedia.com/flex/2/docs/0873.html Stephen From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of KumarSent: Monday, September 11, 2006 2:44 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] validators in datagrid colmun Hi All Below is the simple data grid I want to apply some like numeric validators on some particular column of data grid. Is there any example for this..! &! nbsp;ThanksKP __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] validators in datagrid colmun
Hi All Below is the simple data grid I want to apply some like numeric validators on some particular column of data grid. Is there any example for this.. ThanksKP __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Validators -- Is there a better way of doing this? (Flex 2)
Hello All, I'm using Flex 2 to develop an app that requires some validation. I can't seem to find any info on how to reuse validators or how to use several trigger events within in a single validator. Below is a snippet of my code -- -- That's pretty ugly -- expecially considering that this is only 2 of my 20+ variables. Is there a better way? What am I missing? Thanks for your help! -- 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/
[flexcoders] Validators and iconName
1). What is the equivalent for validationError() function in Flex2.0 ? * Can i use ValidatorResult Constructor for this ? 2). What is the equivalent for iconName in Flex2.0 ? * I want to use this to put an icon on a Button Regards, Rajesh C. Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- 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] Validators and Formatters
AS-only validators are not supported in 1.5. They will be in the next version. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of priya_sukup Sent: Sunday, August 28, 2005 11:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Validators and Formatters Hi, I am looking for validator without or . In fact how to make validation totally with actionscript. Also to check format i need to use actionscript. The validations may vary depending on the button action selected, so need to perform validations and format check for particular fields in an action. Is it possible to give the content type of field along with the field in mxml? like numeric, alpha... etc. Thanks in advance -- 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.
[flexcoders] Validators and Formatters
Hi, I am looking for validator without or . In fact how to make validation totally with actionscript. Also to check format i need to use actionscript. The validations may vary depending on the button action selected, so need to perform validations and format check for particular fields in an action. Is it possible to give the content type of field along with the field in mxml? like numeric, alpha... etc. Thanks in advance Yahoo! Groups Sponsor ~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~-> -- 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] Validators
Check out the Validator.disable and Validator.enable functions. These are meant to turn off a validator while you’re resetting the source fields, when you re-enable they’ll be ready to go. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of chris.alvarado Sent: Tuesday, July 12, 2005 2:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Validators good afternoon everyone, i have what seems like a simple problem with the validators class but cannot seem to figure out what is wrong. i have a set of inputs (text, combobos, etc) that dumps data into a datagrid. these fields are part of a model that i then validate using the isStructureValid() method which works just fine. however when im done adding the items to datagrid i want to reset the input fields, so i do this as you would expect (manually) by simply setting the coresponding properties (somefield.text ="") etc. however this seems to keep the validators instantiated on the fields as it will then show the little red outline as if it is expecting data when im not even wanting to validate the model at that time. does the validator need to be reset somehow? any suggestions would be greatly appreciated. -- -chris.alvarado [application developer] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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.
[flexcoders] Validators
good afternoon everyone, i have what seems like a simple problem with the validators class but cannot seem to figure out what is wrong. i have a set of inputs (text, combobos, etc) that dumps data into a datagrid. these fields are part of a model that i then validate using the isStructureValid() method which works just fine. however when im done adding the items to datagrid i want to reset the input fields, so i do this as you would expect (manually) by simply setting the coresponding properties (somefield.text ="") etc. however this seems to keep the validators instantiated on the fields as it will then show the little red outline as if it is expecting data when im not even wanting to validate the model at that time. does the validator need to be reset somehow? any suggestions would be greatly appreciated. -- -chris.alvarado [application developer] -- 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/