Default required message customisation

Dear Friends,
Is it possible to change the default required message "You must enter value" to customised one in the entity level itself.
At the same time, Component hyperlink also should get display.
version iam working is 11.1.1.3.0
Kindly tell me the solution.
Regards,
Lakshmar.B

Hi,
You can do it by creating your own message bundle which extends ListResourceBundle and adding the bundle entry in trinidad-skin xml file. Sample code is given below.
*<bundle-name>view.resources.MyMessageBundle</bundle-name>*
Add your message for the respective message key as like the below one
*@Override*
*public Object[][] getContents() {*
*return new Object[][] {*
*{"org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED", "A value is required."},*
*{"org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED_detail", "You must enter a value."},....*
Refer http://technology.amis.nl/blog/7127/adf-skinning-and-resources-2*
Regards,
vijhaykrishnaa

Similar Messages

  • Message bundle, replace default "Required" message in ADF faces

    Hello,
    I hope i can ask some ADF faces questions here,
    I am trying to replace the default msg that adf faces give for different components
    I successfully created a resource properties file which includes 2 msgs, one is to replace the default value given to required msg, and other is just a msg i will use for one of my buttons.
    oracle.adf.view.faces.UIXEditableValue.REQUIRED=Enter number please
    button_name=Submit
    I specify this bundle in my application node in my faces config file.
    I also load it with loadbudle component in the page that i want to use it.
    now i can call my second msg "button_name" fine from with in the page, so I know that I have my file set up correctly,
    but the first msg, which is the key for the required msg, does not work
    em i missing something??
    is there a different setup when trying to override msgs.
    Thank you

    I found a solution,
    I hope there is a better one,
    What i did is a got the source for ADF faces found the XML file where all the msgs are located (MessageBundle.xrts). Then using a tool that comes with the source files XRTSMakeBundle, I compiled the XML file, and it created java files with all the msgs. So I compiled them and replaced the classes in the ADF faces api jar.
    this seems like a long work around, in JSF RI, all you have to do is extend the key in the resource bundle and poof it works, I couldn't get that working here.
    This works, seems like a lot of work for a simple task!!!
    any other solutions out there????

  • Change LightSwitch default validation message

    Hi,
    I have two tables 1. State, 2.District
    1.State- StateId-Pk, StateName
    2.District- DistrictId-Pk, DistrictName, StateId-Fk
    Now I have created a AddEditScreen for District. As the two tables are in relationship the AddEditScreen is showing 3 fields 1.DistrictName, 2. StateName, 3.StateId. The StateName field is DetailsPicker. I have removed the StateId field from the
    display page. Now when I'm clicking on save button it is giving a error message
    "StateId: This field is required.". I don't want to show the StateId field. I only want to show 1.DistrictName, 2. StateName field. Now how to change the default validation message to "State Name: This field
    is required."  if anyone doesn't select a state name.
    Please help me.
    Thanks in advance. 

    Hello
    The screenshot you have attached is not the screen designer, this is the data designer (for want of a better word for it). The scren designer is where you add the data objects onto the screen. I have attached a screenshot below of what you are looking for.
    I know that this is of an older version of Visual Studio but the principal is still the same.
    AAs you can see i Have selected the Name field within VeryFullTables and then selected the small arrow next to write code. Then you select the _Validate method. This will allow you to enter some simple code that will show on the validation message.
    If you found this post helpful, please mark it as helpful. If by some chance I answered the question, please mark the question as answered. That way you will help more people like me :)

  • Setting a Default Organisation Message Size Limit and a Higher Limit on an Individual Mailbox

    Ok.  So here's the problem.  I've read all the articles on setting message size limits for Organisation, Transport Send Connectors, Transport Receive Connectors, setting precedence, etc., but they don't detail how to solve this problem.  
    One person in our organisation is to get a raised message size limit for sending and receiving internally and externally.  I've already set up limits on the Organisation Transport Global Settings, Send Connectors, Receive Connectors, etc.  So,
    as this individual requires a higher limit, I've raised the limits on their mailbox, and the aforementioned connector settings, etc., except the
    Organisation Configuration / Hub Transport / Global Settings / Transport Settings / Maximum Receive
    and Send Sizes.  The theory is that I can keep these two values at the original lower setting as these are overridden by the individual's new, higher, mailbox settings, but they will continue to act as the default for other existing mailboxes
    and newly created mailboxes.  Right ?  Wrong!  For the individual's mailbox, this will only raise the limit for messages sent internally (not to or from external email addresses).  
    Now, I could change all existing mailboxes to have the old default lower limit using a PowerShell / EMS command, but this wouldn't work either.  Newly created mailboxes will still default to the new larger limit.  Most of our mailbox creation is
    scripted, though some are created manually.  I don't want to alter the script and inform the admins as this is too much work and admins will forget about the new limits.  TBH, I'll probably forget about the new limits.  That's just a messy inefficient
    approach.  What I want is to set a new default for message size limits, with the original low limits.  I.e., a setting that applies to existing mailboxes with no explicit message size limits set, and also newly created mailboxes, but not any mailbox
    with an explicitly specified higher message size limit.  Any mailbox with explicitly specified higher limits should be able to send larger messages both internally
    and externally.  Can anyone help ?  Like I said, I've already read the articles so I don't need links to these thanks.  I'm more looking to people who have done this kind of thing already. 
    BTW, we are using Exchange 2007 SP3.  It has a mailbox server Single Copy Cluster (SCC) with two nodes.  It also has two Client Access / Hub Transport servers.  Just so you know ;-)
    -- huddie
    "If you're not seeking help or offering it, you probably shouldn't be here."

    Hi huddie71,
    Thank you for your question.
    I've raised the limits on their mailbox, and the aforementioned connector settings, etc.,
    except the Organization Configuration / Hub Transport / Global Settings / Transport Settings / Maximum Receive and Send Sizes.      
    By my understand, we could modify the global settings by the following path:
    Organization Configuration / Hub Transport / Global Settings / Transport Settings / Maximum Receive and Send Sizes.      
    Because it will work on existed user and new user without explicit message size limits sets.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Hi Jim-Xu.  That would result in everyone getting an increased limit.  I only want one person to have an increased limit.  See the 2nd paragraph in my original post.
    -- huddie71 ~~If you~re not seeking help or offering it, you probably shouldn~t be here.~~

  • Override Default Error Messages

    Hi,
    We are using ADF components and want to override the default error handling mechanism. The requirement to be precise, whenever we validate an input text for mandatory, we get the default error message which shows us a cross, displays "Error: A value is required" and then our message which we specified in the requiredMessageDetail. Our requirement is that on validation the system should display only our message, both on the <af:message and <af:messages level.
    Can someone please suggest a way of ovveriding the default behaviour of ADF Errors.
    Thanks and Regards,
    Lilly

    hi all,
    I got the solution for this
    please refer the link below
    Customize ADF component Skin
    thanks
    dhiraj

  • New unlocked BB9930 from Sprint "Activation Required" message

    Hello Team,
    I have purchased an unlocked non-camera BB9930. I am using this in India on Vodafone. I am facing the following issues:
    1. Activation Required message on the main screen
    2. Not able to use BB services like EMail, BBM, App World
    Note: My number has BB services activated which i was using on my old BB9000 for more than 1year. Only handset has changed.
    I am able make calls, send text, browse web. Basically the device is working like a normal handset minus BB features.
    I have tried:
    1. Memory wipe from handheld
    2. Resetting to factory defaults
    But the above has not resulted in any success so far.
    Appreciate a solution/suggestion.
    Thanks,
    AMOL

    Hi and Welcome to the Community!
    With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive to your Messages app
    2) Delete and Resend Service Books
    KB05000Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphone
    If you have no CMIME entry, then skip the deletion
    KB02830 Send the service books for the BlackBerry Internet Service
    Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
    3) Reboot
    With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I receive Security Information Required message when I try to rent an itunes movie from my apple tv. I rent fine from my macbook, and have sharing turned on, WTH?

    My apple tv appears to work fine, watching netflix and other apps. but when I try to rent an itunes movie I receive the Security Information Required message. I have sharing turned on, the apple tv and macbook are logged into the same apple ID.
    WTH?
    pretty frustrated.

    It's telling you to verify your payment details. You need to go into iTunes on your computer and check that your address and credit card info are accurate. You will also need to make sure you have put in your security code.

  • Reg: Default Requirement type Based on Sales Item category in Sales Order

    I have a question, regrding Make to order and Make to stock .
    I am using a Material that is default Make to Stock, based on customer requirement same material also used as a Make to order.
    When i generate sales order perticular material default Make to stock Item category will pick up, for this Requirement type KSV is comming, If i Change Item category Make to Order, requirement type is not changing,
    My query is when i change Item category i want default requirement which has assigned  for item category.
    Thanks and Regards,
    Prasad.

    Hi
    Just try  by removing the STRATEGY GROUP in MRP3 view of material master if you are maintaining any.
    regards
    Prashanth

  • Where to write default search message

    Hi guys
    I am searching a long to find where to write default search message on site search module.
    http://webmar.businesscatalyst.com/index
    When user click on the GO button next to the search box site search module must show a default message like your search box is empty, you search box is blank etc,.. but where do i wirte the default message in bc.
    Thanks
    Andy

    <input id="field" type="text" onfocus="if(this.value == 'Search ...') { this.value = ''; }" onblur="if(this.value == '') { this.value = 'Search ...'; }" value="Search ..." name="CAT_Search">
    Try this code where your search box is. you can see how that code works on my site at http://www.lawryk.com
    Message was edited by: Brad Lawryk

  • How i can display default error message in alert window

    how i can display default error message in alert window
    i.e.,
    i have a text field with datatype Alpha
    if i am giving numbers.etc then it is displaying
    FRM-50001: Acceptable characters are a-z,A-z and space
    I want to display this message in alert window
    please tell how to do this

    In the on-error trigger :
    Capture error_code and error_text in a variable.
    Set the alert title to something meaningful.
    Set the alert message equal to the captured error information.
    Display the alert.
    declare
    v_alert varchar2(100) := 'ERROR' ; -- name of alert to use
    v_title varchar2(100) := 'Error !' ; -- text to display as title
    v_msg varchar2(200) := error_code || ':' || error_text; -- message to display
    v_btn number ; -- button pressed
    begin
    set_alert_property( v_alert, TITLE, v_title );
    set_alert_property( v_alert, ALERT_MESSAGE_TEXT, v_msg );
    v_btn := show_alert( v_alert );
    end;
    ----------

  • [svn:bz-trunk] 24018: Updates to the message to send across only required message attributes for small message format

    Revision: 24018
    Revision: 24018
    Author:   [email protected]
    Date:     2012-07-11 02:23:31 -0700 (Wed, 11 Jul 2012)
    Log Message:
    Updates to the message to send across only required message attributes for small message format
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/messages/AbstractMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/AsyncMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/CommandMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/ErrorMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/Message.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/RemotingMessage.java

    Im not sure what's the problem, but let's try to figure it out. First of all explain what do you mean by "it works very bad". Doest it hang, is it slow, is quality unacceptable.
    Myself, I have one problem with JMF. When i run video & audio on my Centrino 1.4 GHz, it just takes 100% CPU! And of course quality becomes degraded. Check if you have something like this.

  • Data Manager Default System Messages

    Hi, I need to change the data managers default system messages e.g
    When adding a duplicate value into a unique field you get; "Unique Constrains Violated" it should read something like "Duplicate value, try again"
    Please advice.
    Thanks

    Hi Chris,
    As rightly mentioned by Jitesh, this is not supported by MDM.
    You can only set custom messages to the Validations that you create in Data manager yourself which will be displayed if those validations are voilated.
    Thanks and Regards
    Nitin jain

  • Why do i get a "codec installation required" message?

    Why do i get a "codec installation required" message when trying to play avi files? Im using QT7 on a mac, v10.6.7?, Why do i get a "codec installation required" message when trying to play avi files? Im using QT7 on a mac, v10.6.7?

    Why do i get a "codec installation required" message when trying to play avi files?
    Probably because you do not have an audio and/or video codec used for compressing/decompressing data in the AVI file. AVI, like MOV, are just file containers capable of holding many different kinds of data. The originator of the AVI file (Microsoft) dropped its official support of this file type more than a decade ago but its popularity with Windows users lingers on. Unfortunately, with few exceptions, the compression formats commonly used in the AVI file container may or may not still be in use. Some were never transcoded for use on the Mac platform. Others are so old that they have never been updated for use under OS X. Of thise transcoded for OS X use, some have not been updated for Intel based platforms. Thus, while QT supports the container itself, it does not natively support the third-party and/or proprietary codecs used, many of which, are now classed as "legacy" codecs and are out of date in terms of today's video compression technology.

  • Default error message

    1. Is there an administrator setting that can make the path and name of the referring template be left out in a default error message but still be recorded in application.log?
    2. If the answer to 1. is yes, does the ColdFusion service need to be turned off and back on for it to take effect?
    3. Is cferror with type of request or exception as good as usiing cfcatch/try blocks?
    Thank you very much.

    1. Yes. The referrer of a page is CGI.HTTP_Referer. The administrator allows you to switch off CGI variables from the debugging output. The settings are  under Debugging & Logging => Debug Output Settings. You simply have to uncheck the CGI checkbox.
    2. No, you don't have to restart Coldfusion. Just press the button to submit the changes.
    3. Cferror is just as good as cfcatch/try. However, cferror is suited to site-wide error-handling, whereas try-catch is suited for error-handling within a block of code or page.

  • Forms 6i change the default oracle message

    Dear sirs,
    I want to change the default oracle message for constraint with user message
    how can i do this, know that default oracle message for constraints not have any error code
    pls help me
    Best regards

    Andreas Weiden wrote:
    Create an ON-ERROR-trigger on your block, analyze DBMS_ERROR_CODE/DBMS_ERROR_TEXT and show the message you want.    ...and here is an example:   Re: Unable to enforce Primary Key constraint with my code

