Restrict the user to put more than 22 digits

hi Friends,
i am using jdeveloper 11.1.1.6.0.
using below code for price , i want to restrict the user to give more than 22 digits.
if user will put more than 22 digits , system won't allow to write the digits.
<af:inputText value="#{rate.Price}" id="it2"
autoSubmit="true"
disabled="#{pageFlowScope.PriceBean.updatesAllowed ne 'Y'}"
rendered="#{rate.RateType eq 'F'}">
<af:convertNumber type="number"
maxIntegerDigits="22" maxFractionDigits="12" groupingUsed="false"/>
</af:inputText>
but it is not working.
any useful comments .
Edited by: 964331 on Mar 22, 2013 4:06 AM

Hi,
use maximumLength="22"
<af:inputText value="#{rate.Price}" id="it2" maximumLength="22"
autoSubmit="true"
disabled="#{pageFlowScope.PriceBean.updatesAllowed ne 'Y'}"
rendered="#{rate.RateType eq 'F'}">
<af:convertNumber type="number"
maxIntegerDigits="22" maxFractionDigits="12" groupingUsed="false"/>
</af:inputText>
in your inputtext
Regards,
Vikas
Edited by: 812903 on Mar 25, 2013 12:32 AM
Edited by: 812903 on Mar 25, 2013 12:32 AM
Edited by: 812903 on Mar 25, 2013 12:58 AM
Edited by: 812903 on Mar 25, 2013 12:58 AM

