'NaN' displayed in textinput

Hi
I use a DTO/VO with variable 'credit' as Number type.
When I initialise with a blank VO with
model.selectedItem = new DataVO();
all my textinputs are empty as expected except for the
'credit' textinput which shows 'NaN'
How do I prevent it from displaying 'NaN'?
Thanks

"mtgna" <[email protected]> wrote in message
news:gjlgp8$a55$[email protected]..
> Hi
> I use a DTO/VO with variable 'credit' as Number type.
> When I initialise with a blank VO with
> model.selectedItem = new DataVO();
> all my textinputs are empty as expected except for the
'credit' textinput
> which shows 'NaN'
>
> How do I prevent it from displaying 'NaN'?
Give the internal variable that holds that value a default
value of 0:
private var _credit:Number = 0;
HTH;
Amy

Similar Messages

  • How to use comboBox as the key to display multiple textInput fields?

    All,
        I am new in Flex and need to help!
    I have selected rows from database and need to display on one comboBox with several textInput fields. The function need to
    1) After the page complete load, the comboBox display the ID (unique key of the row).
        and all fields should fill by the columns with the ID. ( I did it with only one textInput)
    2) When it selects an ID from comboBox, all fields with the ID should change accordingly.
    See attached file.
    Please help.
    Thank you in advance!

    Hi,
    there is an example. All you need to receive your data and
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:XML id="tstData" xmlns="">
    <yueventlists>
    <yueventlist event_id="EMB09">
      <event_id>EMB09</event_id>
      <stvcoll_desc>Albert Einstein College of Med</stvcoll_desc>
      <LOCATION_NAME>Bronx comm center</LOCATION_NAME>
      <LOCATION_ROOM>101</LOCATION_ROOM>
      <LOCATION_CONTACT />
      <PHONE />
      <FAX />
      <STREET />
      <CITY_PROVINCE>New York</CITY_PROVINCE>
      <STATE>NY</STATE>
      <ZIP>10471</ZIP>
      <COUNTRY />
      </yueventlist>
    <yueventlist event_id="EMB10">
      <event_id>EMB10</event_id>
      <stvcoll_desc>Albert Einstein College of Med</stvcoll_desc>
      <LOCATION_NAME>Bronx Red Lobster</LOCATION_NAME>
      <LOCATION_ROOM>102</LOCATION_ROOM>
      <LOCATION_CONTACT />
      <PHONE />
      <FAX />
      <STREET />
      <CITY_PROVINCE>New York</CITY_PROVINCE>
      <STATE>NY</STATE>
      <ZIP>10463</ZIP>
      <COUNTRY />
      </yueventlist>
    <yueventlist event_id="YUD09">
      <event_id>YUD09</event_id>
      <stvcoll_desc>Yeshiva University</stvcoll_desc>
      <LOCATION_NAME>Chelsea Piers Pier Sixty</LOCATION_NAME>
      <LOCATION_ROOM>103</LOCATION_ROOM>
      <LOCATION_CONTACT>0</LOCATION_CONTACT>
      <PHONE>0</PHONE>
      <FAX>0</FAX>
      <STREET>0</STREET>
      <CITY_PROVINCE>New York</CITY_PROVINCE>
      <STATE>NY</STATE>
      <ZIP>10033</ZIP>
      <COUNTRY>0</COUNTRY>
      </yueventlist>
      </yueventlists>
    </mx:XML>
    <mx:Form x="126" y="57">
    <mx:ComboBox id="cmbID" dataProvider="{tstData.*}" labelField="@event_id"></mx:ComboBox>
    <mx:FormItem label="School Name">
    <mx:TextInput id="schoolName" text="{cmbID.selectedItem.stvcoll_desc}"/>
    </mx:FormItem>
    <mx:FormItem label="Location Name">
    <mx:TextInput id="locName" text="{cmbID.selectedItem.LOCATION_NAME}"/>
    </mx:FormItem>
    </mx:Form>
    <!-- and so on... -->
    </mx:Application>

  • Spark ComboBox new item does not display in textInput?

    I've been playing with s:ComboBox and generally like them a lot. One detail is driving me nuts though - most likely due to my lack of knowledge in the subject - is that if I try to add a new item to my dataprovider in a changeHandler (registered to the change event) the text for the ComboBox textInput disappears - although the item addition works perfectly. Interestingly enough the same operation works fine if it gets called by clicking on a button, i.e. post the change event has been processed, and the text does not disappear. To better understand what I'm talking about check out the code from http://help.adobe.com/en_US/flex/using/WS70f0d54f063b9b081aac8d1d1247252e4a0-8000.html#WS7 0f0d54f063b9b08626480d2124725f692c-7fff
    and try to add a new item and hit enter. Taking the same code from myCB_changeHandler and using it as a button click event instead of a change event handler yields to the behavior I'm looking for, i.e. the new item appears in the CB textInput field and when clicking the button gets added to the data provider while not disappearing from the textInput. Is there a way to accomplish this same behavior in the change event handler?
    thank you!
    f

    thank you!
    that does the trick!
    f

  • TextInput (with lookup reference) which doesn't display database value

    Hi,
    We are using JHeadstart 11.1.1.0.31 and have a problem with a field (varchar2 displayed as textInput) which references a lookup table. The value which is displayed is not the database value we expected but a number which seems to be the number of the record in the table. When we display the referenced field from the lookup table, we see the correct database value.
    When we run the service in the Model layer, this problem doesn't exist.
    Thanks for helping us,
    Petra Wernars / Jonathan Damen

    Hi,
    The issue here is that:
    - a model LOV has been defined on the View Object attribute
    - you are using a normal texinput to display the value
    - you are using something like #{bindings.MyField.inputValue} to bind the value
    The 'inputValue' will in this case assume a choicelist is rendered (because of the model LOV definition) so it will give the index within the choicelist, instead of the normal VO attribute value!
    Use 'attributeValue' instead in this case, so you will always show the real attribute value. Or remove the model LOV if you are not using it. Notice that with default options selected, JHeadstart will create a model LOV on each column that references another viewobject.
    Regards
    Evert-Jan de Bruin
    JHeadstart Team

  • Calculating and Displaying the Total for a field

    Hi all,
    I have a template that must have a field's total at the end of each page. I use <?add-page-total: InvAmt;’ ACCOUNTEDDR’?> for calculating the sum and<?show-page-total:InvAmt; 'C9G990D00';'(C9G990D00)'?> for showing the total. Its coming up properly.
    But on the last page i need the total of all the pages. I tried putting up <xdofo:inline-total display-condition="everytime" name=" InvAmt "> <xdofo:show-carry-forward name="InvAmt " format="99G999G999D00"/> in the footer but its printing the whole code as such. I tried to do a sum <?sum (ACCOUNTEDDR)?> after the for-each, but its returning a NaN. I couldnt find a solution for this.
    Please help.

    The NaN display that you get is probably due to some nulls. Filter out the nulls: <?sum(ACCOUNTEDDR[.!=''])?>
    For last page only content, take a look at the section "Last Page Only Content" in the guide here: http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187.pdf
    Hope that helps.
    Bipuser

  • Required Attribute For mx:TextInput

    Hi All,
    I need to set required="true" attribute to
    <mx:TextInput/> .
    But as per the docs, there is no such attribute for this
    component.
    The <mx:FormItem/> has the required Attribute, but i am
    not using the Forms , but a simple TextInput and it should be
    entered mandatory by the User.
    Any Idea's how to set required="true" for
    <mx:TextInput/>
    Regards,
    Madan N

    Hi ,
    below is the code to display the TextInput
    <mx:GridRow>
    <mx:GridItem width="110"><mx:Label text="Name"
    width="100" fontWeight="bold"/></mx:GridItem>
    <mx:GridItem><mx:TextInput width="100" id="name"
    tabIndex="1"/></mx:GridItem>
    <mx:GridItem width="110"><mx:Label text="SurName"
    width="100" fontWeight="bold"/></mx:GridItem>
    <mx:GridItem><mx:TextInput width="100" id="surname"
    tabIndex="2"/></mx:GridItem>
    </mx:GridRow>
    I need to show up the TextInputs as required and a tooltip
    saying this field is required as that showsup when using
    <mx:FormItem/>
    Madan N

  • Region - Display only on form layout page

    Hi,
    1) I have defined regions on table-form layout style. How ever I want the regions to be displayed only on the Form layout and not on the table layout page that has the search functionality. Is there a way to hide the regions on the search page?
    2) Also for display type "textinput" (read-only), eventhough I checked the "Column wrap?" checkbox, the text still spans across the page and not wrapping.
    Please help!
    Thanks.

    Regions enclose items. You can set the Display in Form Layout, Display in Table Layout and Include in Advanced Search properties on the items within the regions, but you are probably asking how to also hide the region title and line for items that are not displayed on the table/search page.
    Although there may be a better way to handle this, we've created a custom template for the Regions node under the group. The template is attached to the VERTICAL_REGION_CONTAINER template on that node. The template has code that turns off generation of the region if the region name is a certain string,
    We copied the current verticalRegionContainer.vm and added conditional code to the top of it like this:
    #if (((($subRegion.title=="Title1") || ($subRegion.title=="Title2")) && (${JHS.current.pageComponent.processingAdvancedSearchArea}))
              || (($subRegion.title=="SearchTitle") && !${JHS.current.pageComponent.processingAdvancedSearchArea}))
           ## do nothing
        #else
    ## the usual stuff in this template
    #endIn this example, the Title1 and Title2 regions are not being displayed on the search form (Advanced search)/table page but are displayed on the Form (Insert/update) page. The SearchTitle region is displayed on the Advanced Search/ table page but not on the Form (insert/update) page. Something like that may work in your case.
    If you want some fields to appear on both, but in different regions, copy the items and drop them under the appropriate regions.
    Peter Koletzke

  • Problem regarding multiple itemrender in same column.

    <?xml version="1.0"?>
    <!-- itemRenderers\inline\CBInlineCellEditor.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                [Bindable]               
                private var myDP:ArrayCollection = new ArrayCollection([
                    {label1:"Order #2314", contact:"John Doe",
                        quant:3, solddate:new Date(2005, 0, 1), Sent:true, CompInd : 0},
                    {label1:"Order #2315", contact:"Jane Doe",
                        quant:3, solddate:new Date(2005, 0, 5), Sent:false, CompInd : 1}
            ]]>
        </mx:Script>
        <mx:DataGrid id="myDG"
                dataProvider="{myDP}"
                variableRowHeight="true"
                width="600" height="250"
                editable="true">
            <mx:columns>
                <mx:DataGridColumn dataField="label1"
                    headerText="Order #"
                    editable="false"/>
                <mx:DataGridColumn dataField="quant"
                    headerText="Quantity"
                    itemEditor="mx.controls.NumericStepper" 
                    editorDataField="value"/>
                <mx:DataGridColumn dataField="solddate" headerText="Date"  itemRenderer="mx.controls.DateField" rendererIsEditor="true" editorDataField="selectedDate"/>
                <mx:DataGridColumn dataField="Sent" editable="false" >
                <mx:itemRenderer>
                        <mx:Component>
                        <mx:HBox>
                             <mx:Script>
                                 <![CDATA[
                                     private function fun1():void
                                         if(data.Sent == true)
                                             data.Sent = false;
                                         else
                                             data.Sent = true;
                                         outerDocument.myDG.dataProvider.refresh();
                                 ]]>
                             </mx:Script>
                             <mx:CheckBox change="fun1();" />
                        </mx:HBox>
                        </mx:Component>
                        </mx:itemRenderer>
                </mx:DataGridColumn>
                <mx:DataGridColumn dataField="solddate1" headerText="Col1" width="200" >
                    <mx:itemRenderer>
                        <mx:Component>
                            <mx:ViewStack selectedIndex="{data.Sent == true ? 0 : 1}" >
                                <mx:HBox>
                                    <mx:DateField selectedDate="{data.solddate}"/>
                                </mx:HBox>   
                                <mx:HBox>
                                    <mx:TextInput text="{data.solddate.toString()}" width="150"/>
                                </mx:HBox>
                            </mx:ViewStack>
                        </mx:Component>
                    </mx:itemRenderer>
                </mx:DataGridColumn>
            </mx:columns >
        </mx:DataGrid> 
    </mx:Application>
    Problem ::
    In above example, I am showing datagrid where column "Col1" having multiple item renderers. On change of checkbox from "Sent" column, I am dynamically displaying either of the item renderers. i.e., if checkbox is false then datefield else textinput field.
    But when I type in text in textinput, then after outfocus still it displays that textinput in the datagrid cell. I want it to display only label in that cell.i want Same behaviour just like editable column when chkbox is select. and default show renderer in datagrid.
    Thanks,
    Amol

    If you want to show a label, add a label to the renderer or convert your
    renderer to an itemEditor

  • Using a Math Formula in AS3

    Hi,
    I am trying to test using a math formula (probit function) in AS3. I can't get the script to work: the dynamic text box is displaying NaN after I run the function and use a hard-coded number for the variable. Here's the button's script that is getting a NaN display. I must be doing something wrong and would appreciate any help getting it working.
    stop()
    var p:Number = 39 //hard-code this number for testing
    function NORMSINV(p:Number):Number {
        // Coefficients in rational approximations
        var a:Array = new Array(-3.969683028665376e+01,  2.209460984245205e+02,
                              -2.759285104469687e+02,  1.383577518672690e+02,
                              -3.066479806614716e+01,  2.506628277459239e+00);
        var b:Array = new Array(-5.447609879822406e+01,  1.615858368580409e+02,
                              -1.556989798598866e+02,  6.680131188771972e+01,
                              -1.328068155288572e+01 );
        var c:Array = new Array(-7.784894002430293e-03, -3.223964580411365e-01,
                              -2.400758277161838e+00, -2.549732539343734e+00,
                              4.374664141464968e+00,  2.938163982698783e+00);
        var d:Array = new Array (7.784695709041462e-03, 3.224671290700398e-01,
                               2.445134137142996e+00,  3.754408661907416e+00);
        // Define break-points.
        var plow:Number=0.02425;
        var phigh:Number=1-plow;
        // Rational approximation for lower region:
        if (p<plow) {
            var q:Number=Math.sqrt(-2*Math.log(p));
            return (((((c[0]*q+c[1])*q+c[2])*q+c[3])*q+c[4])*q+c[5]) /
                                                         ((((d[0]*q+d[1])*q+d[2])*q+d[3])*q+1);
        // Rational approximation for upper region:
        if (phigh<p) {
            q=Math.sqrt(-2*Math.log(1-p));
            return -(((((c[0]*q+c[1])*q+c[2])*q+c[3])*q+c[4])*q+c[5]) /
                                                                ((((d[0]*q+d[1])*q+d[2])*q+d[3])*q+1);
        // Rational approximation for central region:
        q=p-0.5;
        var r:Number=q*q;
        return (((((a[0]*r+a[1])*r+a[2])*r+a[3])*r+a[4])*r+a[5])*q /
                                     (((((b[0]*r+b[1])*r+b[2])*r+b[3])*r+b[4])*r+1);
    var n1:Number=NORMSINV(p)
    mathBtn.addEventListener(MouseEvent.CLICK, mathButtonClick, false, 0, true);
    function mathButtonClick(e:MouseEvent):void {
        T1.text = n1.toString()    //click the button and NaN displays
    Regards,
    saratogacoach

    I don't know the formula that you're trying to achieve, but the log and sqrt must use positive values.
    If you're uncertain if a variable (or formula result) will give you a negative result and you need a positive one, you can use the Math.abs, which return s always a positive value.
    I've just altered like this in the first IF:
    var q:Number=Math.sqrt(Math.abs(-2*Math.log(p)));
    and in the second:
    q=Math.sqrt(Math.abs(-2*Math.log(Math.abs(1-p))));
    In this case the second formula has two Math.abs since I don't know the result of "1-p" (in this case is negative) and then you multiply by "-2" wich will make the number negative again, so it has to be positive for the square root. If you have the change consider changing the formula to see you can eliminate, so many Math.abs, make it simple.
    Otherwise is just a question of predicting results and see if the formula fits right.

  • Change length of attributes in Advanced Search

    JDeveloper 11.1.1.0.2 and JHeadstart 11g TP1.
    I have a question about changing the length (width) of attributes in Advanced Search in JHeadstart:
    I have a varchar2(6) field and In JAG I have used the following values:
    Java type = String
    Display type = TextInput
    In my application this field has 6 characters (= OK).
    But when I use Advanced Search in my application the field is much longer than 6 characters. I can fill in everything I want. Is there a way to change this so I can only use 6 characters in de the search field?

    OK, this is because in a search item you can use as many wildcards as you like: 'A%b%cdef%'.
    If you want to restrict the maximum length, you need to make a custom template for findTextInput.vm and add the following macro:
    #ITEM_MAXIMUM_LENGTH()
    Steven Davelaar,
    Jheadstart team.

  • CAN Frame Signal Conversion With XNet

    When dealing with CAN, most new developer struggle with the Frame and Channel (or Signal) conversion.  Developers are trying to get away with using the cheapest CAN hardware, and as a result are opting to not use XNet hardware but instead use things like the USB 8473, or using non-NI hardware like the ValueCAN by Intrepid, or using Vector hardware, or CAN to serial adapaters.  The problem with all of these is you generally just read and write frames which is the raw form of CAN.  When using these cheap devices you can't ask the CAN bus what the signal Bus_Voltage is, instead you need to perform a frame read, find the frame associated with the signal, then pull out the bits for that signal, then scale the signal based on the signal selected.
    All of this is doable but a pain and can be very custom.  That's one reason NI came out with the Frame Channel Conversion Library.  This library converts from Frames to Channels using an industry standard CAN database file.  The problem with this library is it hasn't been updated in 5 years, and has known issues which likely will never be fixed.
    NI has since come out with XNet which supports reading and writing signals on XNet hardware.  The XNet drivers also support converting Frames to Signals without needing hardware at all.  This conversion has several limitations, and really only works for getting the latest value for a signal, not all values.  And in addition to that if the signal was never seen, the value will be the defaul value for that signal, not NaN.
    So I wrote a wrapper around the XNet conversion library to handle going from signals to frames, or from frames to signals.  Anyone looking to use a DBC file, on hardware that only supports frame API should use this conversion library, or at least use the XNet conversion sessions.
    CAN Frame Signal Conversion Using XNet 
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

    Hello Hooovahh,
    Nice work  . It’s very useful.
    I’m also converting CAN Raw data to Physical values in my project. Yes, your correct XNET APIs have some limitations. as you mentioned, there is one more limitation I found,
    If your Message Data length (Payload) is 4 Bytes (example) and other CAN Frames are having more than 4 Bytes then its throwing Error (Error Code -1074384737).
    While converting CAN Frames to signals, we will get different Payloads but, our selected signal message have 4 bytes then XNET will gives an error (at the time of Data Conversion).
    As per attached Snap, My Signal is related to IDxBB and I’m sending two different Frames then XNET will not convert.
    Hooovahh Wrote:
    NI has since come out with XNet which supports reading and writing signals on XNet hardware.  The XNet drivers also support converting Frames to Signals without needing hardware at all.  This conversion has several limitations, and really only works for getting the latest value for a signal, not all values.  And in addition to that if the signal was never seen, the value will be the default value for that signal, not NaN.
    When we will send Frame by Frame then we will get all values (not only recent values). XNET will take previous value (if data is not present for Next iteration)
    Please check this snippet for all values & NaN Display.
    Munna

  • TP 2 generates unknown ADF Faces RC component

    JHeadstart 11g TP 2 generates an unknown ADF Faces RC component af:inputHidden when the Display Type of an item is set to Hidden in de JHS application definition.
    fragment from generated jsff:
    <af:inputHidden id="UserPreferencesuprfDummy" value="uprfDummy"/>
    fragment from default/item/form/formHiddenField.vm:
    <af:inputHidden #ITEM_ID_IN_FORM() #ITEM_VALUE_IN_FORM()/>
    Furthermore, when inspecting the used template via JHS Application Definition Editor, I find that the FORM_HIDDEN_FIELD entry is listed 2 times under the Forms Items category.
    Hope this feedback helps in wrapping up the production version of the promising 11g release.
    (JDeveloper 11g build 5407, JHeadstart 11g TP2 build 46).
    Regards,
    Eric

    For further info and in case it helps with the debugging, we're finding that a JHS item defined as Display Type=hidden will generate this Trinidad tag in the JSFF file. tr:inputHidden No hidden fields are generated in the JSPX file.
    As a workarond, we're changing these items to Display Type = textInput and Display in Form Layout and Display in Table Layout = "false." That generates an inputText item in the JSPX (not JSFF) file.
    Peter

  • JHeadstart cannot handle Faces access to ClobDomain

    JHeadstart's generated application from the default definition stack dumps the internal OC4J server with the stack trace (in part) below. The ADF AppModule works fine when executed using the ADF test application.
    The ADF module contains only one view defined against a database view which presents denormalized rendition of data from many tables, each record of which contains 32 attributes: 26 simple attributes, 1 clob field, and 5 user-defined collection types whose elements are user-defined object types. If the CLOB attribute is removed from the JHeadstart definition, the generated application executes successfully. (Using JDeveloper 10.1.3.1.0 and the .95 release of JHeadstart demo).
    500 Internal Server Error
    javax.faces.el.PropertyNotFoundException: Error getting property 'source' from bean of type oracle.jbo.domain.ClobDomain     at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:127)     at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)     at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)     at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)     at com.sun.faces.el.impl.BinaryOperatorExpression.evaluate(BinaryOperatorExpression.java:185)     at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)     at oracle.adf.view.faces.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:55)     at oracle.adf.view.faces.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1031)     at oracle.adf.view.faces.component.UIXComponentBase.isRendered(UIXComponentBase.java:285)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:262)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelLabelAndMessageRenderer.renderFieldCellContents(PanelLabelAndMessageRenderer.java:59)

    Looking at your stack trace, I think you are using fileDownload as the display type, correct?
    I just tried to run a page with a ClobDomain item displayed as file download and I get a similar error. This is a bug in JHeadstart (still in 10.1.3.1) that we will fix with the next service update.
    For now, the work around is to use display type "textInput", which will show the content of the Clob item directly on the page.
    Steven Davelaar,
    JHeadstart Team.

  • How to solve the flash Builder 4.6 scroll view and textinput  display problem?

    I have a dynamic form application which worked well on flash builder 4.5, having display problems in flash builder 4.6 now. What I did is adding
    TextInput objects  to a scroll view and set the texts for them dynamically. Everything is fine after the screen loaded. But if I scroll down, sometimes the texts will be placed in wrong positions. I attached the screen copy of the wrong display. Does anybody know how to solve this problem? Thanks.

    Check out the two threads below (if you have not already). I have not tried it but aeonus describes an approach that made me think of something that might work ... It is a workaround but, what if you have a text field (txtA) with the skin that does not allow soft keyboard selection, but does scroll correctly, and on the onClick event of that text field, you dynamically cover it with another text field (txtB) that does allow soft keyboard selection, (but does not scroll properly) and trigger the keyboard. After you get the entry from the user, set the value of txtA and destroy txtB ... leaving you (theoretically) with properly scrolling text fields. If you have a lot of those in your app, you might want to write a component that implements that behavior.
    "Create a dynamic textfield, and on click, invoke create a StageText instance at the same location as the textfield (by setting the StageText.viewPort property)
    Finally, set StageText.softKeyboardType to "numeric" and call StageText.assignFocus();"
    http://forums.adobe.com/thread/915019?tstart=0
    http://forums.adobe.com/thread/911214?tstart=0

  • Spark textinput does not display unicode properly

    I need to type in some special charactors using unicode input method.
    (install microsoft pinyin, and use secondary inputs-> unicode input, and type "E826" into the textinput box)
    in spark textinput, the charactor is showing as a sqare; while mx textinput displays the charactor correctly.
    does anybody know solution for this issue? or is it a known bug in flex?  thanks!

    I did not set font for neither s:textinput nor mx:textinput.  "Arial" should be used by default.
    I am wondering how mx:textinput can work. is there any alternative font set for it by default?
    I am not sure which font contains these special charactors.
    thanks!

