Changes in Multishuttle popup

Hello everyone. I have a form and this code which causes a popup to jump out whenever the user tries to navigate away from the page without commiting or rollbacking his changes.
  public String adslNextButton_action() {
      if(((Boolean)JSFUtils.getManagedBeanValue("bindings.Commit.enabled")) == false) {
          BindingContainer bindings = getBindings();
          OperationBinding operationBinding = bindings.getOperationBinding("Next11");
          Object result = operationBinding.execute();
          if (!operationBinding.getErrors().isEmpty()) {
              return null;
      } else {
          FacesContext context = FacesContext.getCurrentInstance();
          context.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, "You made some changes" +
              " You must save/undo them before continuing", null));
      return null;
  }Now I also have a Multishuttle, and I need to get it so it works for it as well, currently the user can move items between the 2 lists in the multishuttle and navigate away from it and nothing happens, I need the same functionality as I have for the form for the Multishuttle.
Thank you for your time

Hi,
Try following sample and should helpful above suggestion autoCancel="disabled"
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <af:commandButton text="Show popup1" id="cb1"
                    actionListener="#{YourBean.showPopup1}"/>
  <af:popup id="p1" binding="#{YourBean.popupBinging1}" autoCancel="disabled">
    <af:panelWindow id="pw1" modal="true" title="Popup1">
      <af:commandButton text="Show popup1" id="cb2"
                        actionListener="#{YourBean.showPopup2}"/>
      <af:popup id="p2"
                binding="#{YourBean.popupBinging2}">
        <af:panelWindow id="pw2" title="Popup2"/>
      </af:popup>
    </af:panelWindow>
  </af:popup>
