Call popup by hand

Hi!
Is there a way of calling af:popup (and the af:dialog) by hand, in a actionListener or something like that?
Thanks!
Fernando.

Fernando,
You are still trying to show the beautiful popup in the client browser right?
And if that is true, you are just better off including the popup in your jsf page and invoke it by calling showPopup on the submit button (if the login is invalid etc).
The other option is to use a dialog. To do that, just create a jsf page/fragment. Declare it as "dailog:<blah>" in adfc-config.xml. ['blah' is your dialog name]. And set the command button action to "dialog:<blah>" and set useWindow="true".
When the command button is pressed, it will launch the modal dialog window. And you can put as much decoration in the jsf page for that dialog as you want.
HTH,
--AJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Jabber for Windows Call popup photo

    We have a Jabber for windows deployment currently running in our lab environment. In the buddy list we have the contacts with their photo. When we start a call or receive a call a call popup screen appears. In this screen the photo of the called person i not displayed..
    Is this possible? If i look at the pictures cisco provides there is always a photo of the caller.

    Hi,
    This is very common scenario in case the number to contact resolution does not work. You need to create directory lookup rules to modify the incoming number so that it matches the number configured for the contact in question.
    Here's an example
    You have a contract named John Doe with a DN configured in AD as 101. The contact has an avatar.
    You get an incoming call from John Doe but the incoming number is 9101.
    This will result in the avatar not being displayed for a contact because number 9101 does not match the contact's configured DN.
    So in summary you need to use Directory Lookup Rules and/or Application Dial Rules
    HTH,
    Christos

  • Datepicker PopUp opens in the calling PopUp window

    Hey Guys, I need some help on this...
    I have a button that opens a PopUp window, and in this PopUp I have a "Date Picker" item,
    And when I want to select a date, the calendar shows up in the same PopUp window, and I m loosing the calling PopUp(the first one).
    How can I do so, that to have my PopUp window, and the calendart to show up in another PopUp?
    Thanks in Advance

    Hi,
    that's because of the Window Name you specified. Specify another one or use the popUp2 method which will create a unique name.
    Hope that helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • FRM-92100 at toolbar canvases on calling popup-menus

    Hi all,
    I am migrating our 6i forms to 10g and now there is following problem.
    When I call the popup-menu, attached to a toolbar canvas, I´ll get the frm-92100 failure-message. On other canvas-types and items, there are no problems of calling popup-menus.
    What could cause this problem?
    thank you.

    Thanks for your reply,
    I´ve created a new popup menu and attached it, but it doesn´t work too.
    The error message says:
    Java Exception:
    oracle.ewt.popup.NoPopupOwnerException
    at oracle.ewt.IwAWT.IwMenu.LWPopupMenu._displayPopup(Unknown Source)
    at oracle.ewt.IwAWT.IwMenu.LWPopupMenu.popup(Unknown Source)
    at oracle.ewt.IwAWT.IwMenu.LWPopupMenu.popup(Unknown Source)
    at oracle.forms.handler.FormMenu.show(Unknown Source)
    at oracle.forms.handler.MenuInfo.showPopup(Unknown Source)
    at oracle.forms.handler.MenuInfo.onUpdate(Unknown Source)
    at oracle.forms.handler.MenuInfo.onUpdate(Unknown Source)
    at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
    at oracle.forms.engine.Runform.processMessage(Unknown Source)
    at oracle.forms.engine.Runform.processSet(Unknown Source)
    at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    at oracle.forms.engine.Runform.onMessage(Unknown Source)
    at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
    at oracle.ewt.IwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.IwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Thomas

  • SAP CRM : Call popup in CUSTOM ACTION (i have a dump : ASSERTION_FAILED )

    Hi to everyone,
    i have a problem to create a popup inside a new custom action in SAP CRM. I have a dump ASSERTION_FAILED.
    Could somebody help me to fix the problem,please?
    Thanks in advance.
    Dario.

    Hi,
    in this case i have to write my code inside a custom action. The problem is that i have no a standard controller and ME instance.
    So i tried to import controller from memory by IMPORT/EXPORT stataments, but when i create popup the system gets a dump :
    ASSERTION_FAILED
    Code is as follows :
        DATA zlc_controller TYPE REF TO cl_bsp_wd_component_controller.
        CALL FUNCTION 'ZCRM_CONTROLLER_GET'
          IMPORTING
            ex_controller = zlc_controller.
        DATA zcl_me TYPE REF TO zl_srqm_inc_incidentovp_impl2.
        CALL FUNCTION 'ZCRM_ME_EHONSAVE_GET'
          IMPORTING
            ex_me = zcl_me.
              lc_controller TYPE REF TO cl_bsp_wd_component_controller,
              lc_view TYPE REF TO cl_bsp_wd_controller.
       IF lr_confirm_popup IS NOT BOUND.
    Message
         MOVE text-t01 TO l_text.
    Title
         MOVE text-tit TO l_title.
        CALL METHOD zlc_controller->window_manager->create_popup_2_confirm
          EXPORTING
            iv_title          = 'TITLE'
            iv_text           = 'TEXT'
            iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno "OK Button
          RECEIVING
            rv_result         = lr_confirm_popup.
        lr_confirm_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
        lr_confirm_popup->set_on_close_event( iv_event_name = 'eh_closepopup_at_save'
                                              iv_view = zcl_me ).
        lr_confirm_popup->open( ).
    Thanks.
    Dario.

  • Call popup with ITS

    Hello,
    I am trying to modify a specific popup generation in order to send back to SAP that this popup is definetely closed.
    I have currently an error when opening this popup more than 10 times.
    This situation occurs when we assign cost centers in items more than 10 times.
    the function for cost centers calls a f4 help in javascript.
    In the javascript code the popups are closed but for its an error is raised that is :
    "No Service Name Specified...  ...or Session Already Terminated... ".
    Code :
    <script language="javascript">
    var chginput = "";
    var FrameOpenerVar;
    var curWgateURL = "`wgateURL()`";
    `if ( ~flowtemplate != "" )`
    var curTerminateUrl = curWgateURL +"?event=logoff&exiturl=";
    `else`
    var curTerminateUrl = curWgateURL +"?okcode=/NEX&exiturl=";
    `end`
    function envoiRequete(URL)
    var requestImg = new Image();
    requestImg.src = URL;
    function requeteLogoff() {
    envoiRequete(curTerminateUrl);
    function subForm(EventName,FormName) {
         if(FormName == '')
              FormName = "formITS";
         targetObject = eval('document.'+ FormName);
         if(EventName != '')
              targetObject.elements[0].value = EventName;
         targetObject.submit();
    function <b>changeImput</b>(val, i_field) {
    setFrameOpenerVar();
        var targetFieldName = i_field;
    FrameOpenerVar.BBPForm.elements[targetFieldName].value = val;
    chginput = "X";
    requeteLogoff();
    setTimeout("top.window.close()",3000);
    FrameOpenerVar.BBPForm.elements[targetFieldName].focus();
    function setFrameOpenerVar()
    var service = "`HOOK_SERVICE`";
    /*if(service == "bbpiv02" || service == "bbpiv03" || service == "bbpcf02" || service == "bbpcf03")
    FrameOpenerVar = top.window.opener.top.frames[0].frames[1].frames[1];
    else if(service ==  "bbppu99")
    FrameOpenerVar = top.window.opener.top.frames[0].frames[1].frames[2];
    else if(service ==  "bbppo01")
    FrameOpenerVar = top.window.opener.top.frames[0].frames[1];
    alert(top.window.opener.top.frames[1].name);
    alert(top.window.opener.top.frames[1].frames[0].name);
    alert(top.window.opener.top.frames[1].frames[1].name);
    FrameOpenerVar = top.window.opener.top.frames[1].frames[1];
    </script>
    The function that is causing the error is "changeImput".
    I really am not aware with javascript coding so this is a bit tricky for me.
    Thanks for your answers.

    Hi,
    I am facing similar problem with ZCATW. After making changes in time sheet, while pressing 'Previous/Next' button, does not show the popup message.
    Please sugegst what parameters need to change in ITS service file
    Regards
    Sujith

  • I want to call popup in the loop

    Hi,
    for example: I selected the N no.of rows in a table and click the button based on that  N no. of pop up i want to display.\
    For this I got the selected elements in the table.here i have condition
    loop at wa to itab.
    if field ne empty.
    LO_WINDOW->OPEN( ).
    endif.
    else
    something.
    endloop.
    But only one poup is coming.can you please help me how to display the multiple popup.
    Thanks
    Ramkumar

    METHOD ONACTIONVALIDATION .
      * getting the node zres_disp_new..
        DATA LO_ND_ZRES_DIS_NEW TYPE REF TO IF_WD_CONTEXT_NODE.
        DATA LO_EL_ZRES_DIS_NEW TYPE REF TO IF_WD_CONTEXT_ELEMENT.
        DATA LS_ZRES_DIS_NEW TYPE WD_THIS->ELEMENT_ZRES_DIS_NEW.
        DATA LT_ZRES_DIS_NEW TYPE WD_THIS->ELEMENTS_ZRES_DIS_NEW.
      navigate from <CONTEXT> to <ZRES_DIS_NEW> via lead selection
        LO_ND_ZRES_DIS_NEW = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_ZRES_DIS_NEW ).
      get element via lead selection
        LO_EL_ZRES_DIS_NEW = LO_ND_ZRES_DIS_NEW->GET_ELEMENT(  ).
    LO_ND_ZRES_DIS_NEW->GET_STATIC_ATTRIBUTES_TABLE(
    EXPORTING
       FROM   = 1
       TO     = 2147483647
      IMPORTING
        TABLE  = LT_ZRES_DIS_NEW
    getting the error table node******
      DATA LO_ND_RR_EVALUTE_FINAL TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_RR_EVALUTE_FINAL TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_RR_EVALUTE_FINAL TYPE WD_THIS->ELEMENT_RR_EVALUTE_FINAL.
      DATA LT_RR_EVALUTE_FINAL TYPE WD_THIS->ELEMENTS_RR_EVALUTE_FINAL.
    navigate from <CONTEXT> to <RR_EVALUTE_FINAL> via lead selection
      LO_ND_RR_EVALUTE_FINAL = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_RR_EVALUTE_FINAL ).
    DATA wa_selected TYPE WD_THIS->ELEMENT_ZRES_DIS_NEW.
    DATA itab_selected TYPE WD_THIS->ELEMENTS_ZRES_DIS_NEW.
    DATA lt_temp type  wdr_context_element_set.
    DATA index type I.
    DATA empty type string.
          empty = ' '.
    * getting the user selected elements
    CALL METHOD LO_ND_ZRES_DIS_NEW->get_selected_elements
          RECEIVING  set = lt_temp.
    LOOP AT lt_temp INTO LO_EL_ZRES_DIS_NEW.
      CALL METHOD  LO_EL_ZRES_DIS_NEW->get_static_attributes
              IMPORTING   static_attributes =  wa_selected.
      if wa_selected-sumplus ne empty .
        wd_this->callpopupacceptreject( ). <b> based on the condition each  wa_selected elemnts calling the popup but here problem is not displaying the multiple times </b>
      else.
       <b> how to pass the  itab_selected to below FM.
          CALL FUNCTION 'ZBAPI_RR_EVALUATE'
             TABLES
               RES_DIS                    =     itab_selected <b>?</b>
               RES_DIS_ERROR       =   LT_RR_EVALUTE_FINAL.
          if sy-subrc = 0.
           wd_this->callerrorpopup( ) .
          endif.
      endif.
      APPEND wa_selected to itab_selected.
    ENDLOOP.
    LO_ND_RR_EVALUTE_FINAL->bind_table( LT_RR_EVALUTE_FINAL ).
    method CALLPOPUPACCEPTREJECT .
       DATA LO_ND_ZRES_DIS_NEW TYPE REF TO IF_WD_CONTEXT_NODE.
       DATA LO_EL_ZRES_DIS_NEW TYPE REF TO IF_WD_CONTEXT_ELEMENT.
       DATA LS_ZRES_DIS_NEW TYPE WD_THIS->ELEMENT_ZRES_DIS_NEW.
      navigate from <CONTEXT> to <ZRES_DIS_NEW> via lead selection
       LO_ND_ZRES_DIS_NEW = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_ZRES_DIS_NEW ).
      get element via lead selection
       LO_EL_ZRES_DIS_NEW = LO_ND_ZRES_DIS_NEW->GET_ELEMENT(  ).
      get all declared attributes
       LO_EL_ZRES_DIS_NEW->GET_STATIC_ATTRIBUTES(
         IMPORTING
           STATIC_ATTRIBUTES = LS_ZRES_DIS_NEW ).
    *data lt_temp type wdr_context_element_set.
    * getting the user selected elements
    *CALL METHOD LO_ND_ZRES_DIS_NEW->get_selected_elements
         RECEIVING  set = lt_temp.
    *LOOP AT lt_temp INTO LO_EL_ZRES_DIS_NEW.
    *    *creating the window.
    DATA LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
    DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
    DATA  popup        TYPE REF TO IF_WD_WINDOW.
    LO_API_COMPONENT  = WD_COMP_CONTROLLER->WD_GET_API( ).
    LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
    IF WD_THIS->POPUP IS INITIAL.
    WD_THIS->POPUP        = LO_WINDOW_MANAGER->CREATE_WINDOW(
                       WINDOW_NAME            = 'ACCEPTREJECTWINDOW'
                      title                  = 'Manual Evalution'
                      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_yesno
                       MESSAGE_TYPE           = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
                       DEFAULT_BUTTON         = IF_WD_WINDOW=>CO_BUTTON_yes
    seting the 'yes' action for the window popup
    getting the view name
    data view_name TYPE REF TO if_wd_view_controller.
    view_name  = wd_this->wd_get_api( ).
    WD_THIS->POPUP->SUBSCRIBE_TO_BUTTON_EVENT(
        BUTTON            = IF_WD_WINDOW=>CO_BUTTON_yes
       BUTTON_TEXT       = BUTTON_TEXT
       TOOLTIP           = TOOLTIP
        ACTION_NAME       = 'RADIO'
        ACTION_VIEW       = view_name
        IS_DEFAULT_BUTTON = ABAP_TRUE
    ENDIF.
    WD_THIS->POPUP->open( ).
    *endloop.
    endmethod.
    method CALLERRORPOPUP .
    * CALL WINDOW for error message.................
      DATA LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
      DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
      DATA errpopup        TYPE REF TO IF_WD_WINDOW.
      LO_API_COMPONENT  = WD_COMP_CONTROLLER->WD_GET_API( ).
      LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
       wd_this->errpopup         = LO_WINDOW_MANAGER->CREATE_WINDOW(
                         WINDOW_NAME            = 'MESSAGE_EVALUATE_WIN'
                        title                  = 'Error message List'
                       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
      wd_this->errpopup->OPEN( ).
    endmethod.
    Running the application based on that it is showing the error<b>Instance of the view MESSAGE_EVALUATE_WIN already exists in component </b>
    can you please help me in the same.
    Thanks
    Ramkumar

  • Branch process using javascript to call popup

    I am on Windows Vista, Oracle XE and Apex 3.1.0.00.32.
    The branch works when using region based button.
    I wanted to use a "button displayed among this region's items" for a "button" list in the sidebar. I created a button and used a branch based on :REQUEST = 'button_name'. The branch fires but I get an error "Internet Explorer cannot display the webpage."
    HTML header code
    <script language="JavaScript" type="text/javascript">
    function popup(pURL, pwidth, pheight) {
    html_PopUp(pURL,"winLov",pwidth,pheight);
    </script>
    Branch Code
    javascript:popup('f?p=&APP_ID.:10012:&APP_SESSION.:&REQUEST.::10012:P10012_ISS_ID:&P10011_ISS_ID.',500,350);
    Since the code works in the URL redirect on a Button in a region position but not in a Branches redirect to a URL I assume this functionality does not work? Can anyone shed light on this? If it doesn't work I will need to find another solution....
    Thanks,
    Sam
    I did search and found a thread that intimates it should work.
    link:calling javascript on a branch is this possible
    Edited by: slavanaway on Mar 23, 2009 4:14 PM

    Luis,
    I see that I did not put more detail into the issue than the title.
    I am trying to call a popup from a button among region items. The user makes a selection then some custom DDL fires and the popup closes and the calling page is refreshed.
    A button among region items does not have a redirect to URL like a button in a region position. So I made the branch that was conditional on the button. I think I knew that a "branch" is server side. I don't understand why the jvascript URL does not work.
    A button in a region position and a list that redirects to a URL both work. I wanted the list to look like button in a vertical row.
    I now have the functionality working with a list.
    So I am coming to the mountain to get enlightenment. The Branches on a page can not use javascript is my guess and being eternally curious I was wondering why. I hope knowing will help me save time and produce better apps in the future.
    As for the actual behavior. When the Branch for the button amonth the region items fires. I would get the error message and the URL would only show apex flows. I don't have the exact URL as I dis-assembled the list and branches.
    I think the branch goes to the server but either the javascript is not passed or it does not handle the javascript.
    Tx,
    Sam

  • Want Button Item to call popup window

    I'm trying to put in a popup calculator next to a region item. I want to use an item button NOT a region button so I can put the button right next to the item. But in item buttons, I don't see an option on how to call a popup using a JavaScript call like:
    javascript:callBMIPopup('P1432_ID');Can someone give me an idea? Even a small icon would work (if I could figure out how to get it in there as an item in a form region).

    Not sure if I'm going in the right direction or not. I've noticed some awfully screwy things with the template I'm using : Blue and Tan. I made a copy of the existing button template and called it New_Button. Here's the template:
    <table class="t2Button" cellspacing="0" cellpadding="0" border="0"  summary="">
    <tr>
    <td class="t2L"><a href="#LINK#"><img src="#IMAGE_PREFIX#themes/theme_2/button_left.gif" alt="" /></a></td>
    <td class="t2C" #BUTTON_ATTRIBUTES#><a href="#LINK#">#LABEL#</a></td>
    <td class="t2R"><a href="#LINK#"><img src="#IMAGE_PREFIX#themes/theme_2/button_right.gif" alt="" /></a></td>
    </tr>
    </table>I added the piece #BUTTON_ATTRIBUTES#. Thanks for your assistance. This is aggravating.

  • Call popup, make selection, re-execute query problem

    Hi all,
    I searched and searched, but can't quite figure out how to do this. The javascript/AJAX examples just get me completely lost.
    I have a search page. On the search page I want to allow the users to save and subsequently retrieve a search. I have the part to save search working fine. But, I am having a devil of a time getting the retrieve search functionality to work.
    The popup works fine, and displays the saved searched for that user, and I can get the sequence number of the search returned back to the calling page. But, now that the calling page has the sequence number, I need to submit the page (or whatever is needed for a PPR region), so that it checks to see if the sequence number field is null or not. If it's not null, then query the saved search table to extract the query condition, plug that in to the where clause, and re-execute the query to repopulate the region.
    I have a quasi-working example of what I'm trying to do at on the apex.oracle.com site at http://apex.oracle.com/pls/otn/f?p=11772:3 (if needed, the application is called "test problem", page 3). Due to how my search functionality is setup, using Oracle text, I can't get a 'real' search to perform, so I'm 'faking it' with just a "select *..." on the site.
    Workspace: wbfergus
    username: htmldb
    password: htmldb
    Any help or guidance is greatly appreciated. Thanks,
    Bill Ferguson

    Well, I've finally got it to return the SEQ from the popup onto the calling page and then have the calling page submit.
    However, I now have some other kind of problem that's really vexing me. I've turned on debug so I can see how the page is getting rendered, at up near the top it explicity states:
    0.01: ...Session State: Saved Item "P3_SEQ" New Value="121"
    However, I have a region that is based on a PL/SQL function returning a query:
    declare
    v_stmnt varchar2(4000) := null;
    v_where varchar2(4000) := null;
    v_area  varchar2(4000) := null;
    begin
    if :P3_SEQ IS NULL THEN
    --if apex_application.get_current_flow_sgid(:P3_SEQ) IS NULL THEN
       v_where := :P3_WHERE_CLAUSE;
       v_area  := :P3_AREA_SEARCH;
       htp.p('P3_SEQ is NULL');
       htp.p('');
    else
       SELECT where_clause, search_area
       INTO   v_where, v_area
       FROM   playlist
       WHERE  seq = v(':P3_SEQ');
       htp.p('P3_SEQ = '||:P3_SEQ);
       htp.p('');
    end if;
    --v_where := 'XYZ';
    v_stmnt := 'SELECT   dep_id, dev_st, oper_tp, sig, NAME, ';
    v_stmnt := v_stmnt||'commod, commod_group, ';
    v_stmnt := v_stmnt||'MIN (usgs_num) KEEP (DENSE_RANK FIRST ORDER  BY mt_rec ASC) usgs_num, ';
    v_stmnt := v_stmnt||'MIN (model_name) KEEP (DENSE_RANK FIRST ORDER  BY mt_rec ASC) model_name, ';
    v_stmnt := v_stmnt||'MIN (country) KEEP (DENSE_RANK FIRST ORDER  BY l_line ASC) country, ';
    v_stmnt := v_stmnt||'MIN (state_prov) KEEP (DENSE_RANK FIRST ORDER  BY l_line ASC) state_prov, ';
    v_stmnt := v_stmnt||'MIN (county) KEEP (DENSE_RANK FIRST ORDER  BY l_line ASC) county, ';
    v_stmnt := v_stmnt||'MIN (lat_dec) KEEP (DENSE_RANK FIRST ORDER  BY g_line ASC) lat_dec, ';
    v_stmnt := v_stmnt||'MIN (lon_dec) KEEP (DENSE_RANK FIRST ORDER  BY g_line ASC) lon_dec, ';
    v_stmnt := v_stmnt||'mas_id, mrds_id ';
    v_stmnt := v_stmnt||'FROM     NEW_MASTER_QUERY1 ';
    v_stmnt := v_stmnt||'WHERE    dep_id IN ';
    v_stmnt := v_stmnt||'    (SELECT dep_id ';
    v_stmnt := v_stmnt||'     FROM search_table where '||v_where||' ';
    v_stmnt := v_stmnt||v_area||') ';
    v_stmnt := v_stmnt||'GROUP BY dep_id, dev_st, oper_tp, sig, NAME, ';
    v_stmnt := v_stmnt||'commod, commod_group, mas_id, mrds_id';
    htp.p(v_stmnt);
    return v_stmnt;
    END;It always acts as if :P3_SEQ is null, and is confirmed by the htp.p output. But the page explicity knows that :P3_SEQ is not null.?.?
    This is just on my local copy of the app, I'll see if I can put together something on apex.oracle.com that does the same thing. My default query on my app uses Oracle Text, so simulating it requires a bit of extra work.
    Thanks,
    Bill Ferguson

  • How to call popup from backing bean

    Hi,
    I have an application under jdev 11.1.1.1.0
    I am using the explorer template.
    I have my popups in one page and from another page i need to call these popups.
    I cannot use the <af:showPopupBehavior> because i am using the <af:setActionListener> in my command button.
    So in the action attribute I called my backing bean
    public String showDelBoxPopup() {
       FacesContext context = FacesContext.getCurrentInstance();
       ExtendedRenderKitService extRenderKitSrvc =
         Service.getRenderKitService(context,ExtendedRenderKitService.class);
       extRenderKitSrvc.addScript(context,"AdfPage.PAGE.findComponent('delBoxPopup').show()");
       return null;
    }But i always receive a null error.
    How can i call a popup in one page from another page using backing bean.
    Thank you in advance.
    Emile BITAR

    Hi,
    You can use <af:setActionListener> with <af:showPopupBehavior>, if you set triggerType="click" on the showPopupBehavior and contentDelivery="lazyUncached" on the popup to ensure the popup will be raised after setActionListener.
    I also don't understand what you mean by calling the popup from another page (is that page included as a region?), but if you say it works then your other option could be to bind the popup to the backing bean and use popup.getClientId() in your javascript.
    String script = "var popup = AdfPage.PAGE.findComponent(\"" + popup.getClientId(fc) +  "\"); popup.show();";Pedja

  • Can I call popup on Field-Exit ?

    Hi,
        I create field-exit vorgang at MIRO and when the conditional begins, display a popup ( i used popup_to_confirm) but instead, An error occurred RPERF_ILLEGAL_STATEMENT.
    So, if i really got it on field-exit a can't call screen, dialog, submit and use message W or I.
    Someone can help with this, please i really need.
    regards
    Marcos Rodrigo

    I won't go into the reasons for not using field exits any more as this is well documented.  However, if this is your only choice then you can get popups to work by encapsulating your requirement into a function module.
    To get it to work you have to flag your function module as RFC enabled and use the syntax:
    CALL FUNCTION func STARTING NEW TASK task
       DESTINATION dest
       PERFORMING subr ON END OF TASK.
    Now if you combine this with a wait command
    WAIT UNTIL log_exp
    then get your subroutine defined in subr to set a flag to which the WAIT command is looking for.
    This works by your field exit waiting until the RFC has finished.  However, as it is STARTING NEW TASK then this has the ability to do anything i.e. SUBMIT, CALL SCREEN, issue message etc as it is a separate dialog process.
    Edited by: Pete Devereux on Jan 28, 2009 3:25 PM

  • Dump error while calling popup

    Hi,
    I created popup in  account detail view. I called the popup method 'call method ref2->eh_onconfirm_popup1( ) '.
    in  set method of 'firsrtname' attribute.
    its pointing to null reference.I created object and tried now its showing n ull reference and going to dump at
    call method comp_controller->window_manager->create_popup_2_confirm in METHOD eh_onconfirm_popup..
    please suggest me.
    Thanks,
    Brahmaji

    Hi,
            To give a confirmation pop-up you should place the code within the event which gets trigger at user-action i.e. for eg. if you want to give a pop-up at save action so within EH_ONSAVE event you should give the following piece of code
    PTC type ref to IF_BSP_WD_POPUP declared at the IMPL class
    daa: lt_custom_buttons TYPE crmt_thtmlb_button_t.
    CALL METHOD comp_controller->window_manager->create_popup_2_confirm
              EXPORTING
                iv_title          = lv_title
                iv_text           = lv_string                   "text-001
                iv_btncombination = '99'
                iv_custombuttons  = lt_custom_buttons " Buttons like Yes No
              RECEIVING
                rv_result         = ptc.
            REFRESH lt_custom_buttons.
            ptc->set_on_close_event( iv_event_name = 'popup' iv_view = me ). "#EC NOTEXT
            ptc->open( ).
    Create an event with name 'popup' and within tat event capture the user action
    DATA : lr_ptc_outputnode TYPE REF TO cl_gs_ptc_bspwdcomponent_cn01.
    lr_ptc_outputnode ?= ptc->get_context_node( 'OUTPUTNODE' ).
      lv_op = lr_ptc_outputnode->get_event_name( ).
    case lv_op.
    when 'YES'.
    when 'No'.
    Endcase.
    Now you can write logic based on user actions within this case-endcase block.
    Regards,
    Bharathy.

  • Supress Place call popup in CIC0

    Hi all,
    In Tcode CIC0,After selecting the Business partner ,after that click on place call,it will show a pop up with telephone no.s
    I want to supress the Pop up when Business partner has more than one phone number.
    Is there any BADI or Exits available to achieve this functionality.
    Thanks

    Hi Ashish,
    that´s strange - because in our system it worked that way.
    Since some months we do not use the transaction launcher for SAP GUI transactions at all.
    We installed a consulting solution from innovate which allows to launch the real SAP GUI in the CRM webclient UI and to pass easily all parameters which are needed.
    This has the advantages:
    - much better performance as a launch transaction
    - real SAP GUI is known by our users - the transaction launcher looks different (e.g. buttons)
    - for some transactions there was missing functionality in the launch transaction which is there in SAP GUI
    - No trouble with ZTransactions in SAP GUI
    It was only one day efford to install this Add-on from innovate and to get the knowledge how to use it.
    If you want to have more information i will give you the contact person at innovate gmbh.
    Best regards
    Manfred

  • Why can I only hear calls on my hands-free or speaker phone?

    Hello
    I have an issue. All alarms, ring tones and text alerts are heard perfectly yet I cannot receive calls or play my iPod through the speakers of my iPhone 4.
    If anyone could help it would be much appreciated. I have tried the 'jiggle headphones in and out of headphone jack' trick as well as restoring the phone. I have no idea what to try next and it would be ace if someone could come and save me.
    Cheers,
    Georgia

    This may sound stupid, but it happened to me. Are you sure you peeled the plastic covering the screen off? It comes with the plastic covering the speaker.

Maybe you are looking for

  • Report Instance not getting started in Oracle Fusion Middleware 11g Report

    Hi Report Instance not getting started in Oracle Fusion Middleware 11g Report Instance Error Rep-50125 Java.lang.nullpointerexception I just installed Oracle Forms,Reports 11g 11.1.1.3.0 in my machine Even I started opmnctl(Oracle Process Management

  • ICal event file attachment does not show in mobileMe calendar or iPhone

    I am new to iCal. I setup events in the iCal application. Under the edit option I added files to the events. I can open the files on my iMac. The files do not appear on the mobilMe website or my iPhone calendar. Any ideas?

  • Crystal Reports XI (11.0) vs Crystal Reports XI R2 (11.5)

    Are there documented difference or compatability issues between Crystal Reports 11.0 components and Crystal Reports 11.5 components?  We are using Crystal Reports XI 11.0 Professional edition, and we have an integrated 3rd party software that has com

  • Deployment to Oracle App server 10.1.2

    Hi All, I have developed a application using ADF BC, Jsf and Oracle 10g database using Jdev 10.1.3 Application is on my local laptop tested using local embedded server. I have linked the applcation in Oracle portal server as follows: <iframe src="htt

  • Using in xmlquery for string translantions

    I've have a requriment to replace strings id with strings (multi-language design). For example I've an xml in a table with structure like : <A><ID>2</ID> <ID>3</ID> </A> and I've a table of strings which need to be replace for example replace 2 with