Number Validation in jsf  Issue

I am new to jsf
I have a text box in which user can enter only number i done the validtion for it..
It displays...
value must be an integer number between -2147483648 and 2147483647
But i want ot display only 'value must be integer' i want to omit the rest of the part..
I tried
<h:inputText value="#{employee.age}" required="true" requiredMessage="Value must be integer"
<f:validateLongRange minimum="0 maixmum="100" />
</h:inputText>
Please suggest the solution for it please
shashi

santigo wrote:
You can find the .properties file and change the message. But i do not recommend it to u.Why not? You're free to customize any general error messages. You're not forced to use the standard error messages.
but you can write your custom validater.Too much more work than simply creating a propertiesfile with a single line in it, putting it in the classpath and specifying it in the faces-config.xml.

Similar Messages

  • Error ORA-00980: synonym translation is no longer valid when i issue

    i accidentally drop one of my table. To bring it back i used Imp tool. But it gives an error ORA-00980: synonym translation is no longer valid when i issue
    Select * from ship_sched_fact_notice_det
    Action taken using Imp
    Username: erpdada
    Password:
    Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
    Import file: EXPDAT.DMP > e:\erpdada_august13.dmp
    Enter insert buffer size (minimum is 8192) 30720> 30720
    Export file created by EXPORT:V10.01.00 via conventional path
    Warning: the objects were exported by SYSTEM, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    List contents of import file only (yes/no): no > y
    Import entire export file (yes/no): no > n
    Username: erpdada
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done: ship_sched_fact_notice_det
    Enter table(T) or partition(T:P) name or . if done: .
    "CREATE PUBLIC SYNONYM "XMLTYPE" FOR "SYS"."XMLTYPE""
    "CREATE TABLE "SHIP_SCHED_FACT_NOTICE_DET" ("SSFND_ITEM_NOT_DET_ID" NUMBER, "
    ""SSFN_FACTORY_ID" VARCHAR2(40) NOT NULL ENABLE, "SSFN_FAC_NOTICE_ID" NUMBER"
    " NOT NULL ENABLE, "SSD_SHIP_ITEM_ID" NUMBER NOT NULL ENABLE, "OI_ITEM_ID" N"
    "UMBER NOT NULL ENABLE, "ORDER_TYPE" VARCHAR2(1), "SSFND_ITEM_CODE" VARCHAR2"
    "(300), "SSFND_QTY" NUMBER, "SSFND_CTN" NUMBER, "SSFND_TOT_CBM" NUMBER, "SSF"
    "ND_REM1" VARCHAR2(256), "SSFND_REM2" VARCHAR2(256), "SSFND_UNIT_ID" VARCHAR"
    "2(40), "SSFND_IS_EXCL_SUMMARY" VARCHAR2(1))  PCTFREE 10 PCTUSED 40 INITRANS"
    " 1 MAXTRANS 255 STORAGE(INITIAL 81920 FREELISTS 1 FREELIST GROUPS 1 BUFFER_"
    "POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING NOCOMPRESS"
    . . skipping table "SHIP_SCHED_FACT_NOTICE_DET"
    "GRANT DELETE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT INSERT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT SELECT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT UPDATE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "CREATE UNIQUE INDEX "PK_SHIP_SCHED_FACT_NOTICE_DET" ON "SHIP_SCHED_FACT_NOT"
    "ICE_DET" ("SSFND_ITEM_NOT_DET_ID" )  PCTFREE 10 INITRANS 2 MAXTRANS 255 STO"
    "RAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLE"
    "SPACE "ORDER_DATA01" LOGGING"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD  CONSTRAINT "PK_SHIP_SCHED_FAC"
    "T_NOTICE_DET" PRIMARY KEY ("SSFND_ITEM_NOT_DET_ID") USING INDEX PCTFREE 10 "
    "INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1"
    " BUFFER_POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING ENABLE "
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK1" FOREIGN KEY ("SSD_SHIP_ITEM_ID") REFERENCES "SHIPPING_SCHEDULE"
    "_DETAILS" ("SSD_SHIP_ITEM_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK2" FOREIGN KEY ("SSFN_FAC_NOTICE_ID") REFERENCES "SHIP_SCHED_FACT"
    "ORY_NOTICE" ("SSFN_FAC_NOTICE_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK1""
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK2""
    Import terminated successfully with warnings.
    I drop the old synonym and re-create it but still it gives the same error...

    Since you are on 10g did you try flashback table feature - http://tonguc.wordpress.com/2007/01/01/oracle-10g-flashback-versions-query-drop-table-and-recyclebin-management/
    FLASHBACK TABLE <tabname> TO BEFORE DROP;
    If you didnt use purge option, the dropped object is on your recyclebin - http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9018.htm#sthref9593
    Best regards.

  • Serial Number validation during Delivery Creation itself(PGI-system checks)

    Process:
    Sales Order PR(Purchase Order) GR( New Serial Numbers are created automatically or manually keyed in)
    Once the Goods Receipt is received, we do the (SO) DELIVERYu2014SERIAL NUMBER ASSIGNMENT Post Goods Issue
    Issue:
    Current Serial Number Profile Management does not do a valid serial number check during DELIVERY CREATION where we do a SERIAL NUMBER ASSIGNMENT.
    Only during POST GOODS ISSUE, the check happens for valid serial numbers; this is too late in the game for business as there is a time lag of 3 days from the DELIVERY CREATION and PGI.
    Reason being--- We donu2019t check the following u201C Existing Stock Checku201D( which does a serial number validation during delivery creation as well)
    SPRO>Plant Maintenance and Customer Service>Master Data in Plant Maintenance and Customer Service>Technical Objects>Serial Number Management>Define Serial Number Profiles
    If we check this option, the business requirement to do a valid serial number check does happen during delivery creation, however we cannot create new serial numbers during Purchase Order- GOODS RECEIPT.
    QUESTION:
    Can we have the system check the valid serial numbers from stock during delivery creation and serial number assignment.
    And Also create new serial numbers during Purchase Order- Goods Receipt.

    Hi
    1.In std SAP its not possible to check the serail number during Delivery creation, through enhancement it can be done.
    2.During GR for PO serial numbers can be created.
    Rgds
    Ramesh

  • Adobe Premiere Elements 12. Serial Number Validation

    I recently downloaded Adobe Premiere Elements 12. And whenever i open the editor, it shows:
    Serial Number Validation
    Please connect to the internet to validate your serial number.
    I am already connected to wifi. I've been clicking the validate button several times, but still the "serial nunber validation" thing still shows. I have win8 32-bit. Can you please help me? Thanks :-)

    Russel Pidot
    Did you purchase Premiere Elements 12 from Adobe direct?
    I am assuming your download of Premiere Elements was a purchased download rather than the tryout download.
    Adobe is the only one to sort out serial number and activation issue.
    Please use the following link to contact Adobe via its Adobe Chat.
    Contact Customer Care
    As of a few moments ago, there was an active Chat Panel at the end of that link.
    Please let us know the outcome.
    Thank you.
    ATR

  • How to config Check Digits function module for Student Number Validation

    Hi SLCM Experts,
    In the SAP-SLCM, How to use check digits function module for validate student number.  Just only config it or need to customizing program.
    *Any idea to student number validation in SLCM?*
    Best Regards,
    Suvatchai K.

    Hi ,
    Can you expalin it further ?
    You configure the St. no in piq_matr . And set it  as external or internal no. range which suits your business .
    What is the validation you are looking for ?
    Regards
    Gajalakshmi

  • Confirmed serial number valid but when I do set up says not valid

    I managed to get a tech on chat who confirmed my serial number for CS6 Master Suite was valid but when I do set up and enter sn it says it is not valid.

    copy and paste into your browser's address bar, http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

  • Decimal Number Validation.

    Hi All,
    I'm working on Interface currently where I need to load data from flat file to db. I use the sql loader to load the data, but before I saved the data I need to validate certain fields. How i can validate do decimal number validation. For an example, 1.11 is valid and 1.111 is invalid (2 decimal level). When i do the validation i need to check the field so it contains 2 decimal points only. If i contains 3 decimal point the data is invalid. Appreciate if anyone can help me with this. Thanks alot.

    1. Will you want to load only valid data ??
    2. Fail the load if one such invalid data found?
    you need to use WHEN clause functionality in the sql loader - foe examples pls visit -
    http://psoug.org/reference/sqlloader.html
    WHEN clause shud look something like following -
    WHEN LENGTH(substr(:columnname,INSTR(:columnname,1,'.')+1,LENGTH(:columnname))) <=2Using above will load only records having one or two digits after the dot [upto 2 decimal]
    Assumption - Column name what ever you are choosing shud have only one decimal [one dot]in its designated start and end places.
    Hope this helps..
    [Untested]
    Edited by: Sri on Mar 22, 2011 8:34 PM
    Typo fixed.. :)
    Edited by: Sri on Mar 22, 2011 8:36 PM

  • Installed Photoshop Elements 13.  Upon activation, get through sign in screen, but when doing serial number validation, validate goes round but does not validate.  Connect Later is only way out of screen.  How do I validate.  Checked account but product n

    How do one validate Photoshop 13. (Windows 8) Upon activation, get through to sign in screen, but when doing serial number validation, validate goes round but does not validate.  Connect Later is only way out of screen.  Checked account but product not listed.  Installed with serial number that was sent  by Adobe.  Have attempted numerous times at different times of the day.  On-line connection working.

    Have you bothered to do any research at all? Not every app was upgrade to 5.5. Those that weren’t will next be upgraded to CS6.
    Bob

  • Purchased and downloaded/installed Captivate 7 but get 'serial number valid but' error

    Purchased and downloaded/installed Captivate 7 but get 'serial number valid but a qualifying product could not be found on this computer' error.  I have checked serial number, checked that I purchased correct version (7) direct and not an upgrade but the drop down list tha tthe window shows is only previous 6 versions and it is 7 I purchased/installed and is opening.

    Captivate thinks you bought an upgrade.  Adobe Support will have to help you. 
    I went through this (with an upgrade) but my qualifying product was also an upgrade, and Adobe didn't list my original product (CP2).  So there was no way to put in all the info. 
    And, just FYI, keep that serial number handy.  Even after Adobe Support fixed my Captivate so that it will run, every once in awhile...for no apparent reason...Captivate will start in "trial" mode and I have to re-enter the serial number.  It always works after I do that.  But, it's a pain so I now keep the serial number posted on my bulletin board for handy reference.
    Rebecca

  • Customised validation in jsf

    hi,
    pls help
    my requirement is that, in the case of implementing customised validation in jsf ,i have to call an xml(which is outside of our application context ) in backing bean's method using java unified expression laguage . i'm not able to parse and read this xml's data using expression language.
    please send code.

    I should not used the hx library.So,please give a soluntion other than this.
    Message was edited by:
    Yamini_screen

  • IBAN number validation in IT 0009

    Hi all,
    My requirement is to validate the IBAN number  (stored in IT 0009) changed by the user via ESS. 
    Is the IBAN number validation need to be performed based on the employee countr key, BANK key and account number or simply based on the IBAN number entered by the user?
    Any BAPI to perform the validation for IBAN number?

    Hi shanthi,
    I am facing the same problem in ESS.
    Can you please let me know how you managed to validate IBAN entered via portal ?
    Thanks
    Jaydeep Jadhav

  • HT1338 I have tried to download the upgrade for months but keep getting an error message to I have go to to the apple store.  Cannot find a contact number to resolve this issue?

    I have tried to download the upgrade for months but keep getting an error message to I have go to to the apple store.  Cannot find a contact number to resolve this issue?

    Apple Store Tel: 1-800-692-7753
    Best.

  • Jsf issue using session attributes

    I have a JSF issue where I can't seem to get session attributes to be stored as initial values on my inputText field below. I've tried 2 things: (1) reading session attributes in my locrateForm bean, and then use getter method to get them to the jsp form ( I read the session attributes in the getter - I know it's a no-no, but I'm desparate)...
    (2) reading session attributes in my jsp and storing them to the inputText fields.
    Both times, I can successfully read the session attributes, but I can't get it stored in the inputText below....Pls provide this new jsf user some direction...thanks in advance...
    Also....I thought the below EL would auto-invoke the getter method in the "locrateForm" Bean to get the initial value, but it's not...my books don't explain this well...
    <h:inputText id="locrateDest" value="#{locrateForm.locrate.locrateDest}" >
    </h:inputText>

    Can you show us the snippit of your faces-config.xml for locrateForm and the snippit of the Java implementation that involves locrate and locrateDest?

  • Phone number validation

    i am getting problem with US phone number validation in
    mozilla Firefox
    it is not validating properly in that browser.
    i am using code like below:
    <td id="Phone" class="">
    <asp:TextBox ID="txtWorkPhone" runat="server"
    CssClass="forminput"></asp:TextBox><br />
    <asp:Label ID="lblphoneNoExample" runat="Server"
    Text="Eg:(123)456-7890" />
    <asp:Label ID="lblWorkPhone"
    runat="server"></asp:Label>
    <img src="../css/Assets/sucess_ico.png" title="Valid"
    alt="Valid" class="validMsg"
    border="0" />
    <span class="textfieldRequiredMsg">Phone</span>
    <span class="textfieldInvalidFormatMsg">Invalid
    format.</span>
    </td>var phone = new
    Spry.Widget.ValidationTextField("phone", "phone_number",
    {validateOn:["blur"], useCharacterMasking:true}); can someone help
    me?

    var phone = new Spry.Widget.ValidationTextField("phone",
    "phone_number", {validateOn:["blur"], useCharacterMasking:true});
    make sure that is in <script></script> tags.
    Do you have online url?

  • Serial number validation please connect tothe internet

    Hi Iwant to register my adobe elements 12 software but I get the following error:
    "serial number validation please connect tothe internet"
    I already connected to internet my connections is ok.
    any help will be appreciated.

    Please share your OS details.
    Could you please share the following logs:
    Win:Go to them either by running %temp% on start > run or by manually browsing to: C:\Users\<user name>\AppData\Local\Temp
    1. PDApp.log,
    2. oobelib.log
    3. amt3.log,
    and 4. C:\Program Files (x86)\Common Files\Adobe\Installers\PSE12 STI Installer*.log
    Mac:
    /tmp/amt3.log, oobelib.log,
    ~/library/logs/PDApp.log,
    /library/logsAdobe/Installers/Adobe Photoshop Elements *.log.gz
    thanks.
    ~ Shefali

Maybe you are looking for

  • IOS7 syncing with MS Outlook 2010 no longer syncs all the contact information

    With the new iOS7 on an iPhone 4s, syncing with MS Outlook 2010 on win XP, the phone no longer syncs all the contact information as it used to before I updated to iOS7 and iTunes 11.1, and now ignores the "Home" addresses I have on Outlook.  It also

  • Performance problem on wait event PX Deq: Execute Reply

    Hi everybody I encounter some performance problem, I've made a tkprof on a select statement and I saw that more than 95% of the elapsed time is due to event PX Deq: Execute Reply. This request is not CPU or paging consuming. What is this event and ho

  • Why  doesn't my ipod advance to the next song when i'm listening to it.

    why doesn't my ipod nano, 6th generation advance to the next song while playing.  i have to manually advance it to hear the next song. .This is a nex nano, 6th gen that apple just sent me  because of possible battery issues in the nano, 1st gen.

  • Layers Pallette Question

    I use PSE9 for digital scrapbooking.  Lately, when I have several pictures and elements on the page, I have to click on the Layers Pallette to select an item to move.  If I don't click on another item, the item I have just selected will move when I m

  • Linking objects between WorkShop 4.2 and 5.0

    We are currently using WorkShop 4.2 on our Solaris 2.6 machine, but planning to upgrade to WorkShop 5.0. We have many 3rd party libraries compiled by WorkShop 4.2 and no new version is available. Can we build our binaries using some objects built by