</jsp:root>
// Bean code
    private RichPopup popupBinging1;
    private RichPopup popupBinging2;
    public void setPopupBinging1(RichPopup popupBinging1) {
        this.popupBinging1 = popupBinging1;
    public RichPopup getPopupBinging1() {
        return popupBinging1;
    public void setPopupBinging2(RichPopup popupBinging2) {
        this.popupBinging2 = popupBinging2;
    public RichPopup getPopupBinging2() {
        return popupBinging2;
    public void showPopup1(ActionEvent actionEvent) {
      RichPopup.PopupHints ph = new RichPopup.PopupHints();
      popupBinging1.show(ph);
    public void showPopup2(ActionEvent actionEvent) {
      RichPopup.PopupHints ph = new RichPopup.PopupHints();
      popupBinging2.show(ph);
    }See
http://docs.oracle.com/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_popup.html

Similar Messages

  • Change Font in Popup LOV?

    Hello All,
    Apex 3.1
    I need the font size for a value returned from a Popup LOV to be much smaller. How would I modify the popup LOV template in order to change the font of the values in the LOV, or if not the LOV itself, the font size of the return item?
    Thanks!

    Hi
    Go to Shared Components > Templates > Popup List of Values
    There you will find the name of CSS which is being used with this LOV. You need to change the CSS to get the required fonts.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • Safari 2.0: javascript can't change title of popup "Untitled"

    With a javascript generated popup window, Safari 2.+ titles the window "Untitled" and will not allow the title to be changed with either html "<title>" tag or with javascript "document.title()" property. Safari 1.+, IE 5.0 and Firefox 1.+ all reset the window title properly using javascript. Does anyone know of a simple workaround to fix this bug in Safari 2.+?
    powerbook   Mac OS X (10.4.8)  
    powerbook   Mac OS X (10.4.8)  

    HI and Welcome to Apple Discusions...
    Your ISP is redirecting your browser.
    Try Open DNS - Free / Basic
    Carolyn

  • SRM 7 EHP3, change text in popup message (create confirmation)

    Hi everyone
    I have a requirement where we need to adapt some text within a popup message. This popup message appears after hitting "confirm" button in the "create confirmation" app.
    After some researches we found that this text is stored in a text element (text symbols) of class /SAPSRM/CL_CH_WD_IDEN_MAP_CONF
    What is the best approach to adapt this text without doing a modification?
    Thanks anyone.
    Renaud

    Hi Laurent
    Thanks for your suggestion! But AFAIK this approach does not protect our translations (text changes) from being re-overwritten during system upgrades (see note 485741) and furthermore it would be treated as a modification (appears in SE95 - modification browser).
    Isn't there a truly modification free method?
    I also tried to enhance class /SAPSRM/CL_CH_WD_IDEN_MAP_CONF but I'm not sure how / what to implement in my Z-enhancement now to have it "overwrite" SAP's original text symbol n° 043.
    Any ideas?
    Best regards,
    Renaud

  • Change Colour of PopUp Lov

    I have the following code for a popup lov
    select a,b from
    select '1' res, htf.escape_sc(su.sukey) a, htf.escape_sc(su.sukey) b
    from udm_su su, udm_lde lde
    where su.ldeid = lde.ldeid
    and su.sukey in (select su_generic
                     from vrp_cfg_gensuconv)
    and lde.ldekey = :F140_LDEKEY
    union
    select '2' res, htf.escape_sc(su.sukey) a, htf.escape_sc(su.sukey) b
    from udm_su su, udm_lde lde
    where su.ldeid = lde.ldeid
    and su.sukey not in (select su_generic
                     from vrp_cfg_gensuconv)
    and lde.ldekey = :F140_LDEKEY
    order by res, a, bWhat I want to do is dispaly the result of the first select statement in red
    and the second in blue
    Cheers
    Gus

    Gus C wrote:
    Apex 3.2Don't have 3.2 around to experiment with. If the above doesn't work in 3.2 then I'm inclined to think that it isn't going to. Which is odd as the indications are that the restrictions were introuced in APEX 4.0:
    <li>{thread:id=1338180}
    <li>{thread:id=2126522}
    Part of the problem is that LOVs rendered as select lists (which is most common) cannot contain HTML elements ( +{thread:id=898835}+ ), but the less common Pop-up LOV renderings can.
    If this is a critical requirement, then 2 possibilities come to mind:
    1. Fairly complex modification of the Pop-up Page/LOV templates to include JavaScript/AJAX that will execute for this list, figure out how many entries need to be each colour, and iterate over the options adding the require styles.
    OR
    2. Use a report on a pop-up page rather than an LOV.
    Both look like more trouble than this is worth.

  • How to programmatically control the "Save changes.." popup screen?

    Hello
    I've made an application that is controls TS, opens selected sequence or closes it automatically.
     I would like to close all open sequences with possibility to programmatically save the sequences automatically on closing without popup screen (attached jpg) or not saving or just simply to bring the popup to the front and let operator decides. Is there a way for that with TS API? 
    I tried to set the property "ApplicationMgr.SaveOnClose" before calling method "CloseAllSequenceFiles" but it does not work with any option. Everytime if there are modifications in the sequences and my applicaiton tries to close the sequence file TestStand opens the popup screen outside of my application. My application then hangs on method "CloseAllSequenceFiles" and i have to bring the popup to front and close it to resume my applicaiton.
    Is there a way to overwrite this popup screen?
    I attached screenshot of the VI.
    Attachments:
    Untitled.jpg ‏13 KB
    Untitled2.jpg ‏46 KB

    Seems to me like you are not looking in the right place, look at the Engine methods, here are two interesting methods to do what you are willing to do:
    Rodéric L
    Certified LabVIEW Architect

  • How to clear changes done in a popup.

    Hi All,
    I am facing a scenario where in a table for each row I am showing a link which opens up a popup showing xml payload attribute for that specific row.
    That popup allows user to edit that popup and save the changes.
    However, if user makes some changes in the popup and click cancel, the next time he again opens up that popup that previous changes are retained because they are available in entity cache.
    The requirement is if the user re-opens the popup after some time, he should see the changes from the database and not from cache.
    Any pointers on how to achieve this?
    Thanks.

    The thing I forgot to add is that on the pop up, there are two components. First one is input text that shows xml payload attribute for the row selected in the table ( for which we are opening the popup ) and the second is a submit button.
    The submit button needs to be enabled only if there is a change in the content of input text field. So I have set autosubmit to true on input text field to enable submit button.
    The submit button is enabled through a value change listener on the input text field.
    Now in this scenario, I need to add a cancel button using which I need to clear the changes done by the user in the input text field.
    The resetActionListener does not work in that case.
    What approach should I follow to achieve this?

  • Path Mapping popup issue

    If anyone else has an issue with the "Path Mapping" popup appearing when debugging a Flex and PHP application on your local Zend Server, here is the solution.
    When you first install Flash Builder 4.5 for PHP, it will remind you to download and install Zend Server CE.
    Once you have done that, the next time you start Flash Builder, you get this.
    Unfortunately, Flash Builder for PHP did not configure Path Mapping for Zend Server CE correctly.  When I create a combined Flex and PHP project, and go to debug it, I got this:
    The popup appears like 100 times for various php classes in the framework. I would select the bottom option of "Get content from the server for the following path:"  I would have to go through 5 minutes of clicking these popups before finally getting my application to launch.
    The problem turned out to be the Path Mapping.  If you go to Preferences --> PHP --> PHP Servers, you will see that the Local Zend Server has been added as the default.  Select it and click the Edit button. Then select the Path Mapping tab.
    The entry for Zend Framework will point to a wrong server path.
    The "Path on Server" is set to /usr/local/zend/ZendServer/share/ZendFramework/library
    It should be set to /usr/local/zend/share/ZendFramework/library
    Once I changed it, the popups no longer appeared.

    Jamie
    I just managed to install and setup Builder 4.5 for PHP with Zend Debugger.
    It was quite a headache to enable Zend Debugger on WAMP server. I have been forced to downgrade PHP to ver 5.2.11 (and subsequently to downgrade Apache version to 2.0.63) to make it work. Anyways, not a good start but I thought, ok, finally some progress. At the moment I am faced with same issue as reported in that post however I am not sure how to setup path mapping(s) so I wont be presented with 30-50 popups when trying to debug my PHP classes.
    I tried to check the status of reported bug you have mentioned but link seems to be broken.
    Example of first popup I am presented with:
    Path Mapping - Select Local Resource
    Select the local resource that matches the following server path:
    ...Adobe Flash Builder 4.5\.metadata\.plugins\org.zend.php.framework.resource\resources\ZendFramework-1\library\ Zend\Loader.php
    Get content from the server to the following path:
    C:\Users\Michael\Adobe Flash Builder 4.5\.metadata\.plugins\org.zend.php.framework.resource\resources\ZendFramework-1\library\ Zend\Loader.php
    Once I will confirm that popup I am presented with another 30-50 of these. After all is confirmed I am finally able to debug my code.
    Can anyone please advise how to setup this mapping?
    PS. I can create a separate mapping for each php file that is mentioned but surely there should be better way than defining 30-50 separate mappings...
    Regards
    Michael
    Nevermind, I have decided to create mapping for all 30-50 files. It works fine now. Good thing its a global setting and does not have to be set for each project separately;)
    Message was edited by: Michael Orzechowski

  • Data changes saved when pop-up window closed instead of using Save button/action.

    We encountered an odd application behavior and we cannot tell if this is standard functionality or not.  When a spec is an a workflow step that is Signature Request, the Requestee can open a link to view the spec.  When the user also has edit permissions, they get the edit icon in the popup window.  We had a user that editted the spec then decided not to save the changes, so used the Close (red ex on popup) instead of the Action: Cancel button on the application menu. User expected that changes made would not be saved. It turns out that clicking the window closed save the modifications without any warning.  User expected Close to work like Cancel instead of Save.  Is this normal application behavior?
    Details.  Version 6.1.1.1 on IE9 with popup. 

    Did they make a change, close the popup, then workflow the Signature Request? Is so, then this is behavior we expect: When you are viewing a spec, you are viewing the in memory version of it, meaning that if you edit the spec, the changes are made to the in-memory version. If then clicked close, the in memory data is still loaded for that spec, and it may be that the signature request workflow event then saves the spec with those changes. The cancel button would have reverted the changes.
    You can, however, log an Enhancement Request for having the window close act like the Cancel.
    Thanks
    Ron

  • Changing a variable in variable screen

    Hey everybody,
    i have a question for variable screen in Bex Analyzer 3.5 in BI 7.0.
    Is it possible to change a variable in variable screen depending the input of an other variable?
    I know how to change it bevor popup and after popup.
    But i want to change the date of a hierarchy-variable depending of the values entered of two other variables. so, as soon as the variable of date or month is changed, i would like to match the hierarchy-date of a variable.
    Anybody an idea?

    Hey Vikash,
    thanks for the link, but I quess, that doesn't help. We have allready a keydate-userexit-variable, that is filled after popup (i_step=2). I Know how to do ist also bevor popup (i_step=1).
    What I need is to change a variable "during" popup. That means, the variable screen is open, and the user enters variable number 1. As soon as he did an input, I want to react on this "event" and change a other variable. (In our case, a hiararchydate, so that he can choose from the right hiararchy).
    I read that the variable screen of Bex 3.5 in BI 7.0 has an other technoloy than in before. (Html-Based). I hoped that there is a new chance of working whitch the variables in Bex.
    I little example.
    the variables screen pops up with some default value:
    year (2008)
    month (12)
    ConsolidationUnit ( )
    (hierarchyVariable with keydate 31.12.2008 when you open F4-Screen)
    now, the user changes the first variable into year 2009 an presses enter, but he don't execute the query yet, because he wants to choose a consolidationunit first.
    In this moment, i whant to change the Keydate from Consolidationunit-variable
    year(2009)
    month(12)
    ConsolidationUnit
    (HierarchyVariable with keydate 31.12.2009 when you open F4-Screen)
    The consunit he wants to choose is not available in Hierarchy from 2008.
    Thats our Problem.
    I want to avoid, that the user has to type in an other variable for keydate of the hiearchy. because the keydate depends on the other entered time-variables.
    Hope, that this is comprehendible. I try to realize somekind of an interaction between variables in the screen.
    Kind regards,
    Amina

  • Need help on POPUP screen  in web ui

    Hi Experts,
    I have created popup screen in the eh_onsave method .Now it is triggering, in this popup it is displaying YES, NO and CANEL buttons. But i want to change the standard buttons descriptions. how to do ?
    I have created custom buttons and displaying as  ACCEPT, REJECT AND CHANGE on the popup screen. if I click any button on the popup is returning same event id, i have seen in debugging custo_btn .
    below is my code.
    ls_button-id = 'ACCEPT'.
      ls_button-text = 'Accept'.
      ls_button-on_click = 'ACCEPT'.
      ls_button-on_select = 'ACCP'.
      append ls_button to lt_buttons.
      clear ls_button.
      ls_button-id = 'REJECT'.
      ls_button-text = 'Reject'.
      ls_button-on_click = 'REJECT'.
      append ls_button to lt_buttons.
      clear ls_button.
      ls_button-id = 'CHANGE'.
      ls_button-text = 'Change'.
      ls_button-on_click = 'CHANGE'.
      append ls_button to lt_buttons.
      clear ls_button.
      call method comp_controller->window_manager->create_popup_2_confirm
        exporting
          iv_title          = 'Vary Item Proposal'
          iv_text           = lv_text
          iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_custom
          iv_custombuttons  = lt_buttons
        receiving
          rv_result         = gv_confirm_popup.
      gv_confirm_popup->set_on_close_event(  iv_view = me
                                             iv_event_name = 'CONFIRM_POPUP_CLOSED' ).
      gv_confirm_popup->open( ).
    ethod EH_ONCONFIRM_POPUP_CLOSED.
    Added by wizard: Handler for event 'CONFIRM_POPUP_CLOSED'
    INCLUDE: crm_object_types_con.
    DATA: lv_answer TYPE string.
    lv_answer = GV_confirm_popup->get_fired_outbound_plug( ).
    CASE lv_answer. "Here i am getting the same id for any button.
    WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_yes.
    WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_no.
    WHEN OTHERS.
    ENDCASE.
    Please help me.
    Thanks,
    Venky

    Hi Venky
    Try to Implement the below lines along with other lines while building the button, apart from that check ON_CLIENT_CLICK also (instead of on_click use the on_client_click)
    ls_button-enabled = 'X'.
    More over I checked your code in the CASE statement you are using the stanadrad constants like co_event_yes , but you are setting the event with other names pls check that also.
    now your code will look like this
    ls_button-id = 'ACCEPT'.
    ls_button-text = 'Accept'.
    ls_button-enabled = 'X'.
    ls_button-on_client_click = 'ACCEPT'.
    ls_button-on_select = 'ACCP'.
    append ls_button to lt_buttons.
    clear ls_button.
    hope this helps.
    Thanks & Regards
    Raj
    Edited by: bmsraj on Sep 21, 2011 7:06 PM

  • Custom Change Request Selection for Customer/Supplier Update

    Hi experts,
    Anyone knows how is possible to display the change request selector popup when starting a Customer/Supplier/BP update?
    For MDG-C and S I only have this popup when is related to creation process. When is a update the standard change request is considered for the process.
    Screen on creating a customer
    What I need is the same screen when starting an update process, because I will need to specify a Z change request type. Anyone knows if this can be made with some configuration?
    Kind Regards,
    Fabiano Moraes

    Hello Fabiano,
    You will get this pop-up only if you have more than one CR type linked to the corresponding business activity. If you only have one CR type, then that CR type opens up by default.

  • Temporary focus for a popup?

    Hi, this is NOT URGENT, just a little brain teaser I have come upon myself.
    I have a calendar-like component that I want to display on a popup. The user may open it (with a button) and choose something with the mouse (which hides the popup and fires an event). No problem there.
    In the interest of not requiring mouse use (a big deal with me), I put in the handling value various keystrokes (<arrows/pageup/pagedn> move around; <enter> or <space> make selection; <escape> closes without selection, etc.). But I cannot figure out how to get the keystrokes delivered to my component because I can't seem to understand the temporary focus situation with popups.
    I have tried writing my own JPopupMenu and Popup implementations, tried to manually move focus around, tried tweaking around with the MenuSelectionManager to see if it is eating my keystrokes, but I can't get it to work, and I know that there must be something much simpler that I am not seeing.
    BTW, I am trying to not have to muck with the Input/Action Maps of the window (or of any ancestor component higher than the popup itself), though I have considered that I could change them when popup opens and restore them when popup closes. Like I said, there must be something much simpler, right?
    I wrote a small sample case, which I will include in case anyone cares to give this a look.
    SimplePanel just uses the arrow keys to change a Label among {N,E,S,W} values. It has a main that sticks it in a frame. The arrow key cause the label to change.
    SimplePopup provides a button that opens a JPopupMenu containing a SimplePanel. (To keep it super simple, I haven't even included a way to close the popup.) User can open the popup by hitting <space> on the focused button, but cannot manipulate the SimplePanel using the arrow keys.
    (I will post the code in separate messages)
    Thanks,
    /Mel

    I have a solution -- add a KeyEventPostProcessor that redispatches the KeyEvents to the component on the popup. For the example, I just implemented KeyEventPostProcessor in this class. Hurray for 1.4!!!
    My question from before still stands though: isn't there a simpler way to do this!??! Furthermore, why shouldn't this be the default behavior to begin with? (i.e. when a popup is opened on a window the popup becomes a temporarily focus root; when the popup is closed the (permanent) focus reverts to whoever had it before...)
    /Mel
    class SimplePopup extends JPopupMenu implements KeyEventPostProcessor
       SimplePanel content = null;
       SimplePopup(SimplePanel content)
          this.content = content;
          this.add(content);
       public boolean postProcessKeyEvent(KeyEvent e)
          if (this.isVisible())
             KeyboardFocusManager.getCurrentKeyboardFocusManager().redispatchEvent(this.content, e);
          return false;
       public void setVisible(boolean b)
          super.setVisible(b);
          if (b)
             KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventPostProcessor(this);
          else
             KeyboardFocusManager.getCurrentKeyboardFocusManager().removeKeyEventPostProcessor(this);
       public static void main(String[] args)
          JFrame frame = new JFrame();
          JPanel extraroom = new JPanel();
          extraroom.setBorder(new EmptyBorder(50,50,50,50));
          final JButton button = new JButton("show it");
          final SimplePanel spanel = new SimplePanel();
          final SimplePopup popupmenu = new SimplePopup(spanel);
          button.addActionListener(new ActionListener()
                                          public void actionPerformed(ActionEvent e)
                                             Point point = new Point(2, 2 + button.getBounds().height);
                                             Component window = SwingUtilities.getWindowAncestor(button);
                                             point = SwingUtilities.convertPoint(button,point,window);
                                             popupmenu.setLocation(point);
                                             popupmenu.setVisible(true);
          extraroom.add(button);
          frame.getContentPane().add(extraroom);
          frame.pack();
          frame.show();
    } // end class SimplePopup

  • Superfluou​s confirm popup in UI editor?

    Hello NI,
    I have a XY graph with several annotations.
    If I open the uir file and double click on the graph (-> Edit Graph popup), click on the 'Annotations' button (-> Edit Annotations popup) and change Current Annotation say from 24 to 23 (to see its properties).
    Then I want to close everything (not changing anything): I click on the X button in the panel title of the 'Edit Annotations popup: a confirm popup shows up asking if I am sure to discard the changes. This popup is ok for the current annotation has changed. So I click Yes.
    By this all changes should have discarded, right?
    But now, if I click the X button in the panel of the Edit Graph popup the same confirm popup shows up again... In my opinion this should not happen ;-)
    (I know that I can leave the two popups faster by hitting ESC twice)
    Solved!
    Go to Solution.

    Yes, this is a bug, and it's been around since the beginning of CVI from what I can tell.
    It's actually two bugs: 1) you shouldn't see the prompt in the annotations dialog in the first place, if all that you change in that dialog is the current annotation (and the analogous control, in the graph's cursors dialog, or the strip chart's traces dialog), since changing the current annotation/cursor/trace does not change the state of the graph or chart. And 2), as you pointed out, you shouldn't see the prompt again when you exit the main dialog if you discarded your changes in the sub-dialog.
    Bug 477231.

  • Slow performance in web when modal property set to yes for a popup canvas

    Hi ,
    I found that when the form is upgraded from 6i to 10g, it shown a significant delay to exit a popup canvas if the property Modal is set to Yes but if set to No, the performance is similar in both c/s and web.
    However, our application need to set Modal to Yes so to avoid user from updating any changes unless the popup is returned. Any suggestions for workaround.
    Ana

    Gerd,
    No , not for big form . I actually I have tried with only a small sample form with scott/tiger and if you are interested, I can send you the sample

Maybe you are looking for

  • Report Usage Counts

    Is there a table that shows a count of discoverer viewer reports viewed by users on a daily basis?? Or which table would I create a trigger to insert counts into a new table, then create a report that roles up by report name and date and lists a coun

  • XI Mapping problem?

    Hi Can some one help me on this issue My source file out put is like this : <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">    <so

  • Worker role monitoring/diagnostics in Azure

    Hi, I have trouble monitoring and reading diagnostics for my 6 different worker roles. - I "Enabled Diagnostics" and specified the right "storage account credentials" - I use Owin for the hosting of my worker roles and specify: config.EnableSystemDia

  • Diasppearing JButtons in a JToolbar

    Hi, I am using a JToolbar in an applet, but I am facing the following problem: the applet is resizeable, and by that, a user can possibly resize it in such a way that the buttons which are on the toolbar will not all fit any more. I have been trying

  • ITunes 11.1.1 will not sync with ios 7.02 - "waiting for changes to applied"

    iTunes 11.1.1 running on MacBook Air will not sync with ios 7.02 - "waiting for changes to be applied". I have been having this issue since upgrading to 11.1. I thought the upgrade to 11.1.1 will take care of it