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>

Similar Messages

  • 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.

  • 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

  • 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

  • Popup Message Dialog  in Purchase Order

    Hi Guys,
    On Purchase Order hav the Popup Message Dialog to show all the messages that occurs during the creation of the Purchase Order. Now, I have the following problem ;
    - I created on Purchase Order and occurred during the creation of 3 posts.
    How can I cath the index of the 3rd Post, for example.
    tks
    Flavio Ferreira

    Hi,
    Check the condition record key comb1 and 2 for the vendor for the document type, if two output types are maintained delete one and try.
    Regards,
    BK

  • 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 ?

  • How to popup confirm dialog trying to navigate away with unsaved changes

    Is there any generic or built-in solutions for this common requirement?
    JDev: 11g
    any idea or material on this is appreciated.
    Thanks.
    Kevin.

    try capturing the onBeforeUnload event and display a modal confirmation dialog asking the user if he really wants to navigate away from the page; and warning him that if he does so, all the changes he made hitherto will be gone.
    However, you need to handle this intelligently since you need to identify if any fields in the form have changed and only then warn the user to confirm his decision to go away from this page.
    You can do this by having a flag which is initialized to false but when onBeforeUnload event is fired, you would check if any of the form fields in the page have changed by iterating over each and every form field,and then setting the flag to true if some thing changed
    the onBeforeUnload Handler will always return this flag, if it is true, you will get this confirmation popup, else the page will go away. To show a customized confirmation dialog, perhaps you would have to invoke the custom dialog call from with in the onBeforeUnload handler. When the user says yes, return false;else true.

  • How to display multiple selected rows in a table inside a popup?

    Hi,
    I have a table on which multiple selection is enabled. I am able to get hold of multiple selected rows i.e. i am able to iterate over the selected row keys and print their values. Now, my problem is how to display the contents of all the selected rows in a popup? I get the details of only one row when I launch the popup.
    Thanks
    Karan

    Hi,
    Not confident if this works or not but just try it...
    1. create a ViewLink between the same view Object.
    The source and destination wil be the same Vo and the source and destination attribute will be the pk of both Vos.
    2. Update the changes in Appln Module.
    Open the AM and in DataModel tab .
    select the Same VO from which you created table in the DataModel Listbox and select the VL in the "Avaible View Objects" List Box. Add under it(selected vo in datamodel listbox).
    3. Refresh DataControl accordion.
    4. in your jsff page drag and drop the child vo as a table..
    See if it works
    Regards,
    Santosh.

  • Display Popup or Dialog Message window when opening planning form?

    Is there a way to setup a planning web form to display a dialog box or message when the user opens a planning web form or expands a folder in planning? Or, is there a way to change the background color on a web planning form (input is yellow and would like to change it to some other color (light orange))? We are currently using Hyperion v9.3.0.1 on Unix Solaris. I tried attaching a Biz rule with runtime variables but the form errors with message indicating can not have run time variables on the form load option when opening a form.

    Hi,
    You can use custom javascript to add an alert message in a web form, you will need to read up on using custom javascript in planning, have a read here
    As for the colors used in web forms you can customize the css being used, have a read here
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Form inside the popup isnot working properly

    Hi
    I am using Jdev 11.1.2.1
    I have UBT in which i am having a page .in this page i am having a popup that has a VO dragged and dropped as Form along with the (First,Next,Last,Previous ,CreateInsert of that VO as buttons)
    Now when i run the page and perform some CreateInsert Operations i am able to save the data but i am unable to c it in the popup using the Fist,Previous,Last... buttons.
    What could be wrong.lease help me out.

    Its telling me that too many objects with primary key.
    Ill explain what i have done.
    I have page wherein i got a table for a VO.
    Now i am inserting column in that table having button and now when i press this button i should get a popup having its child VO,wherein i shuld be able to insert multiple records and save them and get out of the popup.
    So i have done this by a popup having form with all the button set and when i perform mulitple insertions in the form in the popup and when i am trying to see the previous records that's entered in the popup i cant c them.Its throwing me too many objects with primary key error on the screen.
    One more thing here is i cant drag and drop the VO from the DC in the Popup near the button as adf table ,when i am having this popup outside the table i can .
    But as i placed the button in one of the column i compromised by draggin it and dropping it as form.
    Thanks

  • Is there any way to popup a dialog box when user try to create a new folder?

    Hi
    I want to add a pop up dialog ,using Flex custom UI dialog, when use click "New Folder" in Adobe Bridge ? Then user can input folder name in this dialog.
    Or I want to put this way,  is there any way to display Flex custom UI dialog and get user's input in my CreateDirectoryHandler implementation?
    The Adobe Drive SDK doesn't elaborate clearly about how to interact with custom UI dialog.
    Thanks a lot!

    Hi jmc,
                 See the links below.This will be helpful to you.
                 http://forums.ni.com/t5/LabVIEW/A-picture-as-a-dialog-box/td-p/236851
                 http://forums.ni.com/t5/LabVIEW/Dialogbox-with-user-input-and-image/td-p/1601214
    Thanks as kudos only

  • "Inside Webpage" Popup

    Is there a way I can add in a popup like www.Microsoft.com
    has with its side bar? For example, if you go to Microsoft.com and
    on the right side click Products & Related Technologies, it
    opens a popup in the website like Windows does. Is there anyway I
    can do that in my own website?
    If so, how?
    If not, thanks for trying to help me out.

    Microsoft have done this because they have a large amount of
    menu options and want to use thumbnail graphics to enhance the user
    experience?
    There are a number of ways to do this. The easiest way is to
    use JavaScript (ECMA Script) to generate a new window, which
    pops-up when the user clicks the link. Such techniques are popular
    and easily coded (search Google for simple Javascript pop-up
    window). Beware how you use this technique though as it can easily
    offend as please if you get it wrong. There is more to simply
    poping open another window, you need to consider why you are doing
    it and how you are going to let the user interact with it. There
    are many variables that you can define when you build this
    functionality. Consider accessibility and usability too.
    Another way of doing this type of thing is with AJAX or using
    css to control absolutely positioned block level elements on the
    page. These techniques are a little more imvolved buy there is
    plenty of information on the Web for you to research.
    Nick Barling
    www.barkingweb.com

  • Regading popup in dialog programming?

    hi frnds,
    my requirement is in my screen i hve a popupbox.In pop up i have 3 pushbuttons.YES,NO,and CANCEL.
    if i click yes pushbuttons i have to display dialog box..
    were to write code for pop up button.
    eg.
    pai...
    case sy-ucomm.
    when save.
        call popup_to _confirm.
         when 'yes'.
           can i call my dialog box. here

    Hi,
    chk this.
       CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
              titlebar                    = text-000
      DIAGNOSE_OBJECT             = ' '
              text_question               = v_text
              text_button_1               = 'YES'
      ICON_BUTTON_1               = ' '
              text_button_2               = 'NO'
      ICON_BUTTON_2               = ' '
              default_button              = '1'
              display_cancel_button       = 'X'
      USERDEFINED_F1_HELP         = ' '
             start_column                 = 25
             start_row                    = 6
      POPUP_TYPE                  =
      IV_QUICKINFO_BUTTON_1       = ' '
      IV_QUICKINFO_BUTTON_2       = ' '
           IMPORTING
             answer                      = v_ans
    TABLES
      PARAMETER                   =
           EXCEPTIONS
             text_not_found              = 1
             OTHERS                      = 2
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          CASE v_ans.
            WHEN '1'.
              LEAVE PROGRAM.
            WHEN '2'.
              CALL SCREEN 100.
            WHEN OTHERS.
              CALL SCREEN 100.
          ENDCASE.
    Regards
    Sandeep Reddy

  • Region inside ADF Popup

    Is it possible to add a region to a pop up , knowing that this region is representing a task flow which communicates with a database ?

    Yes. What specific problem are you hitting?
    CM.

  • ShowPrintablePageBehavior is not working inside popup. Is it an ADF Bug?

    Hi,
    I am facing some issues with showPrintablePageBehavior component.
    1. I have placed a command button with showPrintablePageBehavior inside a popup. But I am getting a blank page in print mode. But the showPrintablePageBehavior is working fine without popup.
    2. I have a pivot table with a button having showPrintablePageBehavior and these components are surrounded with panelSplitter. But pivot table is not rendering in print mode.
    Using JDeveloper 11.1.1.5.0 / 11.1.1.6 - adfbc
    code:
    <af:form id="f1">
    <af:panelSplitter id="ps1">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl1">
    <af:commandButton text="Popup" id="cb1">
    <af:showPopupBehavior triggerType="action" popupId="p1"/>
    </af:commandButton>
    <af:commandButton text="Print" id="cb3">
    <af:showPrintablePageBehavior/>
    </af:commandButton>
    <af:outputText value="Hai Output Text" id="outputText1"/>
    <af:popup id="p1">
    <af:dialog id="d2">
    <af:panelSplitter id="ps2">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl2" clientComponent="true">
    <af:commandButton text="Print" id="cb2">
    <af:showPrintablePageBehavior/>
    </af:commandButton>
    <af:outputText value="Hai Popup Output Text" id="it9"/>
    <af:clientAttribute name="print" value="true"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </af:dialog>
    </af:popup>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </af:form>
    Thanks,
    Dinil Mithra V S

    Thank you Srinivas,
    Point 1.
    I wanted to print the content of popup. So I have placed an af:outputText text inside af:panelSplitter component. But this layout is not rendering in print mode while printing from a popup ant it works without popup.
    Point 2.
    I have downloaded and deployed oracle dvt-demo war into my local wls.I can see the same issue (pivot table is not rendering in print mode) in my local deployed version.
    Thanks,
    Dinil Mithra V S

Maybe you are looking for

  • Photoshop it wont open. I click on it and nothing

    photoshop it wont open. I click on it and nothing

  • Session selection on Windows 8.1 In-Box Junos reconnection

    Hello, I would like to automate user connection to a VPN using Powershell. I have found how to create the connection and trigger it on application launch. If my connection fails, on reconnection it is asked to user to select the previous session, I w

  • Detail block is not populated

    Hi, Please suggest me best way to do it. Create a form with two blocks 1.Master block1 has items client,dc,sku,fromlocation,tolocation which is fetching data from RFlog table in RFWH schema 2.Second block has items client,dc,sku,location which is fet

  • Problem loading image for TrayIcon

    This code works great if I'm in Netbeans running my project. No problems.             //grabbing image for TrayIcon             String curDir = System.getProperty("user.dir");             Image image = Toolkit.getDefaultToolkit().getImage            

  • Knowing how many people is connected to my airport express

    I have an airport express and is encrypted how ever I would like to know how many people is connected to it, is this posible?