Using Validator with mx:ComboBox causes it to auto-close

I've recently ported a 3.x flex app to Flex 4. I've run in to a bug that causes all mx:ComboBoxes to close the first time the user attempts to open the drop down list. Subsequent attempts to open the box work fine.
Example:
<mx:ComboBox id="typeId" dataProvider="{fMechanismTypes}"
                             labelField="name" prompt="Select..."
                             change="handleTypeChange( )"
                             creationComplete="initTypeValidator();"
                             focusOut="tabValidationCheck()"/>
private function initTypeValidator():void {
            fTypeValidator.source = typeId;
            fTypeValidator.property = "selectedIndex";
            fTypeValidator.minValue = 0;
            fTypeValidator.lowerThanMinError = "This field is required.";
If I don't initialize fTypeValidator, the combobox works correctly.
Anyone experience this?

It appears a Flex ComboBox and a String Validator with the properties of being required as true, and the property of text, forces the ComboBox to close when selecting an item via the keyboard.  This auto close only happens when making the initial selection from the initial empty string or 0 index.  After a valid selection has been made, the user is able to use the keyboard to select any other values, and the ComboBox display remains open.  I have attempted to write my own ComboBox class that extends the Flex ComboBox, which would do custom open and close functionality, however I have been unsuccessful.  My goal is to have this ComboBox remain open during Keyboard input.  If the StringValidator required property is set to false, the box does not auto close.
Any help on this topic would be greatly appreciated.
And here is a sample of my code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"  layout="absolute" minWidth="955" minHeight="600" creationComplete="init();">
    <mx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
            [Bindable]private var _comboBoxDataProvider:ArrayCollection;
            private function init():void {
                _comboBoxDataProvider = new ArrayCollection();
                _comboBoxDataProvider.addItemAt('', 0);
                for(var i:int = 0; i < 6; ++i) {
                    var obj:Object = {};
                    obj.labelField = String(i);
                    _comboBoxDataProvider.addItem(obj);
                comboBoxValidator.validate();
        ]]>
    </mx:Script>
    <mx:StringValidator id="comboBoxValidator"
        required="true"
        source="{comboBox}" requiredFieldError="Empty Field Error"
        property="text"
        />
    <mx:ComboBox  id="comboBox" width="150"
    dataProvider="{_comboBoxDataProvider}"
    labelField="labelField"
    selectedIndex="0"  />
</mx:Application>

Similar Messages

  • Using Styles With the ComboBox

    Hi --
    I believe I have posted a question similar to this before,
    but can someone
    tell me how to go about styling a ComboBox via Actionscript
    3?
    I found this list for AS 2 in the help file:
    alternatingRowColors, backgroundColor,
    backgroundDisabledColor, borderStyle
    color, disabledColor, embedFonts, fontFamily, fontSize,
    fontStyle,
    fontWeight, textAlign,
    textDecoration, textIndent, defaultIcon, repeatDelay,
    repeatInterval,
    rollOverColor,
    selectionColor, selectionDuration, selectionDisabledColor,
    selectionEasing,
    textRollOverColor,
    textSelectedColor, useRollOver
    However, when I tried this code:
    testCombo.textField.setStyle("backgroundColor",0xcc00cc);
    or
    testCombo.dropdown.setRendererStyle("backgroundColor",0xcc00cc);
    it didn't work.
    Can someone tell me which of the items in the list above (if
    any?) work with
    AS 3 and what other options are also available?
    Thanks
    Rich

    I believe setStyle is the method of the component
    (UIComponent) - not it's children.
    ComboBox.textField is a reference to the TextField of the
    component. As such it seems like it should be styled with
    methods/properties that TextField class has (setting StyleSheet,
    etc.)
    To get what elements of the component can be styled you can
    use getStyleDefinition on the component.
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/core/UIComponent.html#setStyl e()

  • Using Squiggly with Spark TextArea causes TLF formatting to disappear

    We are using a Spark TextArea component in our application to offer more enhanced text formatting options to our users. Yesterday we downloaded Squiggly since it's the only one available that seems to support the spark components. It is highlighting misspelled words correctly and does have a nice right-click context menu with suggestions, etc. However, when we select a word from the suggestion list and it replaces it in the text area, it seems to replace the entire contents of the textarea as plain text. Any formatting on the text such as bold, italics, font sizes, underlines, all immediately disappear once the misspelled word is replaced. We're using the SpellUI implementation. Below is some of the snippets of the code we're using to implement SpellUI:
    protected function createTextArea():void {
      _textArea = new TextArea();
      _textArea.editable = true;
      _textArea.enabled = true;
      _textArea.textFlow = TextConverter.importToFlow(XML(dataModel.value)[0], TextConverter.TEXT_LAYOUT_FORMAT);
      _textArea.textFlow.flowComposer.updateAllControllers();
      _textArea.addEventListener(FlexEvent.CREATION_COMPLETE, setupSpellCheck, false, 0, true);
    private function setupSpellCheck(event:Event=null):void {
      logger.debug("setupSpellCheck", "Setting up spell check system...");
      _textArea.removeEventListener(FlexEvent.CREATION_COMPLETE, setupSpellCheck);
      resourceManager.localeChain = [localeStr];
      enableSpellCheck();
      enableSpellCheckContextMenu();
    private function enableSpellCheck():void {
      SpellUI.enableSpelling(_textArea, localeStr);
    private function enableSpellCheckContextMenu():void {
      var contextMenu:Object = {add:resourceManager.getString('SquigglyContextMenu', 'add'),
                                             enable:resourceManager.getString('SquigglyContextMenu', 'enable'),
                                             disable:resourceManager.getString('SquigglyContextMenu', 'disable')};
      SpellUI.setSpellingMenuEntries(contextMenu);
    As you can see, we're constructing a new TextArea control and setting it's textFlow by importing an existing textflow XML that we have saved in our database. Once the TextArea has dispatched the FlexEvent.CREATION_COMPLETE, we are setting up the spell check system and everything works ok until you actually correct a misspelled word by selecting it from the right-click suggestions list. The text initially imported may have any number of styles applied to it as I mentioned above. Once the spelling replacement occurs, all the formatting is wiped out for the entire text area.
    Any thoughts?
    -Jason Kringen

    Just to give some more details, here's the TextFlow output from our TextArea before using the spell check word replacement:
    <TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p direction="ltr" justificationRule="auto" justificationStyle="auto" leadingModel="auto" paragraphEndIndent="0" paragraphSpaceAfter="0" paragraphSpaceBefore="0" paragraphStartIndent="0" textAlign="start" textAlignLast="start" textIndent="0" textJustify="interWord"><span>Text goes in here. </span><span alignmentBaseline="useDominantBaseline" backgroundAlpha="1" backgroundColor="transparent" baselineShift="0" breakOpportunity="auto" cffHinting="horizontalStem" color="#000000" digitCase="default" digitWidth="default" dominantBaseline="auto" fontFamily="Arial" fontLookup="embeddedCFF" fontSize="28" fontStyle="normal" fontWeight="bold" kerning="auto" ligatureLevel="common" lineHeight="120%" lineThrough="false" locale="en" renderingMode="cff" textAlpha="1" textDecoration="none" textRotation="auto" trackingLeft="0" trackingRight="0" typographicCase="default">misspeled</span><span> jhkjd het </span></p></TextFlow>
    And here is the TextFlow output immediately after replacing a misspelled word:
    <TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p><span>Text goes in here. misspeled jhkjd get </span></p></TextFlow>
    So it's obviously stripping out all of the TLF formatting and simply leaving the blank <p> and <span> tags without any of the formatting details.

  • A problem with this webpage caused Internet Explorer (IE9) to close and reopen the tab

    I have IE9 (using 32-bit version) installed on a relatively new laptop with Windows 7 64-bit. Up until last weekend IE9 worked fine and Flash Player worked fine too.
    At the weekend a webpage asked for Flash Player to be updated - which I did. Ever since then whenever I go to a webpage needing Flash Player I get the message "A problem with this webpage caused Internet Explorer to close and reopen the tab". This happens twice and then an IE9 error page.
    I have read the discussions in here about the problems with Flash Player 10.3 and have tried the various solutions. I have updated to 10.3.181.16 having tried 15 and 14 previously. Same problem.
    I have reset IE9. Same problem.
    I have disabled all add-ons which stops the problem. If I enable just the Flash Player add-on then the problem recurs. Since there are so many webpages that use Flash I do not want to run my browser without this add-on running.
    If I enable the add-on and run IE9 using software rendering instead of GPU rendering then I don't get the problem. However, this isn't exactly making the best use of the resources on my laptop.
    This may well all be related to the 10.3 problems but no one seems to have mentioned having a problem with tabs closing and reopening so I thought I would post on here to check.
    Any suggestions for how to solve this (other than using software rendering)?

    Thanks again for your reply. I appreciate the time you have taken to respond.
    I think, however, you misunderstand the problem. IE9 does not reopen the tabs on just one website - it is doing this on every website that needs Flash Player. Therefore, running in Compatibility mode is not an option. In fact, because IE9 reopens the tabs so quickly and then ends up with an error page, I cannot even click the Compatibility button anyway.
    I could use ActiveX filtering - true. All that this means is that Flash does not play on any of the websites. When I want to re-enable ActiveX for a particular website where I need to see the Flash Player item, this just triggers the error.
    This problem also happened on .14, .15 and well as the current .16 version. It did not happen with the previous version of Flash Player that I had on the system (version 10.2 I think).
    The fact is that either Flash Player or IE9 or both is/are broken. The two choices I am still left with are:
    1. Use software rendering (which contradicts the latest advertisements for IE9 about unleashing the power of IE)
    2. Use another browser - I have no problems with either Firefox or Chrome

  • How to use I18N with a custom validator?

    This is my custom validator:
        public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
            Pattern pat=Pattern.compile(".+@.+\\.[a-z]+");
            Matcher m= pat.matcher(value.toString());
            if(!m.find())
                FacesMessage message = new FacesMessage("Not a valid e-mail address");
                throw new ValidatorException(message);
        }Instead of providing the text "Not a valid e-mai address", I'd like to get the text out of my ApplicationResources property file.
    How can I do this?
    I know how to use it with the provided validators, but not with own custom ones
    Please help me out, thanks

    I found a solution for this problem, I don't know it's best practice but here it is :
        public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
            String errortext;
            Pattern pat=Pattern.compile(".+@.+\\.[a-z]+");
            Matcher m= pat.matcher(value.toString());
            if(!m.find())
                ResourceBundle bundle =
                ResourceBundle.getBundle("be.vdab.resources.ApplicationResources", context.getViewRoot().getLocale());
                errortext = bundle.getString("erroremail");
                FacesMessage message = new FacesMessage(errortext);
                throw new ValidatorException(message);
        }

  • QT Pro- have valid reg# for Mac, cant use it with my new PC

    QT Pro- have valid reg# for Mac, cant use it with my new PC
    gets "Invalid registration" error upon entering the reg code...
    Im typing it in the QT control panel on my Windows XP workstation exactly as it appears on my MBP. Am I required to purchase a second license just to use it on a PC ?

    thanks for your input. I did some hunting around and eventually discovered that one can buy a QTP for Windows license on the Apple Store $29.99 at the time of this writing. Its clear now that the license code for QTP/Mac will not work for QTP/Win or vice versa. Who woulda thunk it ?
    But now we know...

  • Able to install the .ipa signed with distribution certificate using iTunes on MacBook Pro. where as the when tried to install using iTune on PC is causing a problem

    Able to install the .ipa signed with distribution certificate using iTunes on MacBook Pro. where as the when tried to install using iTune on PC is causing a problem

    The sound input going to the mic is not going to pipe through the speakers like that.  It doesn't do it because it would cause a feedback loop on itself.  The mic input will take sound and output it to a program or to another pathway (like a VoIP or Facetime call, etc.) but it won't behave like a Karaoke machine if that's what you're thinking.

  • Hi I have a macbook pro version 10.6.7 I cant install tunes 12 .and Ihave a i phone4, i cant use it with Itunes 10,,,I delete Itunes10,and now I cant use my Iphone with my macbook cause I don't have the correct version of Itunes

    this is my problem ...I have a macbook pro version 10.6.7  and I cant install tunes 12 ....Ihave a i phone4, i cant use it with Itunes 10,,,I delete Itunes10,and now I cant use my Iphone with my macbook cause I don't have the correct version of Itunes,,,what is the version of Itunes i need to install?? i need it for my iphone 4 and my macbook 10.6.7

    Run the Software Update pane of System Preferences or click here.
    (121029)

  • I want to create a login form by using servlets with database validation.

    Would you please provide me a code for a login form using servlets with Ms Access database validation?

    No. This is not a free coding service. Your request is (a) ridiculous, (b) offensive, and (c) off-topic. Locking this thread for later deletion.

  • What would cause multiple error lines to appear using validator logic

    What would cause multiple errors to appear for a single line as shown below. I coded Regular Expression Validator with a specific matching pattern and all the patterns work fine. When I key in an invalid pattern on a row I get the following errors dislayed. Why am I getting multiple error lines instead of one. Also when the data in the field is in error the field gets cleared. How do I fix this problem?
    Error
    java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    - JBO-ObjectCode_Rule_1: Object must be in range 8000-8999 or object must be in form of 8%, 8n%, 8nn% where n represents a number.
    - JBO-27008: Attribute set for ObjectCode in view object AccountsecuritygroupobjView2 failed
    - JBO-ObjectCode_Rule_1: Object must be in range 8000-8999 or object must be in form of 8%, 8n%, 8nn% where n represents a number.
    - JBO-ObjectCode_Rule_1: Object must be in range 8000-8999 or object must be in form of 8%, 8n%, 8nn% where n represents a number.
    - JBO-27008: Attribute set for ObjectCode in view object AccountsecuritygroupobjView2 failed
    - JBO-ObjectCode_Rule_1: Object must be in range 8000-8999 or object must be in form of 8%, 8n%, 8nn% where n represents a number.

    Looks as though my RegEx script is not coded properly so it is causing the problem.
    This is my regex script
    8([0-9]{3})|8([0-9]{0,2}\%)
    I changed the script above to the following to slowly build the script back to get rid of these multiple errors that are appearing. When I set my regex script to the following then I just get the one error line.
    ([0-9]{4})
    I thought the regex script was working but when I key an invalid value I get 8 error lines as shown above. That should not be happening. This regex script
    8([0-9]{3})|8([0-9]{0,2}\%)
    is to perform the following logic:
    The field I am editing is 4 characters long.
    1) The first character must be an 8 and the next 3 charaters must be any character from 0-9
    OR
    2) The first character must be an 8, the next 0-2 characters must be any character from 0-9, the next non-blank character after any digits must be a wild card character of %
    Examples: any number from 8000-8999, 8%, 8n%, 8nn% where n is any number from 0-9
    Edited by: cwilbur on Sep 14, 2011 1:28 PM

  • ADF View Accessor Validation with Bind Variable

    Hi
    I need to solve the following requirement using a view accessors and bind variables;
    1. User can select a value for a attribute from LOV which is unfiltered.
    2. User can manually edit code into the same attribute as in 1 above, which needs to be validated.
    As the data set for the attribute is large, I need to be able to validate 2 using a query with a where clause.
    My approach has been;
    1. I have a view object for the source lookup table, ProductVO.
    2. I have created a view criteria on ProductVO that accepts a bind variable, pProductCode.
    3. On my OrderEO I have a attribute, productCode.
    4. I create a new view accesor on the OrderEO using the view criteria created in point 2.
    5. I have lft the bind variable parameter blank, as I need to be able to dynamically pass a product code at run time.
    6. On my OrderVO for the productCode attribute, I have create a LOV, based on the ProductVO. This will ensure that the user can view and search all products if needed.
    What I am not getting working;
    1. How can I pass the attribute value to the view accessor at runtime when the value is manually captured.
    2. Ensure that if a value is selected from the LOV, that the view accessor validation does not get invoked.
    What I have tried to solve point 1;
    1. I created a validator on the productCode attribute on the OrderEO as a list validator using the view accessor as my list. I am not sure how to get the bind variable populated. Leaving out the bind variable, I assume, would cause the value to be validated against all my products.
    2. I then tried using a method validator and passing in the productCode value and querying the view accessor.
    3. I have not yet tried using Key Exists, is this maybe the missing link/trick?
    All help will be considered a early christmas gift!!

    Hi
    I have found that when using validation type Key Exists and the VO is in the local application, then the bind variable is available in the Create Validation wizard. When I try and create a validator on a VO that is core to all my applications, then I put that VO into an ADF library, the bind variable parameter is not available for mapping to my entity object attribute, even though I can select the VO to create a view accessor from the ADF library.
    Possible bug?

  • Using maildir with Postfix

    MAILDIR : Qmail ---> Postfix
    I'm migrating from Qmail (on an eMac to Postfix on a MacPro.
    One thing I'm reluctant to leave behind is the use of maildir ("Two words: no locks").
    Is anyone here using maildir with Postfix on OS X Server (10.5.2)?
    How did you get it to work cleanly?
    Are there any caveats to using the Sys Admin tool afterwords?
    I love Qmail... but, I think I need to move to Postfix on the Pro for ease of ongoing maintenance and updates. Qmail is ROCK solid once set up, but is a bit of a pain to remember everything you need to get into place for updating a piece of the toaster. Though I love what daemontools provides, I'll also be able to use launchd now for more simplicity. The thought of setting up the complete qmail toaster again makes my brain hurt. That's the problem with a great setup that worked, you forget it!
    FYI - links of note:
    http://cr.yp.to/qmail.html -- DJBs qmail site
    http://cr.yp.to/proto/maildir.html -- info about maildir
    http://www.qmailrocks.org/ -- one of the best qmail toaster sites (close to the same tools as OS X)
    http://www.zippy6.net/osx/qmail.html -- adventures on OS X (& qmail)
    Virtual Domains & WGM Users
    An aside.. I'm using vpopmail for virtual domains... and I'm researching the virtual domain thing on 10.5.2+postfix... do I really need to use WGM? I don't want to create OS level users if I can help it... Maybe I just don't understand WGM -- I've been reading the forum on this issue, but there are lots of posts to weed through...! so if you also know about this issue... that'd be great!

    Luckily I skipped ever working with sendmail!
    The short answer to your question is: Yes. I'm sure the postfix mailbox default would be just fine especially in my light use case.... But I have (a little) extra time, and I really like maildir. I just think it is superior. So even though I am going leopard server to relieve me of extra work... I can't help tweaking it here or there for fun (cause it isn't for profit!). Asking for others experience in the the forum seems perfectly reasonable. After reading, I'm pretty sure setting for maildir would not be much extra work or break anything. I'm more worried about the virtual domain stuff.
    All things being equal, I would prefer to stay with qmail... however, I am a "light" sysadmin, not a pro one. I've managed a few boxes in the past and set up FreeBSD with qmail+tools etc... but I no longer manage those. I still manage my own server at home with a few domains and a small group of email accounts (family and friends).
    I'm a Mac guy from WAY back, but I also like Unix (OS X was a huge lump of cool beans for me!) So my computer of choice is a Mac. When I set up the eMac ~4 years ago, I wanted to run qmail on it and I didn't buy OSX server. But, the truth is that putting qmail together on the mac was a HUGE pain in the kiester! Obviously I got it working, but not without a fair amount of tweaking and re-compiling etc. etc. And as you know the eMac is PPC. So now I've got a Mac Pro and it's going to do a lot for me. Since I've got a student discount (MBA), I also got Leopard server.
    What I expect is a simpler administration experience, along with more confidence of options for putting things right when they go wrong, including being able to rapidly recreate the server from scratch if I need to. Frankly even with my copious notes, I'm not sure I could recreate the eMac server quickly! (BTW that **** eMac has run flawlessly 24x7 for 4 years straight (another reason to rotate it off.)
    So, no, I am not expecting Postfix to "wow" me over qmail. And I'm fine with using a single postfix alias file instead of the pretty cool .qmail-alias files. Though I could build the whole thing, I want all the pieces to pretty much be there for me. I got other fish to fry!
    Since I know my way around FreeBSD there just is a bit of a learning curve using Leopard server sys admin tools. Since I'm in no rush (I don't have a busted server), I'm taking my time learning how to get the postfix part of the puzzle set up right: maildir and virtual domains. I'm setting up a new server with OS X server.
    I had no intent to write this much LOL.. Your point on mailbox is entirely valid. I just want to use maildir if it isn't too much trouble. "Need?" Nope. I don't need. Incurable computer nut with foibles? Yep!

  • TitleWindow with 7 combobox increase cpu usage at second opening...

    Hi flex comunity!!
    Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow creationComplete="init()" xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute" width="1124" height="748" close="cerrar()" backgroundColor="#79B86E"
    showCloseButton="true" title="IRI - Interfaz de Registro de Incidencias"
    titleIcon="@Embed(source='images/alarm.png')" xmlns:ns1="*" creationPolicy="auto">
        <mx:Canvas x="10" y="10" width="1084" height="688">
            <mx:Canvas x="6" y="5" width="1074" height="678" backgroundColor="#F3F3F3">
                <mx:Label x="20" y="10" text="Tipo de incidencia"/>
                <mx:ComboBox change="cargarSubTipoIncidencia(event)" prompt="Seleccione tipo incidencia..."
                    x="20" y="27" width="424" id="cmbTipoIncidencia" ></mx:ComboBox><!--dataProvider="{listaTiposIncidencias}"-->
                <mx:Label x="20" y="66" text="Sub-tipo de Incidencia"/>
                <mx:ComboBox prompt="Seleccione sub-tipo incidencia..." x="20" y="82" width="424" id="cmbSubTipoInci"
                     enabled="false" change="{validaSubTipoInc()}"></mx:ComboBox><!--dataProvider="{listaSubTipoIncidencias}"- ->
                <mx:Label x="20" y="126" text="Tipo de Localización"/>
                <mx:ComboBox prompt="Seleccione tipo localización..." x="20" y="142" width="202" id="cmbTipoLocalizacion"
                     change="{validaLocalizacion()}"></mx:ComboBox><!--dataProvider="{listaTipoLocalizaciones} "-->
                <mx:Canvas x="20" y="206" width="202" height="37" borderColor="#020202" borderStyle="solid">
                </mx:Canvas>
                <mx:Label x="255" y="126" text="Ficheros adjuntos"/>
                <mx:Image x="395" y="113" source="images/FolderDocuments.png" width="34" height="32"/>
                <mx:TextArea x="255" y="144" width="189" height="197" id="txtFichAdjuntos">
                </mx:TextArea>
                <mx:Label x="20" y="188" text="Afecta Circulación"/>
                <mx:Image x="302" y="347" source="images/document-add.png"/>
                <mx:Image x="370" y="347" source="images/document-delete.png"/>
                <mx:Label x="20" y="267" text="Prioridad"/>
                <mx:Canvas x="20" y="283" width="202" height="37" borderColor="#020202" borderStyle="solid">
                </mx:Canvas>
                <mx:Label x="23" y="339" text="Incidencia Asociada"/>
                <mx:TextInput x="23" y="357" width="158" id="txtIncidAsociada"/>
                <mx:Label x="23" y="399" text="Descripcion"/>
                <mx:TextInput change="validarDescripcion()" x="23" y="414" width="421" id="txtDescripcionAlarma"/>
                <mx:Label x="23" y="458" text="Notas Adicionales"/>
                <mx:Image x="126" y="443" width="34" height="33" source="images/Notes.png"/>
                <mx:TextArea x="23" y="476" width="421" height="69" id="txtNotasAdic"/>
                <mx:Label x="23" y="563" text="Contactos"/>
                <mx:Image x="87" y="549" source="images/Contacts.png" width="29" height="31"/>
                <mx:TextArea x="23" y="581" width="391" height="87" id="txtContactos"/>
                <mx:Image x="422" y="583" width="22" height="20" source="images/Person-group-add.png" toolTip="Agregar contacto..."/>
                <mx:Image x="422" y="611" width="22" height="20" source="images/Person-group-x.png" toolTip="Eliminar contacto..."/>
                <mx:Image x="422" y="642" width="22" height="20" source="images/View.png" toolTip="Ver Datos..."/>
                <mx:Label x="476" y="413" text="Modo de Detección"/>
                <mx:Label x="799" y="413" text="Grupo/Unidad"/>
                <mx:ComboBox change="{validaModoDeteccion()}" prompt="Seleccione modo de detección..." x="476"
                    y="432" width="262" id="cmbModoDeteccion"></mx:ComboBox><!--dataProvider="{listaModosDeteccion}"-->
                <mx:ComboBox change="{validaGrupoUnidad()}" prompt="Seleccione grupo/unidad..." x="799" y="432"
                    width="206" id="cmbGrupoUnidad" ></mx:ComboBox><!--dataProvider="{listaGruposUnidades}"-->
                <mx:Label x="476" y="477" text="Canal de Comunicación"/>
                <mx:Label x="800" y="479" text="FH de Detección"/>
                <mx:Image buttonMode="true" click="generarHora()" x="954" y="465" source="images/chronometer.png" width="27" height="31" toolTip="Generar hora..."/>
                <mx:Image x="881" y="413" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:ComboBox change="{validaCanalComunicacion()}" prompt="Seleccione canal de comunicación..." x="476"
                    y="493" width="262" id="cmbCanalComunicacion" ></mx:ComboBox><!--dataProvider="{listaCanalesComunicacion}"-->
                <mx:TextInput x="799" y="496" width="206" id="txtFHDeteccion" editable="false"/>
                <mx:Label x="476" y="563" text="Sistema de Origen"/>
                <mx:ComboBox change="{validaSistemaOrigen()}" prompt="Seleccione sistema origen..." x="476" y="581" width="262"
                     id="cmbSistemaOrigen" ></mx:ComboBox><!--dataProvider="{listaSistemaOrigen}"-->
                <mx:Image buttonMode="true" x="826" y="593" width="81" height="75" source="images/button_ok.png" click="altaIncidencia()"/>
                <mx:Image buttonMode="true" x="915" y="600" height="60" width="71" source="images/button_cancel.png" click="cerrar()"/>
                <mx:Image x="954" y="393" source="images/people.png" width="38" height="34"/>
                <mx:Image x="671" y="546" source="images/server.png" width="37" height="35"/>
                <mx:Image x="650" y="381" source="images/Modem_Connection.png" width="67" height="66"/>
                <mx:Label x="477" y="11" text="Geolocalización"/>
                <mx:Image x="574" y="4" source="images/worldGlobe.png" width="38" height="25"/>
                <mx:Image x="1014" y="10" source="images/logoAdifICO.jpg"/>
                <ns1:GeoLocalizacion x="489" y="36" width="516">
                </ns1:GeoLocalizacion>
                <mx:RadioButton x="48" y="214" label="SI" group="{afectaCirc_group}" id="afectaCirculacionSI" />
                <mx:RadioButton x="157.5" y="215" label="NO" group="{afectaCirc_group}" id="afectaCirculacionNO" />
                <mx:RadioButton x="30" y="290" label="Alta" group="{impacto_group}" id="prioridadAlta" change="{validaPrioridad()}" />
                <mx:RadioButton x="92" y="290" label="Media" group="{impacto_group}" id="prioridadMedia" change="{validaPrioridad()}" />
                <mx:RadioButton x="163" y="290" label="Baja" group="{impacto_group}" id="prioridadBaja" change="{validaPrioridad()}"/>
                <mx:Image x="127" y="8" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:Image x="151" y="64" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:Image x="137" y="124" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:Image x="78" y="264" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:Image x="587" y="412" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:Image x="612" y="474" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:Image x="587" y="562" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:Image x="893" y="477" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
                <mx:RadioButtonGroup id="afectaCirc_group" enabled="false" />
                <mx:RadioButtonGroup id="impacto_group" enabled="false" />
                <mx:Button x="185.5" y="357" label="..." width="36.5" toolTip="Asociar incidencia..."/>
                <mx:Image x="89" y="395" source="images/asterisk_orange.png" toolTip="Campo obligatorio"/>
            </mx:Canvas>
        </mx:Canvas>
    </mx:TitleWindow>
    I have a titleWindow with seven combobox and anything else, like labels, radios, etc.
    The second time I open the titleWindow (the first time works fine), my cpu usage increase at least 50% and my browser became so slowly. I must to re-open the browser to work normally.
    I have tried to delete all the combobox´s and works perfect.
    I open and close the titleWIndow with PopUpManager, so I do not understand why the memory is not dispose.
    Is there any solution??
    Any idea??
    Thanks a lot.

    I have used the profiler with the next result:
    I do not know about ChildConstraintInfo, but it seems to be the cause of my high cpu use.
    Do you know what ChildConstraintInfo is?
    What can I solve this high consume?
    Thanks in advance for your attention
    Fran

  • Have an issue regarding library books. My ereader is validated with Kobo account and Adobe Digital Editions account, but I get an error: 'this document is protected bij DRM and isn't available with your Adobe ID'.

    Have an issue regarding library books. My ereader is validated with Kobo account and Adobe Digital Editions account, but I get an error: 'this document is protected bij DRM and isn't available with your Adobe ID'.

    same problem for me. I am using abe edition 3 as I don't think 4 can be used with kobo. Book has been downloaded to kobo but it can't be read as it is not authorised.Help please

  • How do I use LDAP with iMQ 2.0?

    I am looking for an example to see how to use LDAP with iMQ 2.0.
    I was able to set up the config settings to access a local LDAP,
    but iMQ authentication still rejects valid logins.
    Let me know if I can find more info someplace.

    You can also find an example I put togther in the Sun One knowledge base.
    If you go here:
    http://knowledgebase.iplanet.com/NASApp/ikb/index.jsp
    Search for article 7772
    Alternatively here is the direct link
    http://knowledgebase.iplanet.com/ikb/kb/articles/7772.html

Maybe you are looking for

  • Ipod nano is blank.  it was charging fine and then when I took the charger off I noticed the screen was black.  Can't turn on and nothing is generating from it.  It's 4 months old.  What do I do?

    I have an ipod nano ( the small square one) which is 3 mo old.  Yesterday, after charging, I noticed that the face was black - totally blank.  I tried turning it on but of course nothing happened.  I can't tell if it's on or off.  No sound, no screen

  • IP Blacklisting

    Dear Team, We are mail service providers. The client send the mails by using our IP. Client get delivery failure mails with following reason.  Failed Recipient: X  Reason: Remote host said: 550 5.7.1 Service unavailable; Client host   [180.179.114.23

  • Experience Question

    Hello, i implemented a simple mailer with javamail and all works fine. now the project is for a community with a lot of members and i tested the send performance with following code: MTAtransport = MTAsession.getTransport("smtp"); MTAtransport.connec

  • I can't install any apps! help?

    i am not able to install any FREE trials on my creative cloud app when i press "download" this appears... There is no application set to open the URL aam://SAPCode=PHSP?productVersion=15.0?passPhrase=WrQygkNF/oD1afbrBWp3Q4+71rdJ7KQaHyKvCNX Rmk4WqOyUF

  • Photoshop CS4 doesn't display anything

    I recently bought an Nvidia GTX260 graphics card hoping it would boost performance also in Photoshop. After installing the latest driver directly from the Nvidia website, I still have this problem: when I open a project, there is no error but nothing