How do i show a popup in an OA Pageon the basis of some database validation

Hi All
I need to show a popup message on the click of a button.
On the click of the button I have to submit the page and do some database validation with the data entered by the user on that page.
Depending on the validation I have to give a popup which will have a value that is fetched from tha database.
I can show a popup by writing the below given code in the processRequest of my CO
OASubmitButtonBean registerbutton = (OASubmitButtonBean)oawebbean.findChildRecursive("RegisterButton");
registerbutton.setOnClick("alert('show an alert')");
But I cannot perform the database validation(using a stored procedure) in the processRequest.
I am performing the validation in the processFormRequest
Also I am not able to show the value fetched from the database in the popup using the above alert.
Please send me the code.
Thanks in advance.
Regards
Meenal

okay so the popup window would be some information window, where the user, maybe after reviewing the information presses close and closes the window.
i would do this using PPR, have a small content region or some other small region(which supports PPR), which would showup in some section of the screen when the user performs the desired action, and have a close button in the region, pressing close would fire PPR again and hide this region.
There maybe variety of solutions such as this depending on the requirement.
Thanks
Tapash

Similar Messages

  • How do i show a movie from my mac to the television?

    how do i show a movie from my mac to the television?

    Hello there, kojak100.
    The following Knowledge Base article goes over how to sync content to your iPad:
    iOS: How to transfer or sync content to your computer
    http://support.apple.com/kb/ht1296
    This section may prove useful:
    USB syncing
    Open iTunes.
    Connect the iOS device to your computer using the included USB cable and click the device button in the upper right corner. (If you are viewing the iTunes Store, click the Library button in the upper right corner. The device button will then be visible.) Some tabs may not appear if you do not have corresponding content in your library. For example if you do not have any podcasts in your library, the corresponding Podcasts tab will not appear.
    You can configure the different content types in each tab. For example, movies under the Movies tab.
    To sync, click Apply, in the lower-right corner of the screen.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How do I show and/or update image info in the Grid view?

    Somehow, all the info that was showing in my grid view, in Lightroom 5.6, disappeared. How do I view info for each grid image, on the grid and how do I update or change what info is viewable?

    Ctrl/Cmd-J

  • How can I show a pop up menu based on the selection in a previous pop up menu?

    For example, if "Company" is selected in a pop up menu in C6, then show another pop up menu in C7. if "Bob" is selected in a pop up menu C7, show another pop up menu that contains the talks "Bob" has in C8.
    I am trying to create a talk scheduling spreadsheet with different talk outlines for different speakers. I'm not sure if there are any functions or formulas that can accomplish this. Can anyone help?

    Pop-up menus contain fixed values in Numbers. You might be able to do this using Steppers or sliders. These produce a numerical result, which could be used to direct a second slider or stepper's output to a specific column or table.
    If you can provide a map of the structure of your list(s), there may be someone here able to take on the task of constructing the tools to do the job.
    Regards,
    Barry

  • Why is AppleTV showing a popup menu about AirPlay all the time?

    I am experiencing a problem with AppleTV that I never had before:
    It is a black popup message that keeps poping up on my TV during my Slide Show. 
    It says:
    AirPlay
    Wirelessly send what's on your iOS device or computer to this display using AirPlay.  To learn more, go to apple.com/airplay
    Then it displays an instruction to Choose Wi-Fi Network and Choose This AppleTV
    Does anyone know what it is all about and how I could fix it? I never had this problem before and I really need help because I want to play this slideshow on my TV during a party tonight.
    Any tip will be mostly welcomed!

    This is not a fix, this is an annoyance. I want both features!  And I don't want to have to go into the settings menu to change between the two!  I didn't have to do this before, and I don't want to do it now.  Sometimes I use the mirror features, and sometimes I want to see my slideshow with pictures.  Fix this apple!

  • How do I populate a popup window with data from the parent window

    I am brand new to JSF so please help me. I have a JSF page where users enter some search criteria and it displays the results in a matrix table. I need to have a PRINT button or link on this page that pops up a new window that displays the same data but in a printer-friendly format.
    The parent page is already created and works fine. Now, what is the best way to populate the same data in the popup? The data is stored in a hashmap and retrived by a managed bean with session scope. Below is the XHTML code for displaying the table in the parent page.
    <tbody>
                             <c:forEach items="#{inventoryManagedBean.inventoryColors}" var="row">
                                  <tr id="matrixColor">
                                       <c:forEach items="#{inventoryManagedBean.sizeList}" var="column" varStatus="cellStatus">
                                            <c:if test="#{cellStatus.index == 0}">
                                                 <th width="70px"><h:graphicImage value="../graphics/styles/#{row.color}.jpg"
                                                      alt="#{row.color}" width="70" height="40"></h:graphicImage></th>
                                                 <th width="100px"><h:outputText value="#{row.colorDescription}" />
                                                 <h:outputText value="#{row.color}" /></th>
                                            </c:if>
                                            <td width="70px"><c:if
                                                 test="#{inventoryManagedBean.inventoryMap[row.color][column.size] != null}">
                                                 <c:if test="#{inventoryManagedBean.inventoryMap[row.color][column.size].label != '-1'}">
                                                      <span class="matrixText"><h:outputText
                                                           value="#{inventoryManagedBean.inventoryMap[row.color][column.size].label}"
                                                           title="#{inventoryManagedBean.inventoryMap[row.color][column.size].title}" /> </span>
                                                      <t:htmlTag value="br" rendered="#{userManageBean.user.loggedIn}" />
                                                      <a4j:region renderRegionOnly="false">
                                                           <h:inputText
                                                                value="#{inventoryManagedBean.inventoryMap[row.color][column.size].quantityOrdered}"
                                                                rendered="#{userManageBean.user.loggedIn}" maxlength="6" size="6">
                                                           </h:inputText>
                                                      </a4j:region>
                                                 </c:if>
                                                 <h:outputText value="Call"
                                                      rendered="#{inventoryManagedBean.inventoryMap[row.color][column.size].label == '-1'}" />
                                            </c:if> <h:outputText value="N/A"
                                                 rendered="#{inventoryManagedBean.inventoryMap[row.color][column.size] == null}" /></td>
                                       </c:forEach>
                                  </tr>
                             </c:forEach>

    call javascript window.open("pagename"); & add some printer button there,
    and put rendered attribute to button & in backing bean generate boolean getter setter for variable use same variable in jsp printer button in rendered attribute, in bean constructor pass some parameter throuh jsp page,
    if parameter is match then it rendered attribute to true for button else not,
    it means that in parent window you can not see printer button, but in same window in popup you will see printer button,
    good luck
    <h:commandButton rendered="#{bean.renderedButton}"/>
    bean
    private boolean renderedButton= false;(generate getter setter)
    also pass parameter from UI to bean constructor

  • How do i show hidden files on my usb on the imac (not to delete)

    i am trying to use the usb for the xbox and it keeps asking me to format so i just need to move the files from the usb untill it is all done

    where on my computer am I suppose to make the individual picture files and have them to upload on my ipod touch.... I do have a photo library on my computer, but in the photo tab in itunes for the ipod touch and there is nothing checked for syncing, cause when I do check it it always says its going to replace everything i have in my photo library on my ipod touch.....  So how am i suppose to have it checked and have it NOT replace pictures on it????
    Also I cannot make more photo albums into my ipod touch, it just replaces the one album every time....
    I am very frustrated cause I have tried the manuals and the apple support help etc and nothing pertains to my exact issue.....
    Please if u could elaberate I would appreciate it alot..... 
    thank u

  • How do I prefill an xdp/pdf and then submit the completed form to database

    I would like to send prefilled data into the xdp/pdf file.
    The starting point would be a web page, with a link that directs the user to the xdp/pdf file and prefill that form with some data from the url link.  Then  let the person complete the rest of the form and click on a submit button which would send the form to a url so I can process the data into a datbase.
    I did this in the past with Acrobat 5. 
    Now I have Acrobat Pro 10 with lifecycle designer.
    I am looking for tutorial on this material.
    Thanks in advance for any assistance
    Dean-O

    Thanks for your reply... but i don't believe that does not apply to PDFs and XDP files created in Life Cycle... unless I missed something.  Please advise.
    XDP files are the new form tool for Adobe, but not sure I like the change.  They have gotten rid of the document level javascripts, which is what would be used to populate a PDF, but not an XDP file.
    Any others have any ideas on how I can create a link in a web page that would point to an xdp file (new adobe form) and send in url parameters to prefill fields in the form?
    Thanks in advance
    Dean-O

  • How do I hide a window that has appeared at the bottom of my screen: Validation, etc.?

    A window with the headings: Validation, Browser Compatibility, Link Checker, etc. has somehow appeared at the bottom of my screen. It takes up about 25% of the screen, and I don’t need it. I do suppose, however, that it will be useful to me someday. How do I get it to appear and, most importantly, disappear?
    Thank You, Mr. Monroe

    To close the RESULTS panel group, hit F7 on your keyboard.
    Related links -
    Getting Started With Dreamweaver CS4 -
    http://www.adobe.com/devnet/dreamweaver/articles/dwcs4_getting_started.html
    Captivate Simulation demos the DW CS4 Workspace
    http://www.adobe.com/devnet/dreamweaver/articles/dwcs4_getting_started/popup_00.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How i can show the popup to select the path to download file

    Hi Guru ,
    How can I show a popup before download a file  , where User can select the folder where user want to download the data .

    Hi..
    Check the following code.
    You can either use.. WS_FILENAME_GET or CL_GUI_FRONTEND_SERVICES...
    *  CALL FUNCTION 'WS_FILENAME_GET'
    *    EXPORTING
    *      def_filename     = space
    *      def_path         = p_fp_pre
    *      mask             = c_mask
    *      mode             = c_o
    *      title            = text-165
    *    IMPORTING
    *      filename         = p_fp_pre
    *    EXCEPTIONS
    *      inv_winsys       = 1
    *      no_batch         = 2
    *      selection_cancel = 3
    *      selection_error  = 4
    *      OTHERS           = 5.
    *  IF sy-subrc <> 0.
    *    MESSAGE s195 DISPLAY LIKE c_e WITH text-166.
    *  ENDIF.
    data: l_filename type string,
          l_path type string,
          l_fullpath type string.
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
      EXPORTING
    *    WINDOW_TITLE         = 'Hi'
        DEFAULT_EXTENSION    = c_ext
        DEFAULT_FILE_NAME    = c_filename
    *    FILE_FILTER          =
        INITIAL_DIRECTORY    = c_directory
    *    WITH_ENCODING        =
        PROMPT_ON_OVERWRITE  = c_x
      CHANGING
        filename             = l_filename
        path                 = l_path
        fullpath             = l_fullpath
    *    USER_ACTION          =
    *    FILE_ENCODING        =
    *  EXCEPTIONS
    *    CNTL_ERROR           = 1
    *    ERROR_NO_GUI         = 2
    *    NOT_SUPPORTED_BY_GUI = 3
    *    others               = 4
    Cheers....

  • Class override, how to create the child class and then the base class

    I started to write a program for a smart DMM, the problem is every version of the DMM the company change the communication commend.
    My idea is to write a child class for every DMM version and every SubVI of the child will override the base class SubVI.
    My problem is, i want first to create one child class and after i will see every thing is work,  start to create the base class. that way i will see if am thinking the right way.
    My question is
    How can i create a child class and then create the base class and configure the SubVi of the child class to be Override of the base class?
    I tried to search in the property of the class but i didn't see nothing.
    Thanks
    Solved!
    Go to Solution.

    This can be done and I've done it on occasion.
    You simply create the base class with the dynamic dispatch methods you require (connector panes need to be identical to thos of the child class).
    Then set the inheritance of the class to inherit from this base class.  If your method is defined as a dynamic dispatch method in the parent, you'll most likely now have some errors (unless your child method was already DD in which case you might just be OK already).
    To change the inheritance of a class, right-click the properties of the class in your project and select properties.  I believe the ineritance tree is at the lower end of the properties.  Click on the "change inheritance" (or something similar) to choose the class from which you now wish to inherit.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • How to show a blank or clear cell for the first entry in a numbers pop-up menu on a mac. I can do it on the iPad but not on the mac. Thank you.

    Can you please advise how to show a blank or clear cell as the first option in a pop -up menu on a Mac, I can see how on an IPad but but not on the Mac.
    Thank you.

    Hi grm,
    Yvan Koenig wrote an Applescript to create an popup menu with a true blank menu item. You can find it in Yvan's Box Account public area. Click on for_iWork'09, then for-numbers'09, then look for and download popup_with_nil.zip. Unzip the file, then open it with ScriptEditor.
    Yvan's scripts include instructions (in French and English) on how and where to save the script and how to use it. I haven't read this one recently, so I can't give you any further details on it.
    Regards,
    Barry

  • How to pass value to popup window

    Hi all,
    I think it is simple but i am not having clear idea about this.
    In my case, i have a table in which one column contains a command link. on pressing this link i will get details for any particular row.
    now when i am not using popup and showing the details in the same page, i am getting output.
    but when i am invoking popup, then on clicking that link popup window opens and displays blank screen.
    I tried setting partial triggers on the popup to table and setting content delivery to immediate but still not getting output.= in popup window.
    Please suggest any solution.
    TIA,
    Bob

    Hi Navneeth,
    Below is my code in which i have a column Payload.
    I want to have a link "view Payload" in this column which executes a method and shows the result in a popup.
    when i am invoking popup inside the same link as in below code, it is not working.
    <af:table value="#{bindings.SerachResultVO1.collectionModel}" var="row"
    rows="#{bindings.SerachResultVO1.rangeSize}"
    emptyText="#{bindings.SerachResultVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.SerachResultVO1.rangeSize}"
    rowBandingInterval="0"
    selectionListener="#{bindings.SerachResultVO1.collectionModel.makeCurrent}"
    rowSelection="multiple" id="t1" autoHeightRows="25" width="680"
    contentDelivery="immediate">
    <af:column sortProperty="InterfaceId" sortable="true"
    headerText="#{bindings.SerachResultVO1.hints.InterfaceId.label}"
    id="c6" rendered="false">
    <af:outputText value="#{row.InterfaceId}" id="ot1">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.SerachResultVO1.hints.InterfaceId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="InstanceId" sortable="true"
    headerText="#{bindings.SerachResultVO1.hints.InstanceId.label}"
    id="c10" rendered="false">
    <af:outputText value="#{row.InstanceId}" id="ot6"/>
    </af:column>
    <af:column sortProperty="TransactionId" sortable="true"
    headerText="#{bindings.SerachResultVO1.hints.TransactionId.label}"
    id="c8" align="center" width="105">
    <af:outputText value="#{row.TransactionId}" id="ot10"/>
    </af:column>
    <af:column sortProperty="PayloadSequence" sortable="true"
    headerText="#{bindings.SerachResultVO1.hints.PayloadSequence.label}"
    id="c7" rendered="false">
    <af:outputText value="#{row.PayloadSequence}" id="ot18"/>
    </af:column>
    <af:column sortProperty="PayloadStage" sortable="true"
    headerText="#{bindings.SerachResultVO1.hints.PayloadStage.label}"
    id="c4" align="center" width="105">
    <af:outputText value="#{row.PayloadStage}" id="ot4"/>
    </af:column>
    <af:column sortProperty="CreationDate" sortable="true"
    headerText="#{bindings.SerachResultVO1.hints.CreationDate.label}"
    id="c9" align="center" width="105">
    <af:outputText value="#{row.CreationDate}" id="ot3">
    <af:convertDateTime pattern="#{bindings.SerachResultVO1.hints.CreationDate.format}"/>
    </af:outputText>
    </af:column>
    <af:column id="c12" headerText="*Payload*" align="center" width="105">
    <af:commandLink text="*view Payload*" id="cl1"
    *actionListener="#{bindings.getPayload.execute}"*
    disabled="#{!bindings.getPayload.enabled}">
    <af:setPropertyListener type="action"
    to="#{bindings.trans_id.inputValue}"
    from="#{row.TransactionId}"/>
    <af:setPropertyListener to="#{bindings.inst_id.inputValue}"
    type="action" from="#{row.InstanceId}"/>
    <af:setPropertyListener to="#{bindings.interfaceid.inputValue}"
    from="#{row.InterfaceId}" type="action"/>
    <af:setPropertyListener to="#{bindings.payload_seq.inputValue}"
    type="action"
    from="#{row.PayloadSequence}"/>
    <af:setActionListener from="#{true}"
    to="#{viewScope.resultIterator}"/>
         *<af:showPopupBehavior popupId="p1"/>*
    </af:commandLink>
    <af:popup id="p1" contentDelivery="lazyUncached"
    partialTriggers="::t1">
    <af:dialog id="d1" type="ok" resize="on" >
    <af:panelFormLayout id="pfl3" partialTriggers="::t1 c12">
    <af:panelLabelAndMessage label="#{bindings.intname.hints.label}"
    id="plam4">
    <af:outputText value="#{bindings.intname.inputValue}"
    id="ot13"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.payload_data.hints.label}"
    id="plam3">
    <af:outputText value="#{bindings.payload_data.inputValue}"
    id="ot14"/>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:dialog>
    </af:popup>
    </af:column>
    </af:table>
    but when i am invoking popup after executing method in the command link *popup*, it is giving me result. as shown in the below code:
    <af:column id="c12" headerText="*Payload*" align="center" width="105">
    <af:commandLink text="*view Payload*" id="cl1"
    *actionListener="#{bindings.getPayload.execute}"*
    disabled="#{!bindings.getPayload.enabled}">
    <af:setPropertyListener type="action"
    to="#{bindings.trans_id.inputValue}"
    from="#{row.TransactionId}"/>
    <af:setPropertyListener to="#{bindings.inst_id.inputValue}"
    type="action" from="#{row.InstanceId}"/>
    <af:setPropertyListener to="#{bindings.interfaceid.inputValue}"
    from="#{row.InterfaceId}" type="action"/>
    <af:setPropertyListener to="#{bindings.payload_seq.inputValue}"
    type="action"
    from="#{row.PayloadSequence}"/>
    <af:setActionListener from="#{true}"
    to="#{viewScope.resultIterator}"/>
    </af:commandLink>
    <af:commandLink text="*popup*" id="cl11" rendered="true">
    *<af:showPopupBehavior popupId="p1"/>*
    </af:commandLink>
    <af:popup id="p1" contentDelivery="lazyUncached"
    partialTriggers="::t1">
    <af:dialog id="d1" type="ok" resize="on" >
    <af:panelFormLayout id="pfl3" partialTriggers="::t1 c12">
    <af:panelLabelAndMessage label="#{bindings.intname.hints.label}"
    id="plam4">
    <af:outputText value="#{bindings.intname.inputValue}"
    id="ot13"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.payload_data.hints.label}"
    id="plam3">
    <af:outputText value="#{bindings.payload_data.inputValue}"
    id="ot14"/>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:dialog>
    </af:popup>
    </af:column>
    I need to have both the functionalities in the same link. please suggest how i can achieve this.
    Thanks,
    Vishal

  • How to use Sharepoint Modal Popup loader in Sharepoint-Hosted Apps

    Hi,
    I have a requirement to use a modal popup as loader in SharePoint-Hosted Apps. I have used this like following-
    SP.UI.ModalDialog.showWaitScreenWithNoClose(
    'Please Wait',
    'while we retrieve...',
    '400',
    '600');
    But it does not work if we have "SP.Js" and "SP.runtime.js" included in the page. If we remove the mentioned script, then only modal works, but other functionality related to "Sp.Js" does not work.
    Please let me know if there is any solution for the problem.
    Thanks in Advance.

    Hi,
    Chk out this link also
    http://stackoverflow.com/questions/4015159/using-jquery-to-display-a-modal-please-wait-dialog-box-message
    http://bernado-nguyen-hoan.com/2012/04/23/how-to-close-sharepoint-modal-wait-screen-after-postback-when-page-is-in-dialog-mode/
    http://sharepoint.stackexchange.com/questions/24391/how-do-i-show-a-loading-div-when-opening-a-modal-dialog-from-a-customaction
    http://blog.collabware.com/2012/10/30/tips-tricks-sharepoint-2010-modal-dialogs/
    Thanks
    Jaison A
    http://infomoss.blogspot.in

  • How to avoid JWS launch popups?

    When I start my JWS application I get 2 popups. First a Java logo on orange background and then a Javaws window stating which application its launching.
    If I start my application with "-Xnosplash" then the java logo dosent show but the second popup still does. Is the second popup a 1.6.0_18 bug - I dont remember seeing it before although I havent looked at JWS for some time?
    When I start the JWS application first time and installation kicks in it looks like I get a Javaws popup for every extension installer jnlp file mentioned in the main jnlp. It makes the installation look like a clumsy mess.
    btw. im using 1.6.0_18-b07

    ghaneman wrote:
    I think what you are seeing is bug 6918186. How that one got passed testing is beyond me.
    Yes thats the same bug.
    However I do understand how it was overlooked considering how many other serious bugs JWS has. Been looking into JWS for only a couple of hours today and I found that
    1) If you uninstall a javaws app while the webserver the app came from is down then Javaws fails to invoke the uninstaller main class but still removes the main jars of the app - leaving the app half uninstalled and corrupt.
    2) Uninstalling a JWS app from the Windows Control Panel is broken - the user gets a message that the app "may already be uninstalled" although it isnt.
    3) An app may show up twice in the Java Cache Viewer although its only installed once (and only after logging out of windows and back in). Pressing uninstall on one of the occurances wont do anything while doing the same to the other works.
    4) And as mentioned above Javaws will show the download popup just about every time is has to do anything.

Maybe you are looking for