Constraints / limitations of af:message for inline message display ?

Using JDev 11.1.1.3; reading the help content, it seems very simple to drop an af:message component onto the page, and associate with a component for validation message display. Trying it inside a popup belonging to a jspx page works fine, but when I try and use it inside a popup contained within a bounded task flow / fragment, the validation framework appears to be ignoring the message component, and using the balloon hint message display instead. Thinking maybe the For/edit property selection isn't properly handling the nesting of components, I've located the message components closer/next to the source component, but no change ...
<af:panelFormLayout id="pfl2" labelAlignment="top">
<af:panelLabelAndMessage id="pgl3" label="#{bindings.CtFlag.label}">
<af:panelGroupLayout id="pgl5" layout="horizontal">
<af:selectOneRadio value="#{bindings.CtFlag.inputValue}" required="#{bindings.CtFlag.hints.mandatory}"
shortDesc="#{bindings.CtFlag.hints.tooltip}" id="sorct" autoSubmit="true"
layout="horizontal" simple="true"
valueChangeListener="#{backingBeanScope.ClaimMedical.setConditionCtFlag}">
<f:selectItems value="#{bindings.CtFlag.items}" id="si2"/>
</af:selectOneRadio>
<af:spacer width="10" height="3" id="s3b"/>
<af:inputDate value="#{bindings.CtFromDate.inputValue}" label="#{bindings.CtFromDate.hints.label}"
required="#{backingBeanScope.ClaimMedical.ctPeriodRequired}" shortDesc="#{bindings.CtFromDate.hints.tooltip}"
id="idctf" columns="10" partialTriggers="sorct" disabled="#{!backingBeanScope.ClaimMedical.ctPeriodRequired}"> <<<<<<<<<<
<f:validator binding="#{bindings.CtFromDate.validator}"/>
<af:convertDateTime type="date" pattern="#{Constants.dateFormat}"/>
</af:inputDate>
<af:spacer width="5" height="3" id="s3c"/>
<af:inputDate value="#{bindings.CtThruDate.inputValue}" label="#{bindings.CtThruDate.hints.label}"
required="#{backingBeanScope.ClaimMedical.ctPeriodRequired}" shortDesc="#{bindings.CtThruDate.hints.tooltip}"
id="idctt" columns="10" partialTriggers="sorct" disabled="#{!backingBeanScope.ClaimMedical.ctPeriodRequired}"> <<<<<<<<<<
<f:validator binding="#{bindings.CtThruDate.validator}"/>
<af:convertDateTime type="date" pattern="#{Constants.dateFormat}"/>
</af:inputDate>
<af:message id="m3" for="idctf"/> <<<<<<<<<<<<
</af:panelGroupLayout>
</af:panelLabelAndMessage>
</af:panelFormLayout>
<af:message id="m4" for="idctt"/> <<<<<<<<<<<<
Doesn't seem to matter where I put them inside the popup, they don't display. I've used/removed the immediate/auto-submit properties on the inputDate, but no change.
Are there constraints in when/how these can be used, or if not, what is it that I'm missing ?
Thanks,

Hi Srikavi,
to achieve a Validation of an item when leaving the field you'll have to use some javascript code (as ApexLib does internally).
What do you need:
- onChange - Event on your Item
- some Javascript code which is called in the onChange Event (you can put this code either in your page html header or, if it is used more often in your application, in a seperate js File)
- call the ApexLib method apexlib.error.showError to display your error
I actually never tried it myself, but i'm pretty sure that this will work (according to what i've seen in the ApexLib code).
Have fun and tell us how it went,
Peter
Edited by: peter_raganitsch on Sep 5, 2008 11:56 AM