Maybe you are looking for

  • Is replacing the logic board going to make my early 2011 Macbook Pro as good as before

    I have an early 2011 15" Macbook Pro that just crashed completely days ago. I sent it to the genius bar and was told that I need to replace the logic board and it costs amost $1000. I'm thinking whether changing the logic board actually means that my

  • Windows 8.1 Photos app doesn't display photos from Home Server V1 network drive

    I have my photos stored on a Home Server V1 network drive (\\homeserver\photos) and I have added the drive to the Pictures library. When I open the library in desktop Explorer I can see all the photos and my Photos live tile shows photos from the net

  • Montly Salary/expanes Distribution project wise

    Hi.. My client in construction business and the concept of project exists here.. my client want that the salary/other montly common expanses should should taken as cost to the project so that the exact project cost can be found. Tomes Edited by: Tome

  • Performance Counter

    Hi, I have a Azure Web Api controller and wanted to capture the time it takes for one of it's method and surface that as a performance counter. For example, each time the method enters the controller, I start the clock and on completion stop the cloc

  • ASA 8.2 - Static NAT and Dynamic NAT Policy together

    Hello community, I have the following problem using a ASA with version 8.2. 1) I have this segment on interface Ethernet 0/0: 192.168.1.0/24 2) Through interface Ethernet 0/1 I will reach several servers using the same source IP, but other servers mu