Validation failure message showed twice

Hi OTN,
In "Developing RIA Web Applications with Oracle ADF" ( http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm ) there is an example showing customized validation message: http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/images/t068.gif .
My question is simple: why do we need to read the same message (Salary ... ) twice and is there any method to set validation popup title (which is bold) by myself?
Thanks.
JDev 11.1.1.3

ILya,
You can do it by creating your own customized error handler as documented in the [url http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/web_adv.htm#CIHHBEEJ]Fusion Developers Guide. The bold text (the title) is what is returned from getDisplayMessage(). The detail part is from getDetailedDisplayMessage();
John

Similar Messages

  • How to get the handle of the Validation Failure Message Popups.

    Hi,
    I'm using Jdev 11.1.2.0
    I have added validation rule(less than system date) and failuremessage("date should not after currentdate") on the date field in EO.
    when I enter greated than the sysdate in date field in page, I'm getting validation failure message in a popup with ok button. its working good.
    but when i click on the popup ok button, the focus should go the date field again and it is higlighted.
    So, how to get the handle of the popup's ok buton? and how to highlight the datefield after clicking the popup's ok button?
    Any suggestion would be appreciated.
    thank you.

    if i understood correclty means,
    i hope that, error popup is provided by framework.. how could be possible? to catch the error popup ok button.
    am not well aware of catching the error popup which is provide by framework..
    but i had answer for your part of the question,
    if the condition go off false means you force the cursor into date field. this is can be done using 'javascript'. unless using script you can't do that. ADF doesnt provide any force focusing feature.
    please google how to focus the field.
    https://blogs.oracle.com/jdevotnharvest/entry/how_to_programmatically_set_focus
    http://technology.amis.nl/2008/01/04/adf-11g-rich-faces-focus-on-field-after-button-press-or-ppr-including-javascript-in-ppr-response-and-clientlisteners-client-side-programming-in-adf-faces-rich-client-components-part-2/
    http://lspatil25.blogspot.in/2012/04/adf-default-cursorfocus-to-input-field.html
    http://donatas.nicequestion.com/2012/04/component-to-set-initial-focus-in-adf.html

  • Trying to understand a WS-I validation failure

    I'm trying to understand the following WS-I validation failure message. I'm sure I'm making a basic mistake but I can't find an example of the use case where an xsd is imported. Can someone point out my error?
    Thanks,
    Bret
    Validation failure:
    Result failed:
    Failure Message: A QName reference that is referring to a schema component, uses a namespace not defined in the targetNamespace attribute on the xs:schema element, or in the namespace attribute on an xs:import element within the xs:schema element.Failure Detail Message:
    {http://Messages.xsd}SigReplyMessage,
    {http://schemas.xmlsoap.org/wsdl/}string,
    {http://Messages.xsd}SigRequestMessage
    Element Location: lineNumber=8
    My wsdl looks like this:
    <definitions targetNamespace="urn:S3SignatureGenerator"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="urn:S3SignatureGenerator"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:messages="http://Messages.xsd">
    <types>
    <xsd:schema>
    <xsd:import id="Messages.xsd"
    schemaLocation="../../XSDDocument/Messages.xsd"
    namespace="http://Messages.xsd"/>
    </xsd:schema>
    </types>
    <message name="ReturnSignature">
    <part name="SigAndExp" type="messages:SigReplyMessage"/>
    </message>
    <message name="RequestSignature">
    <part name="Keys" type="messages:SigRequestMessage"/>
    </message>
    <portType name="SigGenerator">
    <operation name="GetSignature">
    <input message="tns:RequestSignature"/>
    <output message="tns:ReturnSignature"/>
    <fault name="sigFault" message="tns:SigFault"/>
    </operation>
    </portType>
    <message name="SigFault">
    <part name="faultMessage" element="string"/>
    </message>
    <binding name="SigGenSoapHttp" type="tns:SigGenerator">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetSignature">
    <soap:operation soapAction="urn:S3SignatureGenerator/GetSignature"/>
    <input>
    <soap:body use="literal" parts="SecretKey PublicKey"/>
    </input>
    <output>
    <soap:body use="literal" parts="Signature"/>
    </output>
    <fault name="sigFault">
    <soap:body use="literal" parts="SecretKey PublicKey"/>
    </fault>
    </operation>
    </binding>
    <service name="SignatureGenerationService">
    <port name="SigGenSoapHttpPort" binding="tns:SigGenSoapHttp">
    <soap:address location="tbd"/>
    </port>
    </service>
    </definitions>
    Messages.xsd looks like this:
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.bret.org/S3test/Messages"
    targetNamespace="http://www.bret.org/S3test/Messages"
    elementFormDefault="qualified">
    <xsd:complexType name="sigRequestMessage">
    <xsd:sequence>
    <xsd:element name="publicKey" type="xsd:string"/>
    <xsd:element name="privateKey" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="sigReplyMessage">
    <xsd:sequence>
    <xsd:element name="Signature" type="xsd:string"/>
    <xsd:element name="expiration" type="xsd:dateTime"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>

    Hi Bret,
    Sorry it's taken me a bit of time to respond, but please find below a run-down of the WS-I related problems I spotted in your WSDL document. The first few are related to the import error you saw, and there's a few others that I'll also discuss. Apologies in advance if you've already spotted and corrected those.
    I'll use line numbering based on the formatting of the WSDL and XSD that you supplied.
    BP2417 (the one you asked about)
    The line number in the error is a red herring. There are two problems here:
    - WSDL document, line 29: You're using the XSD type string unqualified - it should be xsd:string.
    - WSDL document, lines 8 and 13; schema, lines 3 and 4: The namespaces you're using don't match. Either change the namespaces in the schema to be http://Messages.xsd, or change the namespaces in the WSDL to http://www.bret.org/S3test/Messages.
    BP2202
    You should declare UTF-8 or UTF-16 encoding when creating WSDL or schema documents. The easiest way to do this is to go to Tools|Preferences, and set JDeveloper's default encoding to either UTF-8 or UTF-16.
    BP2032
    WSDL document, line 26 and 43: The name attribute of the fault should read SigFault, not sigFault, as WSDL is case-sensitive.
    WSDL document, line 44: You should use a soap:fault element, not a soap:body element, to bind a fault, thus:
    <soap:fault name="SigFault" use="literal"/>
    BP2012
    WSDL document, lines 17 and 20: Message parts in a document-bound service like this one should reference XSD elements and not complexTypes. What you need to do is define two elements in your messages schema whose types are SigReplyMessage and SigRequestMessage respectively, and then reference those elements from the WSDL.
    WSDL document, line 38: The value of the parts attribute should be Keys to match the name of the part child of the RequestSignature.
    WSDL document, line 41: The value of the parts attribute should be SigAndExp to match the name of the part child of the ReturnSignature.
    WSDL document, line 44: The value of the parts attribute should be faultMessage to match the name of the part child of the SigFault.
    BP2115
    WSDL document, lines 17 and 20: The names of the elements should be sigReplyMessage and sigRequestMessage and not SigReplyMessage and SigRequestMessage, again because WSDL is case-sensitive.
    WSDL document, line 30: The element attribute of the part references xsd:string, which is not an element but a complexType. You'll need to add an element declaration to your schema, which is of type xsd:string.
    I've included corrected versions of your WSDL and schema below, I hope this helps. I also note you've posted a few other messages related to WS-I and WSDL, I hope I've managed to cover those in this message too.
    Regards,
    Alan.
    WSDL:
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions targetNamespace="urn:S3SignatureGenerator"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="urn:S3SignatureGenerator"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:messages="http://Messages.xsd">
    <types>
    <xsd:schema>
    <xsd:import id="Messages.xsd"
    schemaLocation="Messages.xsd"
    namespace="http://Messages.xsd"/>
    </xsd:schema>
    </types>
    <message name="ReturnSignature">
    <part name="SigAndExp" element="messages:sigReplyMessage"/>
    </message>
    <message name="RequestSignature">
    <part name="Keys" element="messages:sigRequestMessage"/>
    </message>
    <message name="SigFault">
    <part name="faultMessage" element="messages:faultMessage"/>
    </message>
    <portType name="SigGenerator">
    <operation name="GetSignature">
    <input message="tns:RequestSignature"/>
    <output message="tns:ReturnSignature"/>
    <fault name="SigFault" message="tns:SigFault"/>
    </operation>
    </portType>
    <binding name="SigGenSoapHttp" type="tns:SigGenerator">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetSignature">
    <soap:operation soapAction="urn:S3SignatureGenerator/GetSignature"/>
    <input>
    <soap:body use="literal" parts="Keys"/>
    </input>
    <output>
    <soap:body use="literal" parts="SigAndExp"/>
    </output>
    <fault name="SigFault">
    <soap:fault name="SigFault" use="literal"/>
    </fault>
    </operation>
    </binding>
    <service name="SignatureGenerationService">
    <port name="SigGenSoapHttpPort" binding="tns:SigGenSoapHttp">
    <soap:address location="tbd"/>
    </port>
    </service>
    </definitions>
    Schema:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://Messages.xsd"
    targetNamespace="http://Messages.xsd"
    elementFormDefault="qualified">
    <xsd:element name="sigRequestMessage">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="publicKey" type="xsd:string"/>
    <xsd:element name="privateKey" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sigReplyMessage">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Signature" type="xsd:string"/>
    <xsd:element name="expiration" type="xsd:dateTime"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="faultMessage" type="xsd:string"/>
    </xsd:schema>

  • Clear/empty entry of field after validation pattern message

    Can anyone help me please with the following:
    Now when user fills a field a validation pattern message shows when entry is not according to validation. BUT...the entry remains.
    Do you know how to remove the entry from the field after clicking OK on the validation pattern message box?

    I don't know how to do that, but I think it would be user abuse to clear out the field. If I mistype a date or an SSN for example, I don't want to have to type it all over again, just correct my mistake.
    Jared

  • Validation Error Message in OBPM 10GR3 Presentations

    Hi all,
    I have a presentation which has some fields as REQUIRED Fields... For e.g. the From Date field is required...
    I select "YES" for the Required option in the properties tab for that field in the presentation and also put a Validation Error Message which says " From Date Required".
    I thought that the Validation Error Message would show up when the date is no selected or filled..
    But instead the name of the variable used showed up.. i.e. TestObjectFromDate..
    Why is that so?
    How can I make the Validation Error Message show up instead?

    No this sounds odd, but you might find it's easier not to use the "Required" property for BPM Object presentation text fields.
    Try making the Submit button on the form invoke a method (instead of the default "submit" action). In the method, try this:
    if someField = null || someField = "" then
        // set the background of the field to red
        setBackgroundColor this
                  using componentId = "someFieldName",
                             color = "Red"
        focus("someFieldName")
        setVisible this
          using componentId = "errorTextField",
              visible = true,
              collapsed = false
        someErrorText = "Please enter a value in the field highlighted below"
    else
        submit("Submit")
    endThis would put your cursor in the offending field and make its background red. It also would make a text field visible on the presentation and set its value.
    This assumes that "someErrorText" is a String attribute of your BPM Object that is placed somewhere on the UI.
    Dan

  • How to do that - Validation with message

    Hi
    I have a litle app that validates one Portuguese Number (NIF).
    The purpose is create a textbox where the user put the number and then when press tue button, it validate then.
    I've tried do that with the validation, with a plsql function returnig boolean... it works fine when the number is wrong...
    the error message was fine... how can i implement a sucess message...
    Sugestions are welcome.
    Another question.... How can i costumize the standard error message?
    Sorry for the bad english
    Thanks

    José,
    Yes that would work. Because you're catching all of the incorrect entries with a validation, the PL/SQL process will never run unless you have the validation is TRUE. This means the process code can always complete successfully because the validation already did the work. So the process need be only one line:
    NULL;
    Then create the success message as you like and test it. Keep in mind that a process success message may look different from a validation failure message. You might have to modify the look a bit to get them consistent if that's necessary.
    Dan

  • During an update of the applications on the BlackBerry smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatis

    I have reset both my torch and playbook back to original only thing that I kept was my contact. And still problems I am a few min away from leave my loved blackberry and going android !! Or heaven help us Phone
    Issues 1) playbook wont connect to desktop manager anymore 
    2) Play book has 2 calendar icons with two different settings on them ??? I have one that is currently working with my yahoo email and calendar account. 
    3) my Phone when connected to desk top software shows the calendar as read only
    4) Unable to update my phone says During an update of the applications on the BlackBerry® smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatisfactory dependencies." 
    I just want my email and Calendars to work I am tried of spending nights trying to get these deices working !!! 
    someone please help me. !! 
    I know you are going to ask I have updated everything last time and it is all as update as it can get. 
    As for now as I wait I am going to wipe my phone again and just set everything up again !! If I have to even my contacts AHHHH Help I am starting to think crazy thoughts 

    Did you try to eboot the your PC or laptop where your device is connected ?
    I experienced this with my windows laptop, after a failed to do an update, I restart the laptop and my Torch, then retried, and it's worked

  • HT204230 i am unable to sign in icloud account, message showing that you have valid apple id but not a icloud account

    unable to signin an icloud account with my apple id, message shows apple id is valid but no iclould account. please help

    If you have already created an iCloud account on a Mac or and iOS device you can sign into it in the Windows iCloud Control Panel. However, if you have not previously set up an iCloud account you cannot do so on a Windows PC, only on a Mac or iOS device.

  • One Question Quiz. Passing Score shows in Results; Failure message displayed

    I have a one-question quiz at the end of my SCORM1.2 course. "Do you want to mark this course Completed in the LMS?" yes/no.
    If user clicks No, results screen shows "0" score. But Retake button takes them back to Slide 5 (a content slide), not to the Quiz question. If user clicks Yes, results screen shows "100" score but displays the Failure message, not the Success message.
    I have tried all types of settings, including not showing a Results slide, and cannot get this to work. On our LMS, it seems if I allow backward movement in the Quiz Preferences (which i need in order for the back buttons to work throughout the course), the "Yes" score (100%, course complete) is not passed to the LMS.
    Can anyone provide guidance on what settings I should be using for Quiz Properties and Quiz Preferences?

    Hi Lilybiri,
    Indeed, there was a click box on Slide 5 that I had not de-selected for "Include in Quiz". I just republished and put on our staging server, and the quiz is now working properly. (I hid the results slide because it seemed sort of dumb for a one-question quiz. It works fine without displaying results.)
    Thank you so very much for the prompt reply!
    Ingrid

  • Since a recent download of Mountain Lion update printer does not respond and shows a "Filter failure" message. Help please.

    Since the  download of 0X 10 maverick my printer (Kyocera 1010) fails to print. Shows "Filter failure" message. Help please.

    Here:
    http://support.apple.com/kb/DL907?viewlocale=en_US&locale=en_US

  • JSF Validation failure causes entered values to be lost

    I've created a JSP that has required="true" and a requiredMessage on several elements.
    If any one element on the page fails it's validation on submit(ie was left blank), when the screen is redrawn all the entered values have disappeared.
    This is obviously not going to be acceptable to a user as there may have been 5 valid entries and one mistake, and they now have to retype every entry.
    Can anyone suggest why the form might be being cleared like this?

    I'm using reference implementation 1.2 04-b10
    I've tried using an implementation of validator and it makes no difference.
    It's the only example of an inline validator other than required, which seems to work ok.
    I've got around the problem for now by doing the validation in the method called when the user hits submit. It's not quite right as if the 'required' validation fails they get mutliple messages showing these failures, but the codeRef validation doesn't even fire until all the other validation passes.

  • Need to send success or failure message to BAPI of SQL query action block

    Hi All,
    I need to send success or failure message(i.e. 1 or 0) to BAPI which has been called below sql query action block in transaction
    Here in SAP, i have created on BAPI with one import parameter and one export parameter.
    In the sql query action block, it insert records in the database table. If it fail or success, that message(numeric value 1 or 0) has to send to SAP program through BAPI.
    I have created a SAP ABAP program which sends message to MII Message listener through RFC then in the process rule message it will call transaction, in transaction, sql query will insert records into database table.  if it success or fail, it will pass to BAPI. And i calling that BAPI in the same SAP ABAP Program to show in the output screen.
    Here the issues, i am not getting the value from BAPI which has send by the transaction in MII.
    SAP Jco, I have mapped in conf. links --> BAPI input with sql query sucess
    Thanks,
    Kind Regards,
    Praveen Reddy M

    Dear All,
    I am facing problem regarding completion notifications in Oraclr r12, when user click the upon completion generated notifications it can only be viewd once, second time user cannot view the notifications.
    I have find that fnd_file_temp table store this information and deleted it.
    Plz help me how to view this URL again.
    thanks
    regards,
    Zubyr

  • Failure messages to be displayed in BAM and ESB Portal

    Hi,
    As per requirement, I need to display all resumable/Non-resumable messages in both BAM and ESB Portals.for resumable messages,admin will resubmit the messages from ESB Portal.Please let me know how to achieve this requirement.

    I have a project requirement, where I have to show all failure messages(resumable\non-resumable) in BAM and ESB portal.
    Order Creation Process:
    1. Developed Main Orchestration and exposed as a webservice for front end client. There are sub -process orchestration involved
    2.Front end client will consume Main Orchestration Service and submit the data
    3.There are multiple sub -process orchestration are involved after receving the data from Main Orchestration
    4.while executing Order Process, if any error occurs in any of the orchestration then those failure's to be displayed in BAM and ESB Management Portal
    5. Based on the Order ID  End User will need to search failure message details  from BAM
    6. The failure message will be resubmit from ESB Management Portal for further process.
    Please let me know your thoughts on how to provide the solution for above approach

  • "Multiple Validation errors" message when creating new project in   FCPX

    As a test I have now managed to change the file format from older quicktime file to .m4v and  import into FCPX.  I had to use Handbrake to change the file format to .m4v. If a free software can do this then why can't the $300 FCPX - and allow me to import directly?  This would save me MANY hours of extra work!
    But then, when I try and edit this - first trying to create a new project  I get the message "Multiple validation errors occurred"  The same message even if I try and custon settings rather than use the default
    Does this mean that after all the work and hours it took me to tarnscode the file format, import and then render etc - I will be unable to use FCPX - to edit this footage?

    Update on trying to create a new project - and getting "Multiple Validation errors" message
    I quit FCPX and tried to use iMovie to make a clip to send to you.  Decided against this - and so I opened FCPX again
    To my surprise there were now over ten projects - as every attempy had appeared!  This is bizarre - why did they not show up when I tried to create them first? 
    So, I had to delet most and just use one.  This appears to be working as a project and is allowing me to edit clips into it.
    It will be a reall bummer though if I have to do this every time I need to create a new project!

  • Hi I am having iphone 4S. Today while connecting to my laptop for regular update, my phone started rebooting and message showed error in rebooting. Now even though i connected to laptop which has internet connection, i phone OS booting still not completed

    Hi I am having iphone 4S. Today while connecting to my laptop for regular update, my phone started rebooting and message showed error in rebooting. Now even though i connected to laptop which has internet connection, i phone OS booting still not completed

    I have factory reset my phone twice.. I have disabled iCloud settings.. I looked up possible downgrading options.. which isn't possible. I feel as if my iPhone 4 was offered the update so I was forced to get another phone

Maybe you are looking for