Similar Messages

  • Alert Message for Scehuled messages

    Hello,
    Can we get alert email for scheduled messages in Integration Engine? If yes how to get that?
    Regards,
    Ansar.

    HIIII
    Go through these blog ..
    Configuring scenario specific E-mail alerts in XI-CCMS: Part  - 1
    The specified item was not found.
    CCMS ALERTS
    XI : Configuring CCMS Monitoring for XI- Part I
    XI :  GRMG Customizing for XI CCMS Heartbeat Monitoring Part II
    Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
    Alerts
    • My blog
    transaction handling in XI
    The specified item was not found.
    • Auto triggering of alerts
    transaction handling in XI
    • SCOT
    not sending email from alert inbox

  • How to defeat "send anyway" message for a message without a subject?

    When I send an email without a subject, I get the message: 'This message has no subject. Are you sure you want to send it?' which I must then either cancel or choose "send anyway." How do make it so I don't get this message? I don't see a preferences option. Is there a terminal way to do it?

    Oddly enough, every other mail program allows messages to be sent without a subject. Apple's "rule" is an anachronism. I frequently send subjectless emails when I'm having quick conversations with my kids, online. I see no need to include a subject.
    The only place I know that won't deliver email without a subject is us.army.mil (and probably the other services as well). If I include my SIL in Iraq in a family email, I HAVE to add a subject. The Army says they require a subject because the spam frequently comes without a subject.
    Maybe 10 years ago spammers did that, but if anyone thinks spammer send spam without a subject, they are hilariously out of date. Spammers learned that "trick" many, many years age.
    It's time for Apple to stagger into the 21st Century

  • How to convert javascript alert message into an Inline message in Apex Page

    Hi All. Im new to Apex.
    Present Approach -
    I have a dynamic report region developed using API's like APEX_ITEM etc. I am using java scripts to validate these dynamic items and popup alert messages as shown below -
    function ValidateNotObservedCB(p_row_num)
    var v_row_num = p_row_num;
    var v_not_observed_cb_status = document.getElementById('f_notobserved_'+v_row_num).checked;
    var v_not_in_district_cb_status = document.getElementById('f_notindistrict_'+v_row_num).checked;
    var v_program_code = document.getElementById("f_program_code_"+v_row_num).value;
    if ( (v_program_code.length>0)&& ( document.getElementById('f_notobserved_'+v_row_num).checked==true ))
         bold alert("You have already entered a program code.") bold
         document.getElementById('f_notobserved_'+v_row_num).checked=false ;
         document.getElementById('f_notobserved_'+v_row_num).value='N';
    } else if ( (v_program_code.length==0)&& ( document.getElementById('f_notobserved_'+v_row_num).checked==true )) {
         document.getElementById('f_notobserved_'+v_row_num).value='Y';
         document.getElementById('f_notobserved_'+v_row_num).checked=true ;
    } else
         document.getElementById('f_notobserved_'+v_row_num).checked=false ;
         document.getElementById('f_notindistrict_'+v_row_num).checked=false;
         document.getElementById('f_notindistrict_'+v_row_num).value='N';
         document.getElementById('f_notobserved_'+v_row_num).value='N';
    Question/Issue - How can I convert these alert messages into Inline messages to show on the page, similar to what appears when we do Item Validations in APEX.
    Waiting for responses as this is an urgent requirement.
    Thanks in Advance,
    Madhu

    Hi,
    I did with jQuery small sample
    http://apex.oracle.com/pls/otn/f?p=40323:36
    Page HTML header is
    <script type="text/javascript">
    $(function(){
      var lImg = $('<img alt="" class="pb" style="float: right;" src="/i/delete.gif"/>');
      var lMesg = $('<div id="MESSAGE" style="border-top: 1px solid rgb(142, 170, 142); border-bottom: 1px solid rgb(142, 170, 142); padding: 5px; background: rgb(235, 241, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 450px;" class="t14notification"></div>');
      $('.pb').live('click',function(){
        $x_Remove("MESSAGE");
      $('#SUBMIT').click(function(){
        if($('#MESSAGE').length == 0){
          $('#t14Messages').children().append($(lMesg));
           $(lMesg).append($(lImg));
           $(lImg).after($('#P36_NOTIFICATION').val());
        }else{
           $('#MESSAGE').text('');
           $('#MESSAGE').append($(lImg));
           $(lImg).after($('#P36_NOTIFICATION').val());
    </script>I do not know does it help. Using this depend much on theme, defined class and IDs.
    Br, Jari

  • Mail sending 2 messages for every 1 sent ("sending 2 of 2 messages")

    hi... did a search, but it was a tough one to search for.
    an odd problem: mail says it's sending 2 messages for each message i send. for instance, i type a note to my mom (because i'm a good son) and hit send on the one email... the status bar at the bottom left of the panel says: "sending message: 2 of 2" or "outgoing messages: 2 of 2"...
    however, in checking the sent folder, only 1 message sent.
    it does not do this all of the time, but about 1 out of every 5 messages, it seems...
    i'm worried about malware, spyware, etc... would there be such a thing? why is mail acting weird?

    There are no viruses for Mac OS X, and no malware can be installed without you providing your Admin password, so you don't have that, either.
    This is normal behavior, because you have an IMAP email account. In order for everything to be in sync, the mail server and your Mac must communicate very frequently, and that includes whenever you send or receive email. The message may say one thing, but unless you see multiple, identical messages being sent or received, it's not happening. There's no such thing as invisible email.
    Mulder

  • How to create a inline message for report region...

    Hi,
    Can any one pls tell me the document link for to create a inline error message for report region?
    im trying to do a dynamic validation for report region.i've manually created a report region with apex item.
    im searching it for long time, im cant able to find any demos or example.
    Pls help.....
    Thanks in advance...

    Any help???

  • Custom Error Messages for Database Constraint Violations Problem

    Hi
    I have added a custom message bundle for the model project as explained in
    37.8.3 in the Fusion Developer's Guide - How to customize error messages for database constraint violations.
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadvgen.htm#BABEFGCI
    Constraint Name : SYS_C0018574
    And I have following CustomErrorMessages class
    public class DBCustomErrorMessages extends ListResourceBundle {
        private static final Object[][] sMessageStrings =
            new String[][] { { "SYS_C0018574",
                               "Existing Record Found" } };
        protected Object[][] getContents() {
            return sMessageStrings;
    }This works fine when I run application model and adding records to vialate the constraint. So it gives me following message
    (oracle.jbo.DMLConstraintException) Existing Record FoundBut when run ui project it does not fire.
    Still it gives the message
    ORA-00001: unique constraint (CCBS2.SYS_C0018574) violatedCould you please shed some light?
    Edited by: deshan on Mar 15, 2011 11:28 AM

    Please see the image.
    http://4.bp.blogspot.com/-Fna66p-W5Jw/TX7uSQqqBtI/AAAAAAAAAH0/D1APg6oAIxI/s1600/1.JPG
    Error in Application Module ORA-00001: unique constraint (CCBS2.SYS_C0018574) violated exception is different from ui project.
    Any hint?
    Thanks
    deshan
    Edited by: deshan on Mar 15, 2011 10:16 AM

  • JhsError Messages for Database constraint

    Hello JhaedStart Team
    I want to display mycustome entity alias name in place of entity name in Jhs Error messages for Database constraint , as you know we can customize this error message by replacing ConstraintName as a key in our registered customMessage Bundle (according to 25.8.3 sction of ADFdevelopers guide) .
    In order to do that I should disable JHS NLS generation for JHS because it's custome messages prevent my message to be display from my customMessage Bundle , So I have tried to delete constraint key (eg CASCADING_DELETE_VIOLATION) from GeneratorText.properties but I see that the CASCADING_DELETE_VIOLATION message still generated in my project JHS message bundle.
    Please help me to fix the problem

    JHeadstart also supports customizing database constraint messages, as explained in section 11.4 of the JHeadstart 10.1.3.2 Developer's Guide. So you don't need to use the technique of section 25.8.3 of the ADF Developer's Guide, you can customize the message directly in the JHeadstart resource bundle.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Error message for calling oracle support

    Hi,
    We are getting the following error codes:
    ORA-27302
    Ora-27303
    Ora-2000
    ora-1013
    can anyone please help out.The error message is for contacting Oracle support
    Thanks a heap
    regards,
    vinayak

    Very limited info has been given.
    Be more cleared. Like hwat is your Oracle version, what is your OS and its version?
    Have you applied any new patches recently?
    When does this problem started?
    Is this problem coming when querying anything or while database startup?
    Also, check your alert.log and paste the complete error message.
    Jaffar
    Message was edited by:
    The Human Fly

  • How to set an 'alert'  or reminder message for end-user Acrobat X form.

    Hi,
    I'm trying to see if I can add an alert or reminder message for the end user who will be filling in a form that I'm creating from Acrobat Pro X.
    Does it require a script if so, could anyone share one that is already exists?
    If it doesn't need a script, how can I set that up?
    What I want to do, is to remind end-user to fill in Numbers Only and not text.  I have already set my properties for numbers only and provided an example. But, In-case end users did not understand, I'd like to have a message for them to say that they must type in number and not text.
    Currently, with the limitation I've made, they couldn't type in any letters but, they might be frustrated and not fill in anything!
    Please help!
    Thanks,

    Thank you for the code.
    Is it correct to put that code under VALIDATE > run custome validate script, within the Properties box?
    Because I tried it, and it worked only AFTER I typed a number onto the field.
    Since my goal is to have the alert BEFORE, so if someone typed in a text, they should see the alert and correct themselves to type in a number instead.
    Please clarify.
    Thanks!

  • Seebuger AS2 adapter for XI as sender for multiple messages

    Hi all,
    Has anyone managed to configure the Seeburger AS2 adapter for XI successfully to process multiple inbound message types.
    We have an issue here with inbound messages being received by the AS2 adapter. We currently have it configured for inbound deliveries which is working fine. The issue is that we would now like to send other messages as well. It seems the AS2 adapter only looks at the sender/receiver party combination to determine the correct sender agreement, but does not look at the message type which is a limitation. I have heard mention of a splitter module which can be used to distinguish between different messages and pass them to the correct sender agreement for processing, information on this is thin on the ground to non existent. What is the name of the module? Is it specified in your sender AS2 adapter with parameters? Is it wrapped as an adapter? How do you configure the module to split and pass specific messages etc... Any help on this would be much appreciated.
    Thx,
    Pete

    Hi Rudy,
    the Classifier/BIC/Splitter - Solution is mainly designed for EDI-Messages that cannot be handled directly by XI.
    IF you use pure XML-messages you should be able to handle it with XI-basic-functionality since this is what XI can handle itself.
    Depending on how different your XML-Messages are, the effort will be very small or a little bit bigger.
    In the ReceiverDetermination it should be possible for you to check whether certain XML-TAGs are existing or what the content for certain TAGs is BAsed on this information you can route the messages in a correct way.
    (Of course you might have to create  your own XSD for this containing the important TAGs of each message, so you can setup your Conditions)
    Btw. the Seeburger BIC-Adapter can provide also this functionality, but this also needs to be customized)
    Greetings
    Stefan

  • Inline Message with non english language....

    we can see the properties file in the properties file like
    javax.faces.component.UIInput.REQUIRED=error:{0}.
    so it will show the message like "textfield1 " value is required.
    but i want it shows "mytext"<--japanese value is required..
    it looks like that the error message's {0} is read the components id.
    so i need to change the code like set&#12508;&#12479;&#12531;() or get&#12508;&#12479;&#12531;()..
    its really a bad solution........
    may i let the inlin message get the component's title for the textforamt's {0} ?
    thanks
    and
    best regards
    koji

    You -can- change the builtin required-validator message, and there's a tutorial written on that that I think will be posted shortly; but you are basically providing a new bundle value for the builtin required-validator's key, so you don't have the chance to supply additional parameters to the message. So if you want to insert the title property or any other property or computed string, you need to do your own validator.
    P.S. It's not hard. At JavaOne I showed how to do one during James Gosling's keynote demo; the Creator demo was just 5 minutes or so and in that time I wrote a simple credit card number validator, deployed it and verified the results in the browser. You can see the keynote here:
    http://www.sun.com/aboutsun/media/video/javaone/gosling.html
    -- Tor
    http://blogs.sun.com/tor

  • Inline Message Errors

    I have a page that is working according to spec with a dropdown box to select records, a search box to refine the data in the dropdown, and multiple text fields for editing. I then included an inline message with the "for" property set to my dropdown box. The following error now appears in the inline message whenever I use the search box, except when the previous search netted no results:
    "Validation Error: {0}Value is not valid"Does this look or sound familiar to anyone? I can just not use the message box, but I'd like to use this feature to implement user errors.
    Thanks.

    Hi,
    This problem often occurs by two different causes:
    1) You set a value for the property in the backing bean associated with the selectItens "value" that doesn't exists in the itemList.
    Example:
    public Collection getItems() {
    ArrayList result = new ArryList();
    result.add(1); // Tiger Only
    result.add(2);
    result.add(3);
    public int getValue() {
    return 10;
    <h:selectOneMenu value="#{mb.value}>
    <f:selectItems value="#{mb.items}/>
    </h:selectOneMenu>
    2) A conversion mismatch in the items and the value:
    Example:
    public Collection getItems() {
    ArrayList result = new ArryList();
    result.add(1); // Tiger Only
    result.add(2);
    result.add(3);
    public String getValue() {
    return "A";
    Hope it helps
    Abra�os, Brazilian GlAdIuS

  • Correlation for JMS Messages possible? JMSCorrID in JMSHeader not accepted

    Is Correlation for communication over JMS messages possible?
    If I define the JMSHeader field "JMSCorrelationID" in a correlation set ("as usual") then I get
    compiler errors:
    Error ORABPEL-10036: invalid correlation set
    BPEL seems not to accept JMSHeader fields for correlation but only fields from the actual payload msg.
    Is this true?
    Is there soemwhere a guide on how to correlate JMS messages?
    Thank you
    Michael

    you can use the "Message Selector" on the JMS adapter to filter to achieve that;
    here is extract from oracle help document
    Message Selector
    Specify filtering logic that enables you to receive messages that match a certain criteria. Enter an expression between 1 and 255 characters in length. Use SQL92 syntax in this field. The JMS server uses this criteria to filter messages received by this consumer. The message selector works with variables defined in standard JMS headers and user-defined properties. You cannot use variables or elements that are in the payload of the message.
    For example, you can enter logic such as: JMSPriority > 3. Based on this, messages with a priority greater than 3 are consumed; all other messages are rejected. JMSType = 'car' AND color = 'blue' AND weight > 2500 Country in ('UK', 'US', 'France')
    it's got some limitations but works fine for our requirements so far...

  • Pop up error messages for failed custom validation

    I am using jdev-10.1.3.4
    My application is in ADF BC
    I am writing custom validation through managed bean, I want pop-up error message for this failed validation.
    My problem scenario is:
    I had some list box as "status"-when this status changes to failed then the other field namely "closed date" should become madantory and also date in closed date field can't be in future.I am able to have all this validation through managed bean and also able to use af:messages through which i am able to print error message on the top of the form, but i am not able to give pop up error message for this failed validation.
    I had gone thru jdev guide but there is nothing like what i am asking.
    it would be of great help if someone can give me some example also.
    thanks in advance.

    ADF has global setting where you can configure the way messages are shown to user:
    You can make this setting in adf-faces-config.xml
    The <client-validation> element controls how client-side converters and validators are run.
    Three values are supported:
    "INLINE": validation is shown inline in a page (the default)
    "ALERT": validation is shown in an Javascript alert
    "DISABLED": validation is only handled on the server
    IN your case, set it to 'ALERT'.

Maybe you are looking for

  • If I have 2 laptops can I use my account on both?

    I have a laptop and I'm thinking about getting a netbook. Now I know you can only use one computer for downloading everything to the iPods but can I just download Apple iTunes to a netbook and purchase off my same account and download some music and

  • How do i syc my 2 iphone s to a new computer

    How do i syc my 2 iphone s to a new computer. I had to do a new re-ins- on my ibook so all my stuff is delete.

  • Tax code determination using NAVS (ME21N)

    Hi - We have managed to automate tax code determination in the PO line when posting via ME21N We have a business scenario where some vendors in our German company code have the country (LFA1-LAND1) = CH in the master date(KNB1). However the VAT reg n

  • How can I add a watch to a variable or expression during javascript debugging

    Since the new update to safari 6 I am looking for a way to add a watch to a variable or expression during javascript debugging. I don't want to go to the console line every time to type in the separate variables and expressions over and over again. A

  • Module pool Program Doubt

    Hi Xperts, I am Working an object on module pool.I have a small doubt regarding that. tables:lfa1. data:begin of itab occurs 0, lifnr like lfa1-lifnr, land1 like lfa1-land1, name1 like lfa1-name1, end of itab. case sy-ucomm. when 'disp'. select lifnr