[ADF]not showing more than 15 digits

HI all
I have a database column with precision (20,10)
I have exposed field as an input field to the user. The format in the VO is defined as follows #,###,###,###.##########
I am faced with the following bug. When the total digits in the entered value exceeded 15, the last digit is automatically getting cropped.
e.g  0123456789.1234567 is getting cropped to 0123456789.12346
Can anyone please let me know what I need to do to overcome this issue
JDEV Version-  11.1.2.0.0

My findings on this using 11.1.1.7.0:
              <af:inputText value="#{bindings.BigNum.inputValue}" label="#{bindings.BigNum.hints.label}" required="#{bindings.BigNum.hints.mandatory}"
                            columns="30" maximumLength="30" shortDesc="#{bindings.BigNum.hints.tooltip}" id="it1">
                <af:convertNumber groupingUsed="true" pattern="#.#" type="number" minIntegerDigits="1" maxIntegerDigits="10" minFractionDigits="1"
                                  maxFractionDigits="10"/>
              </af:inputText>
              <af:inputText label="bind to String" id="it6" value="#{bindings.myNum1.inputValue}">
                <af:convertNumber type="number" pattern="#,###,###,###.##########" minIntegerDigits="1" maxIntegerDigits="10" minFractionDigits="0"
                                  maxFractionDigits="10"/>
              </af:inputText>
              <af:inputText label="Bind to java.lang.Number" id="it7" value="#{bindings.myRealNum1.inputValue}">
                <af:convertNumber id="nc2" type="number" pattern="#,###,###,###.##########" minIntegerDigits="1" maxIntegerDigits="10" minFractionDigits="0"
                                  maxFractionDigits="10"/>
              </af:inputText>
              <af:inputText label="Bind to oracle.jbo.domain.Number" id="it8" value="#{bindings.myOracleNumber1.inputValue}">
                <af:convertNumber id="nc3" type="number" pattern="#,###,###,###.##########" minIntegerDigits="1" maxIntegerDigits="10" minFractionDigits="0"
                                  maxFractionDigits="10"/>
              </af:inputText>
Of the four inputText only the it6, it7 and it8 are working. There are bind to pagedef variables. The first on (it1) is binf to a transient attribute I added to the Employees EO. This is the attribute definition
<Attribute
    Name="BigNum"
    ColumnName="$none$"
    SQLType="NUMERIC"
    Type="oracle.jbo.domain.Number"
    ColumnType="$none$"
    IsQueriable="false"
    IsPersistent="false">
    <Properties>
      <SchemaBasedProperties>
        <FMT_FORMATTER
          ResId="de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_FMT_FORMATTER"/>
        <FMT_FORMAT
          ResId="de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_FMT_FORMAT"/>
        <LABEL
          ResId="de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_LABEL"/>
        <CONTROLTYPE
          Value="number_edit"/>
        <DISPLAYWIDTH
          Value="30"/>
      </SchemaBasedProperties>
    </Properties>
  </Attribute>
Resource Bundle
de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_LABEL=Big Num
de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_FMT_FORMATTER=oracle.jbo.format.DefaultNumberFormatter
de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_FMT_FORMAT=\ \#,\#\#\#,\#\#\#,\#\#\#.\#\#\#\#\#\#\#\#\#\#
de.hahn.blog.xxyyzz.model.adfbc.views.EmployeesView.BigNum_FMT_FORMAT=\ \#,\#\#\#,\#\#\#,\#\#\#.\#\#\#\#\#\#\#\#\#\#
For this n EO/VO and user the same pattern I too see that the last digits of the number are cropped.
Running this EO/VO in the tester I too seethe input "1234567890.0123456789" converted to "1,234,567,890.0123458". The difference is that in the EO I used oracle.jbo.domain.Number for the transient attribute.
Added another inputtext which is bind to a oracle.jbo.domain.Number in the pagedef and this works too.
Enter values
Numberformat 2 | JDev &amp;amp; ADF Goodies
after submit:
Numberformat 1 | JDev &amp;amp; ADF Goodies
Summary: if the number is bound to a EO/VO the number format doesn't work as expected,
Timo

