Help me in creating a pop-up.

Hi,
Iam new to ADF.I have to insert a column in an existing Employee table and in that column i have to provide a link for each row of employee,clicking on the link i should get the complete details of the employee as a pop-up.Can anyone please help me in doing this.
Thanks in advance for your help.

Below is the detailed step by step implementation for your use-case.
1) From the data control palette, drag and drop the EmployeesVO as a table. Ensure that the table selection is single. Select only the required columns that are to be shown as part of the table.
2) Create an additional column having a commandLink that is used for showing the popup with showpopupbehaviour embedded to launch the popup. Ensure that the commandLink has the partialSubmit property set to true.
3) Create a popup and set the contentDelivery property to lazyUncached. Add a dialog to the popup. Inside the dialog, drag & drop the employeesVO as a form having all the fields.
Below is the code snippet for the same.
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
*<af:table value="#{bindings.Employees.collectionModel}" var="row"*
*rows="#{bindings.Employees.rangeSize}"*
*emptyText="#{bindings.Employees.viewable ? 'No data to display.' : 'Access Denied.'}"*
*fetchSize="#{bindings.Employees.rangeSize}"*
*rowBandingInterval="0" id="t1" rowSelection="single"*
*selectionListener="#{bindings.Employees.collectionModel.makeCurrent}"*
*selectedRowKeys="#{bindings.Employees.collectionModel.selectedRow}">*
<af:column sortProperty="FirstName" sortable="false"
headerText="#{bindings.Employees.hints.FirstName.label}"
id="c1">
<af:outputText value="#{row.FirstName}" id="ot2"/>
</af:column>
<af:column sortProperty="LastName" sortable="false"
headerText="#{bindings.Employees.hints.LastName.label}"
id="c2">
<af:outputText value="#{row.LastName}" id="ot1"/>
</af:column>
<!-- ADDITIONAL COLUMN TO OPEN THE POPUP-->
*<af:column sortable="false" headerText="#{'Show Details'}" id="c3">*
*<af:commandLink text="#{'Show Details'}" id="cl2"*
*partialSubmit="true">*
*<af:showPopupBehavior popupId="::p1" triggerType="action"/>*
*</af:commandLink>*
*</af:column>*
</af:table>
<!-- POP UP -->
*<af:popup id="p1" contentDelivery="lazyUncached">*
*<af:dialog id="d2" title="Employee Details">*
<af:panelFormLayout id="pfl1">
<af:panelLabelAndMessage label="#{bindings.EmployeeId.hints.label}"
id="plam8">
<af:outputText value="#{bindings.EmployeeId.inputValue}"
id="ot12">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.EmployeeId.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.FirstName.hints.label}"
id="plam3">
<af:outputText value="#{bindings.FirstName.inputValue}"
id="ot4"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.LastName.hints.label}"
id="plam6">
<af:outputText value="#{bindings.LastName.inputValue}"
id="ot13"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.Email.hints.label}"
id="plam10">
<af:outputText value="#{bindings.Email.inputValue}" id="ot5"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.PhoneNumber.hints.label}"
id="plam11">
<af:outputText value="#{bindings.PhoneNumber.inputValue}"
id="ot10"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.HireDate.hints.label}"
id="plam5">
<af:outputText value="#{bindings.HireDate.inputValue}" id="ot9">
<af:convertDateTime pattern="#{bindings.HireDate.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.JobId.hints.label}"
id="plam9">
<af:outputText value="#{bindings.JobId.inputValue}" id="ot8"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.Salary.hints.label}"
id="plam1">
<af:outputText value="#{bindings.Salary.inputValue}" id="ot6">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.Salary.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.CommissionPct.hints.label}"
id="plam7">
<af:outputText value="#{bindings.CommissionPct.inputValue}"
id="ot11">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.CommissionPct.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.ManagerId.hints.label}"
id="plam2">
<af:outputText value="#{bindings.ManagerId.inputValue}"
id="ot7">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.ManagerId.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.DepartmentId.hints.label}"
id="plam4">
<af:outputText value="#{bindings.DepartmentId.inputValue}"
id="ot3">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.DepartmentId.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
</af:panelFormLayout>
</af:dialog>
</af:popup>
</af:form>
</af:document>
</f:view>
</jsp:root>
Thanks,
Navaneeth

