AF:MESSAGE INSIDE AF:POPUP?

Hi everybody:
Since two days ago, i´ve been trying put validation and conversion messages inside a popup with little success, is part of use cases in project where i work. I would know if this is posible. I was thinking that i could capture facesmessages with a phase listener, after capturing faces messages put them inside a popup and show it. There´s any simple form to do that?
THANKS IN ADVANCE FOR YOUR HELP!!!!

Thanks for your answer Puthanampatti, but i think i´ve not been clear. That i want to do is following:
- i have a jsf page with some inputs.
- i have a command button inside this page
- i have a popup that should be shown with af:messages when exist a validation or conversion problem when i click command button
it could be something like this
<f:view locale="es">
<af:document id="d1" title="Title 1">
<af:form id="f1">
<h:inputText id="telefonoResidencia" value="#{bean.numeroTelefonoResidencia}"
required="true"
requiredMessage="#{bean.mensajeTelefonoResidencia}"/>
<af:commandButton id="button" text="Click me">
<af:showPopupBehavior popupId="popup" align="afterStart"/>
</af:commandButton>
<af:popup id="popup" contentDelivery="lazyUncached">
<af:dialog title="el popup" id="d2">
<af:message id="mensajeTelefono" for="telefonoResidencia"/>
</af:dialog>
</af:popup>
Popup is shown in mi page but i dont know how to put inside it all af:message
THANKS AGAIN, FOR YOUR HELP