Similar Messages

  • Alias tables do not show more than 9 fields of the same type in a Command

    Hi there, In Crystal Reports I have a Command to query a database, this works fine and returns what I need,
    but in when you add more than 9 alias's and and then Select more thatn 9 fields of the same type it does not show any more them in the Field Exporler window.
    i.e. I want to add another alias and select casdet_text(10) but it does not show any more than 9.
    Any help woud be apprecitated.
    Thanks
    casdet_text(1)
    casdet_text(2)
    casdet_text(3)
    casdet_text(4)
    casdet_text(5)
    casdet_text(6)
    casdet_text(7)
    casdet_text(8)
    casdet_text(8)
    casdet_text(9)

    Hi James,
    It's likely an internal limitation. If you are going to alias all of your fields it's more efficient to use a View or Stored Procedure to handle the renaming server side rather than client side.
    It may even be a connection limit, try using another tool and see if you can add more than 9 aliases.
    Thank you
    Don

  • Query Bean Advanced Search not showing more than four criuteria

    Hi,
    I am new to using Query bean for Simple/Advanced Search. I have 6 criteria under the advancedSearchPanel criteria. In advancedSearchMapping, I am mapping all the six conditions. However when I run the Page, only the first four are shown. I am not sure as to why the other two are not rendering.
    I modified the order of the conditions and after that again the first four conditions are being shown. I am not sure of the bahaviour as to why this is happenning.
    Please help me figure out the issue.
    Thanks
    Sumit

    Hi (sorry, I am re-opening a very very old post)
    I was looking for a way to display more than 4 criterias in the advanced search panel, and I found this topic.
    So if I understand, there is no way we can display more than 4 criterias at the opening of an advanced search page ??!!
    I really need to display default 9 criterias in this panel (my customer really need it)
    1) Is there anyway to do it?
    2) When I add a new criteria (a LOV), the only search operators I have are "is" and "is not", while in the standard criteria items, there is more operators ("begins with", "contains", ... ). Why?
    thank you

  • The CSV file on the application server not showing more than 255 characters

    Hi All,
    We are using SAP 4.6C & the CSV file getting created on the application server has more than 255 characters, all the characters beyond 255 are getting truncated, even while downloading the file the same no. of characters are coming in the file.
    Can any one please let me know how can we overcome the problem in SAP 4.6C?

    Hi Buddy,
       You can't display morethan 255 Char. If you see the fun mod you will see the  the limit,I also faced the same problem. Probably you start checking by adding fields one by one or you have to reduce the length of some fields in order to display the full data in CSV.
    Thanks,
    Krishna...

  • Following Artists Does Not Display More Than 300 Entries.

    Hello, This has been an issue for a long time now, with the web player. The Artists List, Following, etc. do not show more than 300 entries.I follow something 800+, and can't see over half of my 'music collection' on this service. Please for the love of everything; Remove the limit on the scrolling feeds with add more bands as you scroll. I am also becoming quite irate this isn't even being acknowledged. I've had no success in email exchange with support either. Once I told them I am a developer by profession, and have built similar feeds for various sites, they stopped the BS, and flat out ended the exchange. I don't understand.If you want to get my sub $, I want this to work properly. Thanks, 

    Any progress on this? Still an issue.What is the point of following artists if you cap the display number. I've built these infinite feeds myself, admittedly not in flash, rather json etc. and this should be pretty easy to fix. I'd like to be able to see all the artists I follow, not less than half. Thanks.

  • Showing More than 1 Channel EQ

    On occasions I can not show more than one channel EQ at a time. Other times I seem to be able to open as many as I want.
    Is this a bug or is it to do with settings some where?

    Joff, there is now a link button on Plugin floating windows, the same as you'd see in the arrange, and other windows. This makes it so that each plugin you click on opens in the same window position, replacing what was there previously. More like the way you view plugins in protools.
    Turn open more than one plugin window at a time make sure that is switched off.

  • Validate that user should not enter more than specified number of digits/chars?

    Hello
    First case: I have placed a TEXT field on the form. Now i want to put the below validation,
    1) User has to enter only numbers (no decimals)
    2) Only 10 digits
    If not i need to
    1) Alert app.alert
    2) Make the field either CLEARIng or considering & resetting only the first 10 digits (if user entered more than 10 digits)
    2nd case: Same as above, a TEXT field, but, the data is with a DECIMAL notation, the allowed lenghts are as
    2 digits as prefix to decimal
    2 digits as suffix to decimal position
    example, 35.88
    Pls. let me knw the Java Script for these 2 cases or do you suggest me PATTERN validation if so, can i CLEAR or reset  and if so, pls. let me know under which TAB(Display / Edit / Data) i need to put the PATTERN validation?

    Firstly if you are only allowing numbers then the field should be a numeric field not a text field. You can use patterns to allow only whole numbers or to have 2 digits on either side of the decimal.
    In regards to the number of digits you can use the len function to determine the length of the data and if it is too long give a message or clear it.

  • Have Revel Premium but will not allow more than 2g of photos...not showing unlimited Gigs...How to Access unlimited Gigs?

    Have Revel Premium..but still not allowed more than 2gigs of photos...How to access unlimited Gigs of Revel Premium?

    Hi Dale
    If you are signed in using the same email ID that I see here, you should have unlimited photo uploads.  It shouldn't be required to uninstall and reinstall the app, but since I can't explain your trouble, it seems reasonable to try that.  First, be sure that your photos are safely backed up outside of Revel, eg., to an external USB drive.  If your photos are already uploaded to Revel, also be sure that you can access them at www.adoberevel.com
    The best way to delete the app and clear the app cache is to long-click on Adobe Revel in Mac's Launchpad view.  In Launchpad, long-clicking an app should show a tiny 'X' button, which will remove the app.
    If the problem persists, can you send me a screen shot of your account details in the app settings? 

  • My device iphone6 16gb storage is showing more than what i have installed in it. I tried restoring the phone but it still holds around 900 mb of storage which is not accounted. When i connect my phone to Itunes around 868mb is shown. Help

    I have an iphone6 16gb and the device storage is showing more than what i have installed in it. A few days ago suddenly i got a popup window of my device storage getting full though i hardly had 4-5 apps and 500mb of photos.  I tried restoring the phone and using it again as a new phone, i got my 10gb of storage but it still holds around 900 mb of storage which is not accounted. When i connect my phone to itunes, around 868mb is shown in the others section. I have no backed up data except for the contacts which are there in the icloud account. i dont understand what is that 868 mb of data.

    This space is taken up by iOS 8.
    http://www.theregister.co.uk/2015/01/02/apple_iphone_ios_8_lawsuit/
    This is a lawsuit war going on. Sorry about your storage space though.

  • HELP! TextField "NUMERIC" dont let me enter more than 9 digits

    Hi there,
    Firstly: I 've search for this question, and I ve found an old post very similar to it.
    (here is it: [http://forums.sun.com/thread.jspa?messageID=10706126] )
    But, unfortunately, the aswerings did not satisfy me...
    The problem is:
    I have a TextField that should receive a Credit Card number, meaning, it has to have 15 or 16 numbers.
    If I set it as "NUMERIC", when I run the app on my real cellphone (a SonyEricsson w810i), it dont let me enter more than 9 digits. Stringe thing here is: but on emulator, I could...
    txtCardNo = new TextField("Card Number", null, 16, TextField.NUMERIC);Instead, if I set it as "ANY", user can type up to 16 numbers, but the problem is that field will accept ANY character, and I dont want that way: I want that this field input acts accepting only numbers.
    How could I fix it?
    Shall I use a function to mask this field? If yes, how?
    Or this could be a problem of JVM implementation on this particular cell phone?
    Please, send me any examples and/or links.
    Thanks very much.
    =Marcello=
    PS1: I am quite newbie on Java things...
    PS2: I am working on this using NetBeans 6.5.1 and Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC

    Yuo can set an ItemStateListener to the Form containing the TextField, and validate the user input in itemStateChanged(...). In case of invalid input, I would show an Alert with an appropriate message, and blank out the content of the TextField (or set it to a default value, as appropriate).
    db

  • How do you get the integer of a number with more than 10 digits

    I can't seem to be able to get the integer of a number with more than 10 digits.
    ex:
    integer(12345678901.3) returns -539222987 when it should really return 12345678901
    Thanks for the help
    (I'm on director 11 at the moment)

    You can write a Parent script to represent Big Integers. I wrote some code to get you started. It consist of two classes - "BigInt" and "Digit".  At this point you can only add two "BigInts" and print out the value with a toString() function. Note that you pass a String to the "BigInt" constructor.
    In the message window you could enter something like:
    x = script("BigInt").new("999999999999")
    y = script("BigInt").new("100000000000000000004")
    z = x.add(y)
    put z.toString()
    And the output window will show:
    -- "100000001000000000003"
    Here are the two Parent scripts / Classes
    -- Digit
    property  val
    property  next
    on new me, anInt
      val = anInt
      next = 0
      return me
    end new
    -- BigInt
    property  Num
    property  StringRep
    on new me, aString
      Num =  script("Digit").new(Integer(aString.char[aString.length]))
      curNum = Num
      repeat with pos = aString.length - 1 down to 1
        curNum.next = script("Digit").new(Integer(aString.char[pos]))
        curNum = curNum.next
      end repeat
      return me
    end new
    on add me ,  Num2
      curNum = Num
      curNum2 = Num2.Num
      result = curNum.val + curNum2.val
      if result > 9 then
        carry = 1
      else
        carry = 0
      end if
      result = result mod 10
      sum = script("Digit").new(result)
      curSum = sum
      curNum = curNum.next
      curNum2 = curNum2.next
      repeat while curNum.ObjectP AND curNum2.ObjectP
        result = curNum.val + curNum2.val + carry
        if result > 9 then
          carry = 1
        else
          carry = 0
        end if
        result = result mod 10
        curSum.next = script("Digit").new(result)
        curSum = curSum.next
        curNum = curNum.next
        curNum2 = curNum2.next
      end repeat
      repeat while curNum.ObjectP
        result = curNum.val +  carry
        if result > 9 then
          carry = 1
        else
          carry = 0
        end if
        result = result mod 10
        curSum.next = script("Digit").new(result)
        curSum = curSum.next
        curNum = curNum.next
      end repeat
      repeat while curNum2.ObjectP
        result = curNum2.val +  carry
        if result > 9 then
          carry = 1
        else
          carry = 0
        end if
        result = result mod 10
        curSum.next = script("Digit").new(result)
        curSum = curSum.next
        curNum2 = curNum2.next
      end repeat
      StringRep = ""
      me.makeString(sum)
      return me.script.new(StringRep)
    end add
    on toString me
      StringRep = ""
      me.makeString(Num)
      return StringRep
    end toString
    on makeString me, digit
      if not digit then
        return
      end if
      me.makeString(digit.next)
      put String(digit.val) after StringRep
    end makeString

  • Purchase Order Quantity should not be more than PR quantity

    Dear all,
    We want to control Purchase Order quantity against Purchase Requisition.
    We have configured message setting 00 076 as  ERROR. when we create Material PR for lets say 100 quantity. When we create single or multiple Material PO against this PR for more than 100 quantity system is giving us error. This is exactly what we needed.
    But due to this message setting when we create Service PR and give service quantity lets say 100. and when we create Service PO and give Service quantity 60. First time system is allowing to save the Service PO.
    When we create another Service PO with reference to same Service PR system is showing error as we have configured. Even though quantity 40 is still available.
    What we want is to have control on quantity of Purchase Order for Material as well as service. Quantity should not be more than PR quantity.
    Is there any other way to have such control? please provide other available options to configure.
    Regards
    Kant

    Hi,
    06 076 is only for applicable only in case of material.
    For Service and material both, use 06 400 as error "Materials/services for requisition & & already ordered with & &"
    NOtes 786736
    This may help u !
    Regards,
    Pardeep malik

  • How to show more than one report in a same Form

    Dear all,
    I have develop many reports with CrystaReport XI and I'm using the CrystalReportViewer to show each of them in VB6. My Question is: Can I show more than one report in a Viewer? if i need to show the report1.rpt and report2.rpt in a same window how can I do it?
    Sérgio Salazar - Brazilian VB developer

    I once had a project which involved alot of reports and on my mind I had the same idea; to display all reports with only one crviewer but was not able to. Instead what Idid was to create say 10 forms with a viewer on each and if the user wanted to produce extra reports, they had to close some of them. This worked out for me.

  • P1006 - networked with XP and VIsta-64 not printing more than 2 pages

    Hello - I have a dilemma with my HP P1006.  I have the printer directly plugged in (USB) with my XP (32bit) PC.  I have a Vista-64 PC networked with it.  Both (XP-32 and Vista-64) are plugged in directly to the router (not wireless).  My question is why can I not print more than two pages at a time with items opened on the Vista-64 PC?  I CAN print more than two pages with items opened in the XP-32.
    Things I've done:
    1 - uninstalled everything & reinstalled the latest drivers for the XP-32.
    2 - marked the printer as "sharing" on the XP-32.
    3 - confirmed the printer is marked "enable bidirectional sharing" under the printer properties on the XP-32 PC.
    Things I perplexed about:
    1 - why won't items (docs, webpages, etc.) print more than two pages at a time from the Vista-64 PC?
    2 - is there any reason that I should download a driver for the Vista-64 OS? If so, which PC do I download it to?
    3 - I have another printer (Lexmark inkjet) connected in the same way (except it is a serial port not USB) and it can print more than two pages of a document at one time with no problem from either the XP-32 or Vista-64 PC?  Why?
    Any thoughts on this situation?  Any suggestions are greatly appreciate.
    Thank you - Jane.

    Hi!
    I just get a system message at teh bottom of teh screen saying "output cannot be issued " and it remains on teh same screen . I goto t-code va23 and enter my quotation number and on the top I select sales document ...issue output and select my output type and print preview or prnit , it comes out of that screen into the first screen and at the bottom gives msg "Output cannot be issued". I beleiev its not allowing the smartform to display when there are more than 2 pages , because I tried it with a contact which has 2 pages and it shows output but when I try with the one having more items i.e more than 2 pages it comes out of it . Its a smartform issue and something in the smartform is causing problem I beleive.
    Thanks

  • Exchange rate difference account is showing more than invoice or advance am

    Hi,
    Exchange rate difference account is showing more than invoice or advance amount  (USD V/S INR)
    1)  we have done down payment of customer.  (USD V/S INR  RS. 40/- PER DOLLAR)
    2)  Invoice posting also done  (RS. 42/-)
    3)  At the time of Invoice against down payment clearing  (RS. 43/-)
         At the time of clearing exchange rate difference account is generated automatically (back ground calculated).
         But exchange rate differemce account is displaying amount is more value.  This value is more than invoice and advance value.
         But question is how this much of value is getting in exchange rate difference account.
         Please suggest possible ways to get that.
    Regards
    Srinivas Gundala

    Hello
    There is a SAP note 357758. Please refer the same and also contact SAP OSS.
    Rgds

Maybe you are looking for

  • Update S066 and S067 tables after changing the credit horizon

    Hi, I have changed the credit horizon which was previously month to day through OMO1. However after making this change, all the contents of credit management in the table S066 and S067 were deleted. Is there a way to update the the tables after this

  • I cant run my recovery

    when i  run recovery a message apper to me and say : windows faild to start  a recent hardware or software change might be the cause to fix the problem : 1 - insert ur windows instllation disc and restart ur computer 2 - chosse ur language settings a

  • EXTREMELY URGENT!!

    Hello, I saved a .numbers file (with Numbers '09), 8.3 MB. Now Numbers '09 is unable to open the same file!! With others .numbers files there is no problem at all, even if the files are larger (10 or 12 MBs). How can I recover that .numbers file? Ple

  • Firefox 5 for Mac doesn't fully load many secure sites: from Schwab to Ally

    FF5 for the Mac is buggy when it comes to https and other secure sites. I've had trouble getting full functionality with everything from Schwab to AllyBank to Barclay to Gmail as part of a gadget on iGoogle. No problems at all with Safari accessing t

  • Which statement is taking more time in a block?

    Hi, I have a plsql block with thousands of sql statements in it, line by line. My query is how can i know which particular sql statement is taking more time. Thanks, VInod