Similar Messages

  • Can anyone help with a creating a 'Pop Up' box?

    Hi there,
    Was wondering if anyone could help me with some javascript in my shopping cart. I have two things that I'm after but the second one might be too hard?
    1. I need a pop up box saying "Please choose a shipping option" when they click on the 'Get Quote button' as it's not a mandatory field for quoting.
    2. I'd love to have a pop up box in the shopping cart that won't let a customer proceed to getting quoted if their purchase is below $250.
    Our quote button is "Charge to Franchise" and the website is www.harcourtsonlineshop.co.nz
    Would love your help! I'm only able to do very basic things in BC.
    Thanks for your time,
    Kirsty

    Alright... first off this only almost works.  I'm posting it because hopefully one of the js gurus around here can figure out what the issue is because I can't.
    For me at least (testing in greasemonkey) it works fine until I make more than a couple changes in the shipping options menu, after which it just stops altogether.
    You'll need jquery running obviously.
    var tooltip = '';     
    var total = $('tr.total').find('td:eq(2) > strong ').text();
    total = parseFloat(total.replace(/[^0-9\.]+/g,""));
    var unlockcharge = 250.00;
    var t='';
    $('body').append(tooltip);
    function setPageState(){
         $('#tooltip').empty();
         t='';
         sel = $('select#ShippingOptions').val();
         var bt = (total < unlockcharge)? true: false;
         var ps = (sel == -1)? true: false;
         if(bt){
              t+='A minimum purchase of $250 is required for a quote.';
         if(ps){
              t+= 'Please select a shipping option.';
         if(bt||ps){
              $('#tooltip').html(t);
              $('#catshopquote').fadeTo(100, 0.5).on({
                   'click': function(e){
                        e.preventDefault();
              $('#catshopquote').on({
                   'mouseenter': function(e){
                        $('#tooltip').css({
                             'top': (e.pageY-15)+'px',
                             'left':e.pageX+15+'px'
                        }).fadeIn();
                   'mouseleave': function(e){
                        $('#tooltip').fadeOut();
    $('select#ShippingOptions').on('change', function(){
         setPageState();
    setPageState();

  • Create a pop-up help message

    Hello,
    I'm looking for  a way to create a pop-up help message.  What I want to have is 'section help' button.  When a user clicks on the button, a small screen pops-up with instruction how to fill out the form. 
    I'm trying to use the below but it looks so ugly.
    xfa.host.messageBox("Please select the application that you need to request an account for" , "Select Application(s)", 5, 5);
    I searched the web and came across the pop-up pdf http://forums.adobe.com/message/2386742#2386742
    I however, don't know how to make the button float on top of the form.  Could you please explain to me how to create a button from a pdf and how to make it float on top of the form?
    Thank you very much for your help.
    Best regards,
    Sahra

    You can put text into the Tool Tip box in the Accessibility palette for that.

  • HP D017TU Laptop - Windows Help ans Support window started popping up and i can't get ride of it

    Just purchased a brand new HP D017TU Laptop so nothing been done with it. I installed windows 7 on my HP D017TU laptop. it was working fine.
    Then 2 days ago the Windows Help ans Support window started popping up and now I can't get ride of it.
    I have tried the following things to get ride of the issue,
    1) Format windows 7 os
    2) Delete All partition and re-create
    3) Re-install windows 7
    Does anyone know how I can stop this happening.

    Hello SaravSB, welcome to teh HP Forums.
    I see that you're having an issue where the Windows help and support is popping up. I will try to help you with this.
    I've looked into this for you, it seems this was an issue from back when Windows 7 launched. Any "solutions" also seemed to vary user to user. You may want to try contacting Microsoft for support on this. I was able to find a couple of posts off the answers.microsoft.com forums.
    "SuperJbye replied on  July 14, 2013
    Hello
    I found a simple yet effective solution for this problem, my friend had the same issue so instinctively as a technician, I suspect this was a malware of somekind so I re-formatted and installed Win7 funny it's still there, so I did a Hard disk wipe using Dalvik's and re-partitioned and formatted again, to my surprise it still have the same problem.
    So I ask Mr. Goo' old Mr. Google for answer, but I've found more complications, sorry for the story, so without further a do, the solution.
    Boot to safe mode. (may also work in "normal mode")
    Go to Task Manager>
    Click the Services Tab>
    Right click "HelpPane.exe" or Help and support service>
    Select Properties>
    Click the Security tab>
    Click the Advanced tab (for permissions options)
    Then select the "permissions entries" one at a time>
    Click Change Permissions>
    Then click Edit>
    CLEAR ALL THE CHECK BOX FOR ALL ENTRIES
    This should prevent access to the HelpPane.exe to all users/programs.
    This resolved my friends Windows 7 "Help and Support thingy" issue, hope it does yours too.
    Message me for questions and/or clarifications/corrections.
    Thank you"
    "EddJosh replied on  April 29, 2014
     In reply to Danel...'s post on April 28, 2014
    To fix the problem of the help pane appearing everytime you start windows do the following:
    1. Run 'msconfig'
    2. Go to the 'Startup' tab
    3. One of your 'Startup items' is causing the pane to appear and you are going to have to find out which one it is!  Untick ALL the items and reboot.  The help pane will not appear harrah!  Rather than adding the Startup Items back in one at a time and rebooting a hundred times, tick half the programs back in and reboot.  You can find the culprit in about 5 reboots if you do it logically and add/remove half/quarter etc at a time.
    4.  Finally you will be left with all your Startup items ticked and the guilty program unticked (and that annoying help pane will no longer be appearing)
    5. Now delete the guilty Startup Item from the registry (which will also remove it from the msconfig startup tab.
    6. Open 'regedit'
    7. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg and delete the guilty program folder.  BACKUP YOUR REGISTRY FIRST!
    8.  You're welcome."
    Both of those, as well as other steps are located in this thread: Windows 7 "Help and Support" keeps popping up.
    You could try those suggestions and even give that thread a read over, other wise the best option would be contacting Microsoft as stated above.
    Thank you for posting on the HP Forums.
    I worked on behalf of HP.

  • HT3376 i need to add a new imap mail account and Mail automatically creates a pop one. what should I do? thank you

    I need to create a new imap mail account in Mail and the program automatically creates a pop one.
    What should I do?
    Thank you for your help.
    Arolla

    Hello, on about the second step, it doesn't give you a choice of POP, IMAP, or Exchange? Or does it change it to POP if you choose IMAP anyway?
    Who is your eMail provider, the part after the @ sign?

  • Creating a pop-up in Acrobat X that is triggered when the PDF is opened.

    Hello all,
    I am wanting to create  a pop-up that is triggered when the PDF is opened.
    The problem I am facing is that our customers are filling out the packet , but are not using the purple "Submit" button located at the top of the page to submit the form to us. They are instead printing out the form and faxing it to us, or scanning and emailing the packet, which defeats the whole purpose of it being a fillable, distributed pdf.
    The email invitation that they receive is a bit wordy so I have have pared that down as well. To be honest with the amount of "Read this first" pop ups that we are exposed to daily I think that our customers are simply not reading the instructions properly.
    There was a post here in the forums but the expanation was for Acrobat 7 or 8.
    Any help is appreciated.

    Thank you for the quick response George. I guess a better way communicate what I need to accomplish is "how"
    I went to the toolbar on the right, then "javascript", then "Document Java Scripts". That opened a window that had me name the script, then add it, then put in the scripting (see below). I do not know how to "place it in a document-level JavaScript (outside of a function definition) or in the initial page's Page Open event."
    This is the script I am attempting to use.
    var message = "When you have completed filling out the Tax Organizer, click on the purple "SUBMIT" button at the top of the page. This will automaticall submit your Tax Organizer for you. Be sure to print a copy for your files"
    app.alert(msg,3);
    If you could provide some step by steps that would be super.
    I am wanting this pop-up box to open and the client will have to then click on the "ok" button to make it dissapear so that they can then fill out the PDF.
    The "Submit" button is auto created for me when I choose to distribute the form, I am unaware of any way to move it.
    I feel that my issue is a elementary one, I am currently working through the Adobe Classroom in a Book lessons as all my acrobat skills have been self taught.

  • How to create a pop up window with text information?

    Hi experts,
    I am a newbie in LC and I have created a form to be sent to the vendors by our buyers.  Everything seems fine except the Accounting Manager would like to include our Financial Details in the form.  I would like to simply create a pop up window with the information which will be activated by pressing a button.  I have tried to create an invisible button and a visible button to achieve this but didn't succeed. 
    p.s. I have no javascript background but slowly learning.  I would appreciate if anyone can assist me to complete the task.
    Thanks a million.

    Hi Mdjco,
    Thanks for replying.  What I need to accomplish is to have another page of information with all the financial details on the pop up window and the vendor has a choice to print it out or not.  After the form is filled out, it is to be sent back to our buyers.  So instead of me inserting a 2nd page with the information, I would like to hide it unless someone presses a button to show it.
    I have found something like making 2 buttons, one is invisible with all the information on it and the other one "visible" to activate the invisble button.  Didn't work at all.
    Also another question is after the vendor insert the digital signature, it automatically asked to save (which I found out why from help) and then it opens up the email and sends the form as XML.  I will need it to send as PDF, possible??
    Much appreciated.

  • Procedure to how to create a pop up in webdynpro

    hi all,
      will anybody guide me the procedure to how to create a pop up in webdynpro application..plz as am new to it and i had requirement of creating pop up window in starting the application.
    thanks in advance.

    hi suman,
    thanks for ur reply.
    i want my pop up when i clk on button ok on my 1st view.
    so i included the code in the method of ONACTION OK.
    but am not able to display any sort of pop up.
    my code is
    DATA lo_nd_node TYPE REF TO if_wd_context_node.
          data: lr_popup type ref to if_wd_window,
            lr_view_controller type ref to if_wd_view_controller.
    data lo_window_manager type ref to if_wd_window_manager.
    data lo_api_component  type ref to if_wd_component.
    data lo_window         type ref to if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window(
                       window_name            = 'WW_POP'
                      title                  = 'my first message'
                      close_in_any_case      = abap_true
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                      close_button           = abap_true
                       button_kind            = if_wd_window=>co_buttons_ok
                       message_type           = if_wd_window=>co_msg_type_none
                       default_button         = if_wd_window=>co_button_ok
    lo_window->open( ).
    will u help me out in this.

  • Creating a pop window in smart forms runtime with text entry

    Dear Experts,
    I Need to Create a pop window ( in run time of smart forms ) in which the user can enter some text and that text needs to be populated in the smart forms ouput.
    i know that I can write code inside smart forms to do it.
    I dont know when where and what to done to achieve this functionality.
    Can any of you help me out in this scenario.
    WIth Thanks and Regards
    Ravishankar Vembu.

    HI
    Where u want to call this POPUP.
    u can call the popup in INITIALIZATION tab and in PROGRAM LINES also.
    eg.. create program lines--> call the FM
    data: V_SVAL type sy-ucomm.
    CALL FUNCTION 'ACE_POPUP_WITH_4_OPTIONS'
    IMPORTING
       ANSWER        = V_SVAL.
    when u call the smatform the popup will be displayed automatically
    Please Close this thread.. when u r problem is solved. Reward if Helpful
    Regards
    Naresh Reddy K

  • I am trying to create a pop up page, using iweb 08

    I want to create a custom size pop up page using iweb08, using a html generator, I created the html code, I plugged it in using the html snippet widget. But its not working. Do you know what I am doing wrong?
    I love the look of http://jquery.com/demo/thickbox/ but I really don't understand the instructions, and if I did would it work with iweb?
    I have to say, I am pregnant, and my brain isn't working as well as it usually does. So please think of me as a not very intelligent person when you are explaining how to create the pop up.
    Bless u for your help.
    www.sarahyoga.com

    You may want to consider Lytebox: http://www.dolem.com/lytebox it's much lighter than jquery & thickbox.
    You can see example here: http://web.mac.com/mhartinger/mark-andrewhartinger.com/Home.html
    Mark has all the code in his page's html snippets.
    I have integrated Lytebox into iWeb, but it involves with quite a bit of coding; I'm planning on writing an app to automatically generate all needed the code.

  • How to create a pop iView?

    hi, I am hanif i am new to portal,can anybody please tell me how to create a pop iView once the user logIn to the portal , iview shud popup like an normal window popup automatically and shud be closed by the request button pressed by the user.
    is there any property of iView or can be done by programming only.Plz provide me assistance in the case.
    Thanx in advance
    Regards:
    hanif

    Hanif,
    This is some thing you can develop using the JSPDynpage.
    This blog expalins how to create a pop up window for logon :
    Custom login screen for External Facing Portal
    Here attached some help, might be helpful.
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1228101,00.html
    Thanks
    Krishna

  • I need to create a POP-UP to play a video.

    I need to create a POP-UP that I can then use to select from
    various videos that I would want to play in that POP-UP. I have
    just gotten Dreamweaver CS3 and am trying to get some help from
    some of you Pros. I have been looking through the help files but I
    have yet to find how to do this. Can anyone point me in the right
    direction? Thanks.

    Use Tooltips or CSS Disjointed Rollovers.
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-1.shtml
    http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Need to create a POP-UP that will play a video

    I need to create a POP-UP that I can then use to select from
    various videos that I would want to play in that POP-UP. I have
    just gotten Dreamweaver CS3 and am trying to get some help from
    some of you Pros. I have been looking through the help files but I
    have yet to find how to do this. Can anyone point me in the right
    direction? Thanks.

    tgrice1952 wrote:
    >
    I need to create a POP-UP that I can then use to
    select from various
    > videos that I would want to play in that POP-UP. I have
    just gotten Dreamweaver
    > CS3 and am trying to get some help from some of you
    Pros. I have been looking
    > through the help files but I have yet to find how to do
    this. Can anyone point
    > me in the right direction? Thanks.
    >
    I haven't used this - but there is a flash option here -
    check out the
    demos.....
    http://www.stickmanlabs.com/lightwindow/
    HTH
    chin chin
    Sinclair

  • Creating a "Pop Up" Window/Box in Sharepoint 2010

    Hi, 
    I have a CEWP with several image buttons in it. When a user clicks on the images, a "pop up" window should appear which will have several different links for the user to choose from. So when the user selects the the link he/she wants to go to,
    the user will then be directed towards that page/list/form. 
    How can i create a "pop up" window/box for the 1st requirement? 
    Any assistance would be appreciated.
    Thanks, Aarti

    Hi ,
    Pls check if it can helps you
    http://social.technet.microsoft.com/Forums/office/en-US/a2fec044-669f-45a2-b979-7ec324831a8b/how-to-create-a-popup-message-box-in-sharepoint-2013-?forum=sharepointdevelopment
    http://social.technet.microsoft.com/Forums/office/en-US/9b5a0fa5-0c09-4753-b276-8e8e42c21542/create-pop-up-window-from-a-listview-in-sharepoint-2013?forum=sharepointdevelopment
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Creating a pop up text window from a button within an Applet

    I want to create an applet with two clickable buttons in it (this I know how to do). When a visitor to the site clicks on one of the buttons, I want a separate window to pop up and display a few lines of text. A different text message will be displayed depending upon which button was clicked.
    I can't figure out how to create a pop up window when the button is clicked. In fact I'm not even sure that this is possible as the user must have the facility to close the window after they have read the text, and from my limited knowledge of Java and applets this would involve system exit() ??? and this is not allowed.
    I am new to Java and would appreciate any help that anyone can offer.
    Thanks
    Jim

    Write the popup frame as if you were writing an application, but don't set the close operation. From the applet just setVisible(true) and again, don't worry about the close issue.
    Visit my website, any of the samples except button, to see windows popping from applets.

Maybe you are looking for

  • BAPI_REQUISITION_CREATE with automatic ticking of Goods Receipt Indicator

    Hi, We're experiencing a problem with BAPI_REQUISITION_CREATE. We use this BAPI in our Purchase Requisition (PR) upload program. After successful run of the program it generates a PR number. When we try to look at the PR using ME53N, the default valu

  • Issue in MessageChoiceLOV while doing a search

    Hi, I have a MessageChoiceLOV and in the processrequest method of that particular LOV, i have the below code: OAApplicationModule oaaplA = pageContext.getApplicationModule(webBean); OAViewObject OAViewA = (OAViewObject)oaaplA.findViewObject("xxOrgani

  • Inspection Charateristic

    My client needs Dependent Characteristics maintained during Inspection Plan (QP01) should be specific to either sales order & line item specific  or it should be specific to ship to party Currently we are able to define dependent characteristics cust

  • Share online 3.0 for Nokia 6110 Navigator

    Is there a possibility to get Share online 3.0 (or older verisons for nokia 6110 Navigator) Thanks in advance, Mokic

  • N8: Inserting video into MMS (wrong size is calcul...

    Hello, as far as I know, most providers are supporting a maximum size of 300kb when sending a mms. If i try to insert a video into a new mms, the N8 will record about 1 Minute of video (mms-qualilty), which has a size of about 420kb! That is to big t