Similar Messages

  • How to catch error message inside a variable?

    Hi,
    I'm trying to catch the error message inside a variable using this this command below:-
    <%=odiRef.getPrevStepLog("MESSAGE")%>
    Could you please tell me what is the right approach to capture the error message inside a variable.
    Thanks
    Anindya

    Hi Bhabani,
    I have done this and select an oracle schema.But the variables only captures the (null).Please look into this.You must have one step prior to this refresh variable. Then only it can get the status as given below.
    Returns the one-letter code indicating the status with which the previous step terminated. The state R (Running) is never returned.
    D: Done (success)
    E: Error
    Q: Queued
    W: Waiting
    M: Warning
    If you want the complete error details then you will face issues in case of multi line message. For this best option would be jython variable.Could please provide me some idea how to use this jython variable.I will update you on this soon
    Thanks
    Anindya

  • How to set error message inside the loop...module pool

    Dear all,
         Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.
    Thanks,
    Santhosh.R

    If i understood your doubt, here goes the answer.
    LOOP AT itab INTO wa_itab.  " This is your loop
      l_tabix = sy-tabix. "l_tabix receives the line of the loop
      READ TABLE itab WITH KEY itab = wa_itab.  "itab is the same tab of your loop
      IF sy-subrc EQ 0 AND l_tabix NE sy-tabix.    "Here the sy tabix have the value of the read table.
    *     Here you do your error treatment.
      ENDIF.
    ENDLOOP.
    Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
    Maybe there is someway easier to do this, but this is what i thought now.
    I hope this was your doubt hehe.
    Thales Schmidt

  • Display 'No Data Found' message w/ htmldb PopUp

    Hi all,
    Is it possible to control message within htmldb PopUp Lov, sort of 'No Data Found' available in Report template under topic 'When No Data Found Message'?
    Thx
    lam

    hi
    you can create two region with conditions:
    1. Chart region (display if your qurey return values)
    2. Html region with static "Nothing to display" (display if your query no data found)

  • Flash content inside windows popup is not rendering on IE10

    Hi,
    Flash content of my application is not appearing when it is inside windows popup. When I close popup, I can see the content momentarily.
    This happens in case of popup only.
    Look at this video - http://youtu.be/SupJYZoLk5I
    I am not able to find why it is happening only with given configuration.
    Browser- IE10
    OS - Windows 8
    Thanks,
    Prithveesingh.

    The site is intranet one and can not be accessible from outside.
    Wanted to add one more thing  that it works fine when tried on IE10 on Windows 2012. 
    1. The issue occurs with popup.
    2.Popup URL works fine if directly open in browser.
    3. The swf file loads but seem like not initialize.
    4. It works on IE10 on Win2k12. In Win2k12, Flash Player publisher is shown as 'Adobe Systems' while in case of Windows 8, it shows as
    'Microsoft Windows 3rd party component'.
    The popup mentioned here is modal dialog opened using javascript function window.showModalDialog. Instead if we use window.open things works fine, but we need modal dialog the way it is there.
    Thanks,
    Prithveesingh.

  • Internet Explorer message "refer to popup window"

    Hi everyone,
    Value some help please. When visiting my work's website with Internet Explorer on a new Lumia 625, the message "refer to popup window" appears after I log in. Unfortunately, unlike using a desktop or laptop, no new tab appears. A new tab does appear when I log on with an Android device, so I know it is possible for a mobile phone. Grateful in advance for ideas.
    Andrew

    Hi Andrew29,
    Welcome to Nokia Support Discussions.
    You can try changing the website preference from the mobile version to desktop version under settings> swipe left to applications and select Internet Explorer. Also, try downloading another web browser from the Store and see if it works.

  • H:message inside a JSF Datatable

    Is it possible to put an < h:message> inside of a column of a JSF Datatable? I want to validate that the user is actually entering data into the text box residing in the column of the Datatable.

    Yes, you could, please download jsf1.1 RI and install the jsf-components smaple and then refer this page:
    http://localhost:8080/jsf-components/repeater.faces

  • Af:showPrintablePageBehavior inside af:popup - af:dialog

    Is there a standard way to get the showPrintablePageBehavior command working inside a popup? Ive placing layout components like panelsplitters and panelgrouplayouts inside the popup (in the hopes that the showPrintablePageBehavior would recognize them) but none of that works. If the showPrintablePageBehavior is directly inside the af:dialog then the result is that it renders the underlying page. If showPrintablePageBehavior is inside a layout which is inside the dialog, the result is an empty page. FWIW the empty page seems to contain some of the standard html that an ADF popup would normally have, but its definitely not rendering the content in any way.

    Same thing, the "printable" page is completely blank. Below is the af:popup src code.
    <af:popup id="stretch-popup">
           <af:dialog>
                <af:goButton text="goButton 1" id="gb1"/>
                <af:panelStretchLayout id="psl2">
                  <f:facet name="bottom"/>
                  <f:facet name="center">
                      <af:group >
                        strecth layout content
                      <af:outputText value="here is some output" id="ot1"/>
                      <af:commandLink text="a command link" id="cl1"/>
                      <af:outputText value="some other output" id="ot2"/>
                      <af:commandButton text="Print" >
                        <af:showPrintablePageBehavior/>
                      </af:commandButton>
                      </af:group>
                     </f:facet>
                  <f:facet name="start"/>
                  <f:facet name="end"/>
                  <f:facet name="top"/>
                </af:panelStretchLayout>
              </af:dialog>
           </af:popup>

  • Pdf inside af:popup?

    is it possible to show a pdf inside adf popup ?
    thanks

    Not one option, the only option. Unless you want to open the PDF in an applet or a Flash application, which would be bad.
    ~ Simon

  • The total numbers of events(messages) inside the transaction

    Hello folks,
    My question is.
    How I can count the total numbers of events(messages) inside the propagated transaction into DML handler before I raise the error.
    Thanks.

    well, example...
    I created the DML handler. Error handler.
    The Apply process received and trying to apply transaction.
    Into DML error handler I want to know how many events (messages) in transaction?
    Then I would like to do that:
    If messages > 1 (of course without service's messages) I'll raise exeption, otherwise I'll discard the error...
    Simply but I don't know how...
    Thanks for your advice

  • Session gets expired on using richTextEditor inside a popup

    Hi,
    I have a a custom component inside a jsff page.In the custom component I have a popup having af:richTextEditor inside it.
    While closing the popup I get error message popup saying :
    Because of inactivity, your session has timed out and is no longer active.
    Here is the code snippet :
    <af:popup id="textPopup" childCreation="deferred"
    autoCancel="disabled"
    contentDelivery="lazyUncached">
    <af:dialog id="textDlg" stretchChildren="first"
    contentHeight="150" contentWidth="450"
    title="#{viewcontrollerBundle.RICH_TEXT_DIALOG_TITLE}"
    affirmativeTextAndAccessKey="#{viewcontrollerBundle.RICH_TEXT_DIALOG_OK}"
    cancelTextAndAccessKey="#{viewcontrollerBundle.RICH_TEXT_DIALOG_CANCEL}"
    dialogListener="#{viewScope.viewerBean.handleRichTextDialogListener}"
    resize="on">
    <af:richTextEditor id="textEditor"
    label="#{viewcontrollerBundle.EMPTY_LABEL}"
    value="#{pageFlowScope.richTextDialogText}"
    toolboxLayout="all customToolbar"
    autoSubmit="true" simple="true"
    contentDelivery="lazy"
    inlineStyle="width:500px;">
    <f:facet name="customToolbar">
    <af:group id="pt_g1">
    <af:commandToolbarButton id="txttlbr_user_btn"
    icon="/oracle/imaging/viewer/images/user.png"
    shortDesc="#{viewcontrollerBundle.ANNOTATION_CURRENT_USER}">
    <af:richTextEditorInsertBehavior for="textEditor"
    value="#{viewScope.viewerBean.currentUserName}"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="txttlbr_date_btn"
    icon="/oracle/imaging/viewer/images/clock.png"
    shortDesc="#{viewcontrollerBundle.ANNOTATION_CURRENT_DATE}">
    <af:richTextEditorInsertBehavior for="textEditor"
    value="#{viewScope.viewerBean.currentDateString}"/>
    </af:commandToolbarButton>
    </af:group>
    </f:facet>
    </af:richTextEditor>
    </af:dialog>
    <af:clientListener method="IPMVUR_refresh_annotation_from_server"
    type="popupClosed"/>
    </af:popup>
    Thanks
    Edited by: vinitku on Mar 5, 2013 9:01 AM

    Could you double check your web.xml of th custom component and confirm that the session timeout is not too low ?

  • Message in a popup

    Hi,
    Is it possible to have all message from BPS (error and confirmation message) that appears by default in the bottom right of the screen, in a pop up (or something more visible) for users. of course my question is if there is something simple. if the only way is to put a message line in each fox formula, i'm not interesting
    Thanks
    Cyril

    Hi Cyril,
    You can call the following FM from your planning function and based on your validation it gives popup messsage it is is very visible  
    CALL FUNCTION 'POPUP_TO_CONFIRM'.
    You can call the this FM and pass the parameters based on your requirement
    EXPORTING
    TITLEBAR = 'XXXXXXXXXXXXXXXXXXXXXXXX'
    TEXT_QUESTION = 'XXXXXXXXXXXXXXXXXX'
    TEXT_BUTTON_1 = ' '
    TEXT_BUTTON_2 = ' '
    DEFAULT_BUTTON = '1'
    DISPLAY_CANCEL_BUTTON = ' '
    IMPORTING
    ANSWER = .
    I hope it will useful for your requirement.
    Best regards
    SS

  • Access to original message inside proxy service

    I have proxy service (serviceType=WSDL Web Service) which is available to endpoint to customer and I want to save incoming message to file on disk. However I want to persist whole incoming message exectly (at byte level) as it was sent by sender (so together with Envelope).
    Inside proxy service I have access to variables like header, body etc. However they are not good for my purpose because they differ from corresponding parts of original message. E.g. xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" namespace in original message in
    defined only on Envelope level and not on Header or Body level. But in variables header and body available inside proxy service they (namespaces) are visible. Mayby there are more differences but this one is visible at once.
    So is it possible to access (to be able to save it) original message somehow? Any magic variable? Or mayby there is a way to say osb to persist it (incoming request) to file? (it would be enough for me (of course I need filename). I would manage file by myself further).
    Any hints appreciated

    If you choose the service type as WSDL based or Any SOAP service, then OSB engine will deconstruct the incoming SOAP Envelope and populate the parts of envelope (Header, Body etc) to correct context variables automatically. This happens before the message flow of proxy service is initiated, so you can not do anything about it. In the proxy service you will receive the deconstructed SOAP message only.
    If you do however want to log the exact message which was received by OSB, then change the service type to (or create another proxy service in front of the existing proxy) Messaging type with binary or text content. Or you can also choose AnyXML service type, in which case the incoming SOAP Envelope will be available inside $body variable in message flow.

  • Vba to dismiss an IE8 or IE9 "message from webpage" popup window

    In excel or word, paste the following code into a vba normal module and run it.   The code goes to a public web site and tries to lookup a school.  The website pops up a "message from webpage" dialog that warns me that the the school
    number is not valid.
    My program can detect that popup, but how can I reliably and automatically dismiss it?
    I have a workaround that uses sendkeys but about 10% of the time the popup remains.
    Does anybody have a solution that does NOT require sendkeys? The ideal solution would also work when objie.visible = false.
    option Explicit
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
    Sub t1022()
    Dim objie As Object
    Dim i As Long
    Dim htmlTable As htmlTable ' set reference to microsoft html object library
    Set objie = CreateObject("InternetExplorer.Application")
    objie.Visible = True
    objie.navigate "http://www.slforms.universalservice.org/Form471Expert/471StatusCheck.aspx"
    Do: Sleep 100: Loop While objie.busy
    Set htmlTable = objie.Document.getElementsByName("txtBenId")(0)
    htmlTable.Value = 12345
    With objie.Document.getElementById("txtFundingYear")
    .Click
    .Value = 2013
    End With
    objie.Document.getElementById("btnSearch").Click
    For i = 1 To 10
    Sleep 100
    If Not objie.busy Then Exit For
    Next i
    If objie.busy Then
    MsgBox "popup detected"
    End If
    End Sub

    Hi,
    If there is a will, there is definitely as way. The following definitely works!
    Copy and paste the following code in a module.
    Option Explicit
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
    'Sends the specified message to a window or windows. The SendMessage function calls the window procedure
    'for the specified window and does not return until the window procedure has processed the message.
    Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
    (ByVal hWND As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
    'Retrieves a handle to the top-level window whose class name and window name match the specified strings.
    'This function does not search child windows. This function does not perform a case-sensitive search.
    Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" _
    (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    'Retrieves a handle to a window whose class name and window name match the specified strings.
    'The function searches child windows, beginning with the one following the specified child window.
    'This function does not perform a case-sensitive search.
    Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
    ByVal lpsz2 As String) As Long
    Public Const BM_CLICK = &HF5&
    Sub t1022()
    Dim objie As Object
    Dim i As Long, hWND As Long, childHWND As Long
    Dim htmlTable As htmlTable ' set reference to microsoft html object library
    Set objie = CreateObject("InternetExplorer.Application")
    objie.Visible = True
    objie.navigate "http://www.slforms.universalservice.org/Form471Expert/471StatusCheck.aspx"
    Do: Sleep 100: Loop While objie.busy
    Set htmlTable = objie.Document.getElementsByName("txtBenId")(0)
    htmlTable.Value = 12345
    With objie.Document.getElementById("txtFundingYear")
    .Click
    .Value = 2013
    End With
    objie.Document.getElementById("btnSearch").Click
    For i = 1 To 10
    Sleep 100
    If Not objie.busy Then Exit For
    Next i
    If objie.busy Then
    'MsgBox "popup detected"
    DoEvents
    hWND = FindWindow(vbNullString, "Message from webpage")
    If hWND <> 0 Then childHWND = FindWindowEx(hWND, ByVal 0&, "Button", "OK")
    If childHWND <> 0 Then SendMessage childHWND, BM_CLICK, 0, 0
    End If

  • How to create a message inside BPM

    I am using interface mapping inside BPM in order to check source message. This mapping produced new interface (I have declared container with that type) then I have swith block that check countainer with new intrface.
    In SXI_CAHCHE I get an error VALUE is not a component of data object 'PAYLOAD'
    I have SP15
    Does it mean that I cannot work with containers that are not   messages? Is it a bug?
    Message was edited by: Denis Ivanov

    Hi,
    CHeck this SAP Note- 890760
    Regards,
    Moorthy

Maybe you are looking for

  • How can i remove something from the favourite in finder?

    how can i remove something from the favourite in finder?

  • Best way to sharpen video?

    You know if you have ever seen spiderman or most current films you can see some extremely sharp images. I was wondering if anyone knew of a great way of sharpening video in FCP. I used the sharp tool and it was okay but any tricks or tips you could s

  • How to disable and enable Check box based upon condition

    Hi, I wants to disable/hide the check box field before the required field is filled.   Kindly help me

  • Konqueror flash player[SOLVED]

    i want to install flash player on konqueror.i cannot find how to do it from wiki.i installed javaplugin but this is for other browsers.is konqueror a good broswer or i should use other? Last edited by kosgeter (2014-02-09 21:48:54)

  • Cant pull up iTunes playlists in iDVD

    Ive moved a slideshow/photo album from iPhoto to iDVD but under the audio tab, in iDVD, it wont show the playlist, from iTunes, that I created for the slideshow. Ive tried dragging it to iDVD and dragging it to the desktop, then to iDVD. The "HELP" s