Similar Messages

  • How can i restrict a user not open more than 3 sessions in database

    how can i restrict a user not open more than 3 sessions in database.For this i have already create a profile and set CONCURRENT_SESSIONS=3 and assing that profile to user but the problem is there.

    You will simply need to use the following parameter in your CREATE PROFILE syntax.
    CREATE PROFILE normal_user
    LIMIT SESSIONS_PER_USER 2;
    but the resource limits set for a profile are enforced only when you enable resource limitation for the associated database.
    you could do this either by having an initialization paramater which will invoke as soon as the database starts or try using ALTER SYSTEM command

  • How to restrict the delivery quantity not more than target quantity?

    Dear Gurus,
    How to restrict the delivery quantity not more than target quantity in a scheduling agreement? I think there are 2 methods.
    1. I found that setting 0 in Overdelivery Tolerance Limit in Info Record is not effective. Why?
    2. I want to set E for the message but can't find the place. The message is generated when entering and saving quantity as delivery quantity that is larger than target quantity. How can I set E to a message (067, as I remember)
    Any other effective method? Please advice. Thanks.
    Regards,
    David

    Dear all,
    It is not OK after checking everywhere you mentioned. I tested in 2 clients. In the development enviroment client, it works whatever E or W. In test enviroment, it does not work (meassge is W).
    I think there must be somewhere besides of those you menetioned.
    I notes that SAP help for the overdelivery tollerance setting of scheduling agreement: 
    Overdelivery Tolerance Limit
    Percentage (based on the order quantity) up to which an overdelivery of this item will be accepted.
    Dependencies
    If you have set the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed), this takes priority. It makes no sense to define a tolerance limit for overdelivery in such case.
    Where can I see: 'the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed)'? I want to check it.
    Pls help! Thanks.
    Regards,
    David

  • Problems to restrict access to a page when the user belong to more than 1 group

    I have realized that Dreamweaver on a coldfusion document only works fine when the user only belongs to a single group, this is because the code supplied by dreamweave when you use the option "Restrict access to a page" at "Server behaviors" it assumes that the user only have one group as you can see on this line created automaticly by dreamweaver:
    <cfif MM_Username EQ "" OR MM_UserAuthorization EQ "" OR ListFind("admin",MM_UserAuthorization) EQ 0>
    MM_UserAutorization has the value of the field assigned for the list of groups or levels, as you can see it could work if we reverse the parameters of the listfind function but the problem would be if we grant the access to more than one group because the sentence would be like this:
    <cfif MM_Username EQ "" OR MM_UserAuthorization EQ "" OR ListFind("Admin,Manager",MM_UserAuthorization) EQ 0>
    so both paramethers are lists therefore no user will get access to the page.
    I am trying to make a work around to fix this problem but I don't know how to get the name of the page since the Application.cfc so I can validate the access to this page against tables on my database.
    Does someone have a work around or a tip how to fix this problem?
    Thanks in advance.
    AG

    Seems like you have a problem with your group names.ctxLdap.modifyAttributes(groupName,member);Ensure that the value of your variable groupName is a a valid distinguished name.
    Note that an OU (organizationalUnit) is not a group. You do not add users to OU's, you create users in OU's.

  • JFileChooser, how can you allow the user to select MORE than 1 file?

    Hello everyone.
    I want to allow the user to select multiple files from a directory, not just 1, but not just the whole directory.
    Currently I see these 2 options from looking at the sun's JFileChooser demo:
    //Create a file chooser
            fc = new JFileChooser();
            //Uncomment one of the following lines to try a different
            //file selection mode.  The first allows just directories
            //to be selected (and, at least in the Java look and feel,
            //shown).  The second allows both files and directories
            //to be selected.  If you leave these lines commented out,
            //then the default mode (FILES_ONLY) will be used.
            //fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
            fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);but both don't allow the selection of more than 1 file.
    When I say, select more than 1 file I mean the user can hold in SHIFT or CTRL and select files.
    Any ideas how to do this?
    Thanks!

    http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#setMultiSelectionEnabled(boolean)
    Cheers,
    Laird

  • How to prevent the User from loading more than one seq file?

    Hi,
    I would like to prevent the tester operator from loading more than one test sequence.  Any ideas how to do it?
    Thanks
    Rafi

    Hi Marty,
    Marty_H wrote:
    Hello mhousel,
    Testexec.exe by default loads the sequence files that were last open when it runs.  It is often desired behavior to have multiple sequence files load automatically. 
    [Mark Housel] Maybe for some but certainly not for me. 
    This should be easily handled by TestStand without any problems.  What do you mean by "chaos ensues"? 
    Certainly Teststand doesn't care a bit how many sequences are open.  But, when my sequences open they initialize HW of the ATE associated with
    that sequence file during the sequenceFileLoad callback.  e.g. I allocate TELNET handles to a terminal
    server that connects to multiple console within the system and als for
    the UUT.
    If a second sequence opens it knows nothing about the other sequence and again tries to open a TELENT session to the same port of the
    terminal server and obviously fails, so my sequence reports that it
    can't properly initialize the ATE HW.  Bad juju!
    Are your sequence files set to run automatically when they are loaded?
    I guess so.  Other than the trick of logging in as the special noExecution user and having special code in my sequence and modified Process Model I have no idea how to prevent a sequence fronm "runnin" when opened.
    If you want to prevent Testexec.exe from loading multiple files, you should be able to close out one of the open files when it loads and that sequence file should not load in the future.  I hope that helps.
    The trick I read somewhere else of modifying the Testexec.uir file to never re-load a sequence file automatically seemes to have covered up solved the problem.
    Thanks,
    Mark

  • How can I put more than One ComboBox in the Driving Frame of a Frame Driver

    Hi,
    I am working with a Frame Driver and I want that in the Driving Frame put more than one ComboBox to filter the report, for example, I want to put one combobox for City, another for Year, and another for Month, and when the user select the City, Year and Month and do click in Submit button, then in the Target Frame appears the information for those filters.
    Does anybody know how to do that?
    Thanks a lot.
    Bye,

    Hi,
    It is not possible to have more than one combo in the source frame. This is because frame drivers can take only
    two columns in the sql query, one is the display value and the other the return value.
    Thanks,
    Sharmila

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • I send to be apple developer,and put the credit details,and more than 3 days passed and no reply

    i send to be apple developer,and put the credit details,and more than 3 days passed and no reply

    Lenovo have to call their customer number too, and the Solectron people like to put them on hold. Only when a Lenovo Executive gets involved like Mark_Lenovo can any problem with Solectron get resolved, as normal worker wouldn't have special contact numbers within the Solectron's management. So Lenovo call center workers get as frustrated as you if not more, as they hear complaints after complaints about them been thick and incompetent regarding depot repairs, when there is nothing more they can do, but obviously customers don't know the full story.

  • In Keynote, how do I put more than one image on a single slide?

    I would like to put 2, 3, or 4 “pictures” on a single slide, and program them with transitions so that they could pop-on or dissolve one at a time.  Is it possible to put more than one image placeholder on a slide?

    Yes. Just copy-paste the placeholder that the theme has, multiple times.

  • How do i put more than 1 photo on an 8x10 sheet of photo paper so i can print 3 or 4 at a time?

    how do i put more than 1 photo on an 8x10 sheet so i dont waste photo paper???

    select the photos and go to file ==> print (iPhoto '11) - select the printer, paper size and photo print size (be sure they will physically fit) and click customize - under seettings seect multiple photo pre page (preview will show the results) and click print - select any printer specific options and click print to print
    LN

  • How to put more than 1200 characters in a text form within a pdf created in Adobe Acrobat

    I need to know how to put more than 1200 characters in a text form within a pdf created in Adobe Acrobat. I have a request from a customer to do so and after googling I have came up with nothing. Also the customer would like it if they could convert said pdf form to a microsoft word document with the text form.

    There's no limit on the number of characters you can enter into a text
    field, unless you set it as such.

  • Restricting the user to operate DML's from SQL PLUS Environment

    how to Restrict the user to operate DML statements from SQL PLUS Environment.

    Once you restrict SCOTT user to not be able to do an INSERT command, the SQL*Plus returns an error for user SCOTT when he tries to execute an INSERT statement.
    Note however, that this is enforced by SQL*Plus, not the database!
    Look into the use of product_user_profile from Oracle documentation for more information.
    SQL> insert into product_user_profile values('SQL*Plus', 'SCOTT', 'INSERT', NULL, NULL, 'DISABLED', NULL, NULL) ;
    1 row created.
    SQL> commit ;
    Commit complete.
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    SQL>
    SQL> connect scott
    Enter password:
    Connected.
    SQL>
    SQL> insert into emp select * from emp ;
    SP2-0544: invalid command: insert
    SQL>
    SQL>

  • Can I put more than one statement into a Condition in TestStand

    I'm trying to learn to use the Conditional statement in more than it's simplest form and I have 2 questions:
    Question 1:
    For instance simple statement is:
    Locals.nValue=(Locals.Compare>5) ? 1 : 2
    However, I want to do 2 things in the Condition
    Locals.nValue=(Locals.Compare>5) ? 1,Locals.sString = "Yes" : 2, Locals.sString = "No"
    But, this doesn't work (using the comma separator). Is there a way to put 2 statements into the conditional case?
    Question 2:
    For a series:
    Locals.nValue=(Locals.Compare>5) ? 1 : Locals.nValue
    Locals.nValue=(Locals.Compare<=5)? 2 : Locals.nValue
    Also, is there a way to do NOTHING in the Else? (The folowing was suggested in the TestStand class that I took but
    it doesn't work:
    Locals.nValue=(Locals.Compare>5 ? 1 : NOTHING
    This makes "Locals.nValue" = Nothing and I find that I can't leave the "False" condition blank.
    Mike

    Mike -
    1) You wanted to do something like this:
    Locals.nValue=(Locals.Compare>5) ? 1,Locals.sString = "Yes" : 2, Locals.sString = "No"
    You can do this like this:
    Locals.nValue=(Locals.Compare>5) ? (Locals.sString = "Yes", 1) : (Locals.sString = "No", 2)
    By using the parethesis, the parser assumes that last element in the list is the final value to be "returned".
    2) There is no way to do nothing in a conditional assignment. You wanted to do this:
    Locals.nValue=(Locals.Compare>5 ? 1 : NOTHING
    You have to assign the orginal value back to the target, like this:
    Locals.nValue=(Locals.Compare>5) ? 1 : Locals.nValue
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Restrict the user to edit Activity

    Hi guys
    What will be the validation for the below scenarion
    1) To restrict the user to edit any activity a " 5 Days after the close of the month". for eg is a activity is created on 13/02/2011 , it can be edited till 05/03/2011
    Waiting for the solutions

    Another approach will be to use a pair of dynamic pages. Dynamic Pages for Task are base on "Type".
    So if you have Types like ToDo, CallBack, Research create 3 more as ToDo-RO, CallBack-RO, Research-RO
    Make copies of the Task Pages that you use for ToDo, CallBack, Research and make all the field as Read Only.
    So "Cust ToDo Task Page" is copies as "Cust ToDo Task Page - RO" and so on
    All fields in the - RO pages are Read Only.
    Create a Dynamic Page and assign the correct pages to the Type Values
    Type "ToDo" has the "Cust ToDo Task Page"
    Type "ToDo-RO" has the "Cust ToDo Task Page - RO"
    and so on
    Create an field "RecordRO" with Field Type "Checkbox" called Default Value as "N". Have a workflow set this field as "Y" on appropriate event or time tigger.
    In your case one workflow will be Time triggered to set this to Y on 5th of Month post the creation. So simply export on 4th or 5th night all Records that have the filed as N and reimport the Field as Y. Else use a WebService.
    Have one more workflow (Workflow Expression could be like FieldValue('<bRecordRO_ITAG>') = "Y") to set Type as PreValue of Type +"-RO"; Update Expression will be PRE('<Type>') + "-RO" with Overwrite Existing Values as TRUE
    Let me know if this works for you.
    How much we miss the On Premise State Models :-(.

Maybe you are looking for

  • Materialized Views created using ROLLUP

    Not sure if this one is best posted to a general Oracle forum, or even to the Discoverer Forum, but it's more to do with Data Warehousing so here goes... 1. If I create a materialized view, either with or without OWB, do I also need to separately cre

  • Query regarding remote Portlets

    Let me explain my scenario, I have a WLP 8.1 sp6 portal domain. This domain contain 1 J2ee application, 1 WLP Producer application and 1 WLP Consumer Application. I have a Custom Realm created, which contains a couple of custom Authenticators. All th

  • HT201317 When I sign on to I Cloud I do not see my photos, I see all the other icon but no photo stream icons. How do I access my photos that are on I Cloud?

    How do I access my photos from I Cloud? I see all the other icons but nothing for photos. I have enabled photo stream on all my ios devises, but I still see no icon on I Cloud for pictures. Thanks

  • Reg result recording

    Dear all, My requirement is such that if we enter a value in result recording and if it is rejected system should automatically propose a field where I will enter the value after testing it again. We do not want any manual addition of same M,I.C Than

  • Se cuelga al cambiar fondo escritorio en macbook

    Buenas tardes, hace dias que intento cambiar mi fondo de escritorio pero cuando entro en preferencias de sistema, escritorio y salvapantallas no se cargan las imagenes y me aparece un circulo de colores en movimiento sin haber ningun cambio. He borra