ADF - number field - 2-digit display

Hello
We use Jdeveloper 11.1.1.3

We have a number currently displays the field (say, price) which is like 10.2, 10.23 etc.
We need them all in 2 digits. Generally, in the select, we add to_char(price,'999,990.00') price.
He takes care of it.

But here in the EO/VO the attribute is a number, and so when we do the foregoing in VO query, it gives an error.

Is there a way in "field properties", we can define this 2-digit?

Thank you

In addition to the above, you can make the required adjustment to the level of the page as follows:


ID = "plam1" >


model = ' #{bindings. " Forumid.format}.
minFractionDigits = "2" / >

Thank you
Nini

Tags: Java

Similar Questions

  • Double the number of one-digit display figure

    Hi all

    I was wondering if there is a quick way of numbers of showing a number between 0 and 9 as 00-09.

    Best,

    Kutal.

    Display format for your digital indicator.  Right click and select Properties, click the display Format.  Choose the Point floating, with a minimum field width of 2 and the Pad with zeros on the left.  Then in the data tab entry choose the range to be between 0 and 9 with force if outside this range and increment of 1.0 if you are using a double.

  • ADF 11 g - how to make the number field to right align InputText

    Hello

    I work with ADF 11 g with Trinidad. I have a (jspx) page with editable table (Table of Trinidad) with text and the number of columns.
    Currently, all values are aligned to the left, but I want to number fields to align to the right.
    For example, employee name inputText should align to the left, and the salary should align to the right.

    The application has a skin with CSS.

    . CSS
    / * This will make all the inputText align right * /.

    AF | inputText::content {rule - tr - ref: selector(".)} AFFieldNumber")}

    / * This will make all the inputText align left * /.
    AF | inputText::content {rule - tr - ref: selector(".)} AFFieldText")}


    . JSPX
    < tr:inputText value = "#{rank." Salary}.
    styleClass = "AFFieldNumberMarker."
    inlineStyle = "text-align: right" >

    How can I make the number field align right? (Yet to keep the column text align left)

    Thank you
    Jim

    Published by: user476620 on December 8, 2011 14:47

    Jim, what is tr:inputText has a contentStyle property?
    If so, you can try toput

    text-align: left;

    in the property ContentStyle of the inputText component.

    Timo

  • Problem in designing a custom field for the display of paragraph

    Hello

    I need to develop a custom field that is supposed to act as a RichTextField with the additional of the hyperlink feature as seen in the web pages. I have a few paragraphs of text with an id associated with each of them. A paragraph may have link to another paragraph. I think that the hyperlink is actually like a button.

    My screen will consist of a single paragraph. If any hyperlink (id) in this paragraph is preesed then the screen reloads with another paragraph (id in a hurry).

    My problem is to develop a custom field for the display of this paragraph.

    Point: several lines of text without interruption. Some of the text may be bold, italic. a text can be the hyperlink.

    Now I'm stuck. I have no ideas how I can start with. Can someone give me please suggestions as to how I can start with?

    Thanks in advance

    Bika

    I have a different Suggestion.

    If you are using an ActiveRichTextField, you get two things:

    (1) the ability to shape a field using different fonts:

    Comment - formatting text in a RichTextField
    Article number: DB-00124
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

    (2) the ability to create "links" automatically using string models

    How to-to comparison models in the BlackBerry smartphone to provide a user experience integrated applications
    Article number: DB-00525
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

    Using models of string, I think you'd be able to create ' hot-link in your text, which the run Menu item was able to process you want.

    Just an idea.  Hope this works for you.

  • How to check the decimal value in the number field

    Is it possible to find the number of decimal digit is used.

    999.444
    444.45
    344.23
    33.666666666666

    Query provide rusult after the decimal value.

    Thank you.

    user-Keen wrote:
    Query provide rusult after the decimal value.

    Thank you.

    your_col - trunc(your_col)
    

    You have negative numbers?

    For negative values that you want to display?

    If only the decimal part, you can use ABS (col) - trunc (ABS (col))

    Published by: JAC on 4 April 2013 15:29

  • Phone number fields

    Hello

    I have my phone set up number fields so that when the user enters a 10-digit phone number, they tab above and it appears as such: (999) 999-9999. I was wondering if there is a script that can be used to allow only the codes 204 and 431.

    Thank you in advance for any help you can give me.

    NikDk

    Form1.Page1.Subform1.telephone::exit - (JavaScript, client)

    validat formats include 1234567890, (123)456-7890 and (123) 456-7890

    var regex = / ^-(?) () \d{3})\) ? [- ]? ({\d{3}) [- ]? (\d{4})$/;

    var str = this.rawValue;

    If (regex.test (str)) {}

    var areaCode = "";

    Regex = / ^ \d{10}$/;

    If (regex.test (str)) {}

    the format is 1234567890

    codeZone = str.substring (0.3);

    If (ZipCode == '204' | codeZone == "431") {}

    "Str =" ("+ str.substring (0.3) +" "") "" + str.substring (3.6) + '-' + str.substring (6.10);

    this.rawValue = str;

    }

    else {}

    xfa.host.messageBox ("the area code must be either 204 or 431.");

    }

    }

    else {}

    the format is (123)456-7890 or (123) 456-7890

    codeZone = str.substring (1.4);

    If (ZipCode == '204' | codeZone == "431") {}

    this.rawValue = str;

    }

    else {}

    xfa.host.messageBox ("the area code must be either 204 or 431.");

    }

    }

    }

    else {}

    xfa.host.messageBox ("Please enter the 1234567890 format phone number, (123)456-7890 or (123) 456-7890" ");

    }

    Steve
  • Format for number fields mask of

    Hello
    What is the format mask to use for the data number fields to display in the format 999,999.00

    Thank you
    Suresh

    Suresh,

    In the format mask * 9 * if there is no number means he will leave empty, and * 0 * means it will show the number * 0 * if there is no number entered.

    Therefore, set the format mask FM999, 990.00. This will display the * 0 * as * 0.00*

    Kind regards

    Manu.

    If my response or response from another person was helpful, please mark accordingly

  • How to limit the index field filter to display in standard integration page?

    Hi all

    I have a question here, how do I limit the index fields of standard display configuration check page? I noticed, there are also many fields unrelated to display standard failed in the page. Can I limit only the useful indexes appear in standard integration page? and how can I do?

    Thank you for your help.

    If you want to hide in the world, including all profiles too, you should be able to hide on the interface.

    Configuration Manager > Information fields > select > Edit > uncheck the box: turn on the User Interface > Ok

    When you do that, you may just want to remove the field.

  • NG Date and number fields internationalization

    We develop forms PDF for a format of number of spectators in Switzerland (Swiss) German is 99 999,99 ' and JJ.mm.aaaa.

    How do we set the format required for number fields and date?

    That's why there is the option 'Custom' for the 'number' and 'Date' format of the options. You may need to convert the field values for the numbers to use the "." decimal point.

  • How to force the numeric keypad on a number field element?

    Hi, I received a form on the Apex, and I have a 'number field' field type, but when I n my mobile (android) I click the field to enter data, I get a normal keyboard, not the numeric keypad.

    I use a mobile model of jquery on apex 4.2

    Thanks in advance.

    Declarative options 4.2 not quite there yet

    -Plugin - point HTML5 entry point

  • Form fields is not displayed correctly

    Seen in Reader APP on my iPad some forms, created with the following desktop Adobe, are not displayed as expected. I've specified that the fields must NOT be highlighted but they ARE in the drive of the APP. Is there any solution for this?

    Hello

    Please see your other post: entry form fields is not displayed correctly in APP

    Thank you.

  • try to fill in a number field with the help of a drop-down list box control and a text box

    That's what I work with so far.  The lines of code are quite simple, but (as I expand this to its full size of accounting for all combinations of variables) the result field seems suffocating and will not auto-update to change the variables in the form. Var v comes from a drop down menu, var n is a numeric field.

    var v = this.getField("TextOptions").value;

    var n = this.getField("Number").value;

    If (v == "TextOptionA") if (n == '1') event.value = "2";

    else if (v == "TextOptionA") if (n == '2') event.value = "3";

    else if (v == "TextOptionA") if (n == '3') event.value = "3";

    else if (v == "TextOptionA") if (n == '4') event.value = "4";

    else if (v == "TextOptionA") if (n == '5') event.value = "4";

    else if (v == "TextOptionB") if (n == '1') event.value = "0";

    else if (v == "TextOptionB") if (n == '2') event.value = "0";

    else if (v == "TextOptionB") if (n == '3') event.value = "1";

    else if (v == "TextOptionB") if (n == '4') event.value = "1";

    else if (v == "TextOptionB") if (n == '5') event.value = "1";

    else if (v == "TextOptionC") if (n == '1') event.value = "2";

    else if (v == "TextOptionC") if (n == '2') event.value = "3";

    else if (v == "TextOptionC") if (n == '3') event.value = "3";

    else if (v == "TextOptionC") if (n == '4') event.value = "4";

    else if (v == "TextOptionC") if (n == '5') event.value = "4";

    else event.value = "";

    In addition, TextOptionA, C, E, G and I will produce the event.value even, given the same variable n.  The same is true with TextOptionB, D, F and H.  Is it possible to compress the "TextOptionX" s that will produce the same event.value gave a value of n in one line?  Something along these lines (I know its bad, but it's the idea):

    var v = this.getField("TextOptions").value;

    var n = this.getField("Number").value;

    If (v == 'TextOptionA' or 'TextOptionC') if (n == '1') event.value = "2";

    else if (v == 'TextOptionA' or 'TextOptionC' or 'TextOptionE') if (n == '2') event.value = "3";

    else if (v == 'TextOptionA' or 'TextOptionC' or 'TextOptionE') if (n == '3') event.value = "3";

    else if (v == 'TextOptionA' or 'TextOptionC' or 'TextOptionE') if (n == '4') event.value = "4";

    else if (v == 'TextOptionA' or 'TextOptionC' or 'TextOptionE') if (n == '5') event.value = "4";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '1') event.value = "0";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '2') event.value = "0";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '3') event.value = "1";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '4') event.value = "1";

    else if (v == 'TextOptionB' or 'TextOptionD' or 'TextOptionF') if (n == '5') event.value = "1";

    else event.value = "";

    Something like that could be reduced to about 40 220 + lines of code.  Please help us on a mannequin of javascript.

    For the first part of the code, the problem might be that the value of the 'Number' field is a number, not a string (that you assume in your code).

    To solve that you can access the field valueAsString instead of the value property property.

    For the second part of the operator OR in JS code is ' | ', would therefore be the first if condition:

    If (v == "TextOptionA" | v == "TextOptionC")

    Note that the comparison of v must appear in both parts of the if statement, in its entirety.

  • The limit to the number of columns to display in the report. Help!

    Hi all

    Maybe this is a stupid question. But why get this error with a report of the IR? and what is the solution for this. Please help me with this.

    Error

    The limit to the number of columns to display in the report. Please, click on select columns under Actions menu to minimize the list of columns in report view.

    Oh... And I also have a blob column... If the format is not given, the table is very good... but happen to get this error only when the BLOB download format is given.

    Thanks and greetings
    John

    Published by: JB on March 30, 2012 11:08

    Hello

    I implemented a small suitcase of test on apex.oracle.com and I get the error even if I use the download format.

    I have a table
    test_blob (identification number, name varchar2 (10), blobcont blob)

    If I create IR as

      select
        id,
        name,
        blobcont
      from test_blob
    

    and then I set the download format I got the error.

    If you want this to work you need to change your query to

      select
        id,
        name,
        dbms_lob.getlength(blobcont) blobcont
      from test_blob
    

    And there still define download for blob on column blobcont format.

    Kind regards
    Aljaz

  • Login name of user and password fields are not displayed

    Hello
    I use EBS 11i. I just rebooted the server (it is a single node installation), I try to log into the login page, but the login fields are not displayed.
    I restarted services BSE, but always the same problem.
    Anyone has any idea what is causing this problem and how to solve?

    Thank you.

    Hello

    What is the version of database and operating system?

    Changes have been made recently?

    You will find all errors in the database logs and apache files?

    Run AutoConfig and make you what it ends successfully, bounce services and then check.

    Thank you
    Hussein

  • Function to find the number of lines to display by the foreach loop?

    Hi all

    Is it possible to find the number of lines to display per the foreach loop in the rtf model?
    We need to get the number of rows without using the count() in the xml file.
    We do some calculations based on the count in the rtf model.

    Thanks in advance

    Paste your file xml here, patients show us how count.

    You can count the number of lines.

    use

Maybe you are looking for

  • A few questions about G10

    Hello, just bought the qosmio g10. Here are my horses/questions 1. the sound during DVD playback is not getting a lot. Can't handle the bass too well. low voice is hard to hear. is there a good setting for this in the virtual surround from toshiba. c

  • Satellite A100-234: Real Player sound recording does not

    Hello I have problem with my sound system. I have the satellite A100-234.When I try to record from the sound recording, that it does not record... Please please please help me if you can

  • My HDR-PJ10 does not recognize my external hard drive 1 TB

    I bought a 1 TB external hard drive to download my videos to my new Camcorder HDR-PJ10, but it does not recognize when it is connected. It is formatted in FAT32, suggestions?

  • The volume control on the Satellite Pro A200 with Ubuntu 7.10

    I have a Satellite Pro A200GE-1F9, I did recently to dual boot with Vista and Ubuntu 7.10. It's the first time I used Linux and most things are going well so far. However, the volume control (a wheel at the front of the laptop) does not control the v

  • More! Digital Media Edition

    According to the site Web Microsoft Plus! Digital Media Edition is no longer available.  All I want to do is save my files of LP 33 laps on my hard drive and perhaps, eventually, make a CD.  Someone at - it suggestions for one program audio recorder