Maybe you are looking for

  • Having Kernel Panics on my 27" Mid 2010

    Been having issues with my iMac lately.  I am thinking it may be ram, but I am unsure Anonymous UUID:       A3721DDB-593D-8968-60F5-96D2A5BE2F02 Thu Aug 14 11:20:14 2014 panic(cpu 2 caller 0xffffff8012cdc24e): Kernel trap at 0xffffff7f94a33f74, type

  • Error while releasing to accounting

    while i am releasing a billing document to accounting folllowing error is occuring Incorrect doc.no.: 6000002. Select document number between 0090000000 and 0099999999 Message no. F5151 Diagnosis The document number you specified, "&v1", is not in th

  • Wipe on Lumia 800 generate recurrent reset

    Hi, I wrongly did wipe my Lumia 800 (059M359). From there, everytime I configure my device, and begin to transfer more data to it (like 2, or 3 GB data), it freezes... and when I restart it (just pressing power button), it comes back totally empty (l

  • After 2.3 update I can't get 3G to come on or stay one. Any suggestions ?

    I noticed that since the 2.3 update that I can't seem to get 3G to activate.  I do have data roaming on.  Sometimes when I turn off wifi the 3G symbol flashes, but it goes away quickly.  This happens regardless of location, but I am testing it at hom

  • Import RFCs from 3.1i system - Error in SAP MetaDataInterface

    Hi, Trying to import some RFCs from a SAP R/3 3.1i system. However, getting an error in XI : Error in SAP MetaDataInterface: java.lang.NullPointerException #7 10:23:59 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwab