Re: [flexcoders] Re: All the bunch of idiots at Adobe, please note!
I have met John Bennett and have found him to be very friendly and helpful. I personally know that he has gained the respect of at least a few successful J2EE authors in my community. I also know he is a very busy person who is constantly traveling to meet with customers around the country in addition to working closely with his colleagues. The only thing that I can possibly even begin to imagine that would be the source of your malcontent may be culturally related. John is from the east coast and the culture of the east coast leans toward being short and to the point. I know this cultural mannerism can sometimes be frustrating for people who haven't spent time on the east coast. However, busy people working in the commercial market throughout the US can be short when communicating. As a busy person, I appreciate working with people who understand what I am saying before I finish my sentence and can respond succinctly. I have found that even when John was quick and to the point, he was not short with me and he still was very courteous. My feedback is just one persons point of view and I know that since I was not present in the meeting that I cannot necessarily say exactly what happened, but I hope this may help bring some perspective to the situation. More importantly, I hope this feedback can be helpful to those on the list who work with a wide variety of people on a daily basis. Sincerely, Marc --- Johannes Nel [EMAIL PROTECTED] wrote: i have worked with brian o'conner and several other adobe consulting developers (and some are still here) for a very large company. i have always found them extremely helpful, more than that, exceptionally helpful and open to new concepts. i think the way you have reacted is not only over the top but is extremely unprofessional. for all we know your code could have been horrible or great, you could have accidentally said i am using viewhelper value objects. furthermore the review took place over breeze, hence you have no idea how it sounded on the other side. you should have kept this internal imo. jpn. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 * 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] Re: BETA 2: How to validate a form before actually submitting
Here's a code snippet that works in Flex 1.5. It may need some refactoring for version 2. This code uses the StringValidator. If Validator.isStructureValid fails, myfield_ti will be highlighted in red and there will be a little message saying it's a required field (or whatever the particular validator has by default, or a custom message you setup). Check the documentation for other types of validators you can use or extend one of them and do your own logic. You can set custom messages in attributes of the validator or through a custom validator. MXML mx:Model id=myModel myFieldName{myfield_ti.text}/myFieldName /mx:Model mx:StringValidator field=myModel.myFieldName/ ACTIONSCRIPT // do this in the method that runs when you click your submit button Validator.enable(this,myModel.myFieldName); if (Validator.isStructureValid(this, 'myModel')) { //add code here to submit form } --- Alex Alex [EMAIL PROTECTED] wrote: Hi Mike, I understand the login, but how do I reference the validation? I mean what would actually go where you have validation is success. I'm not an actionscrip expert! I'm a cfforever guy ;-). Alexander --- In flexcoders@yahoogroups.com, Dreamer [EMAIL PROTECTED] wrote: Alex Alex, you can write a function,like that. if(validation is success) addMember(); else alert(invalid input!!!); �������������� Peace, ����������������Dreamer [EMAIL PROTECTED] ��������������������2006-04-01 === 2006-04-01 18:32:22 ��=== Hello, In a signup form, when I click the submit button I would like for all the validation to happen and then actually hit the addMember() function. But if a form fails the validation how can I prevent the execution of addMember(). Thanks, Alexander -- 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 = = = = = = = = = = = = = = = = = = = = �� __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 * 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/