Thanks Peter, I get that & equally understand the need to get something out there that works so that people can refractor it & make it more elegant. I plan to create a Dialogue class & implement basically these few things
1) Move styles to CSS 2) Make sure that we disable selection of the children underneath the mouse mask div 3) Managing tab focus within the dialogue 4) Manage multiple dialogues, opened on the top of each other, z-ordering management. The one that that I think requires most design agreement is managing multiple dialogues & focus between them. I guess some design guidance from you or Alex would be great. The way frameworks like jQuery & closure UI do it is a little different than how Flex used to do it Thanks, Pratyoosh -----Original Message----- From: Peter Ent [mailto:p...@adobe.com] Sent: Tuesday, September 24, 2013 2:30 PM To: dev@flex.apache.org Subject: Re: [FlexJS] Modal behavior on dialogues Hi, I took a look at what you provided and I think you are on the right track. I am finishing up a first pass at the ButtonBar but will swing back to this once I've added this new component. The Alert is indeed very basic right now and enhancements would be nice. We are trying to stick to a very MVC architecture, so things like the labels for an Alert's button do belong in the Alert's model, which is present on the ActionScript side, but not present on the JavaScript side. So there is an imbalance that needs to be corrected. I have been making small changes toward bringing the ActionScript and JavaScript parts closer to together, so this might be the opportunity to do the same for Alert. Regards, Peter Ent Adobe Systems On 9/24/13 12:47 PM, "Sharma, Pratyoosh" <pratyoosh.sha...@jpmorgan.com> wrote: >Hi Peter et al. > >I took a first stab at creating modal behavior bead on the Alert class >in Javascript, I am not sure whether I got all the concepts right & >it's missing a lot of features but it would be great if you can review >the attachments on FLEX-33743 & let me know if I am heading in the >right direction. >Let me know your thoughts on creating popup & focus behavior, like >systemManager, focusManager, popupManager used to do in the good old >flex SDK. > >This may be a time drain but I promise once I am up to speed I would be >able to at least do a break even :) > > > >This email is confidential and subject to important disclaimers and >conditions including on offers for the purchase or sale of securities, >accuracy and completeness of information, viruses, confidentiality, >legal privilege, and legal entity disclaimers, available at >http://www.jpmorgan.com/pages/disclosures/email. This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.