Code of confirmation dialog window

Hi all,
      I have a component in which, I need to display confirmation dialog window when am trying to close a  window  with three buttons like YES,NO and CANCEL ...Its not like an pop-up window..can anybody provide source code for this..Thanks in advance

Use Work Protect mode if you are running in Portal environment.
SAP Online Help : http://help.sap.com/saphelp_nw70/helpdata/en/45/b76f4169e25858e10000000a1550b0/content.htm
Thread which discuss the same :
Re: Save Changes before leaving a web dynpro application

Similar Messages

  • Exception while Creating Confirmation Dialog Window

    Hi,
    Iam trying to create a confirmation Pop up window on the click of a "Save" button. I followed the procedure mentioned in the following link :
    http://wiki.sdn.sap.com/wiki/display/WDJava/CreatingConfirmationDialogBoxinWebDynproJava
    But when i click on Save button, iam getting this exception -
    com.sap.tc.webdynpro.services.exceptions.CreationFailedException: add of choice failed! (eventhandler: null)
    at the following line :
    IWDConfirmationDialog confDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(
      /* dialogText, evtHndlr, buttonText OR evtHndlr.getName() */
      wdComponentAPI.getTextAccessor().getText("GoHomeConfQuestion"),
      evtHndlr,
      wdComponentAPI.getTextAccessor().getText("GoHomeConfCancel")
    Can any one please suggest me where iam going wrong and what is the cause of this exception?
    Thanks in advance.
    Regards,
    Maggie

    Sample code
    dialog part
    IWDConfirmationDialog createDialog=wdComponentAPI.getWindowManager().createConfirmationWindow("You are going to Submit.  Are you sure?",ctrl.findInEventHandlers("create"),"YES");
              createDialog.addChoice(ctrl.findInEventHandlers("doNothing"),"NO");
              createDialog.open();
    you have to create event not the metod
      public void create(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //your action
      public void doNothing(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin doNothing(ServerEvent)
    //your action
        //@@end

  • Confirmation Dialog which saving any settings at OCI Mapping

    Hi Experts,
    OCI Mapping:
    when i change and settings at OCI and when i click on Save button, I used to get popup(Confirmation Dialog) window with messaage as " Price fields are not configured consistently across all views".
    I am not able to findout what is exact problem and why it is showing such message?
    You help will be rewarded in points..
    Thanks
    Bharat

    that happens when the same price setting fields (contract and list price) are not set for all the views in the catalog .
    you should have the same fields (settings) for price - in all the views in the catalog (Resultset , Itemdetials, context, compare and Shopping list) to ignore the warning
    thanks
    -Adrivit

  • Confirmation dialog-native window

    Hi,
    how can i create native yes/no confirmation dialog with air
    window component like titlewindow with popup manager?
    Thanks

    Hi,
    how can i create native yes/no confirmation dialog with air
    window component like titlewindow with popup manager?
    Thanks

  • How to get  the choice clicked by the user on a Confirmation dialog?

    Hi,
    'm trying with Confirmation dialog which should return
    'yes', 'No', or 'Cancel'
    I wrote like:
    String Message="Do u want  to update ??";
         IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
         IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow( Message, controllerInfo.findInEventHandlers("Yes"), "Yes");
         dialog.addChoice(controllerInfo.findInEventHandlers("No"),"No");
         dialog.addChoice(controllerInfo.findInEventHandlers("Cancel"),"Cancel");
         dialog.open();
    It works as a normal dialog window
    But how can I get the choice that is clicked by the user.
    ie . either 'Yes', 'No', or 'Cancel'.
    can any body help me
    thanks
    Smitha

    Smitha,
    In addition to your code, create 3 event handlers in your controller, name them Yes, No, Cancel. In every event handler you know what event was fired, i.e. what button is pressed.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Confirmation Dialog when clicking on Tree Node.

    I am working on Oracle Apex 4.2.0.00.27 and I have the following problem:
    The code below shows the definition of a tree. The tree displays records from the table ACTIVITIES in hierarchical structure.
    When user clicks on a leaf/node of the tree he will be redirected to another page where the details of each Activity/leaf/node are displayed.
    The tree is part of a page where I have established a functionality to check for changes on the input fields of the page and inform the user when he tries to redirect without first saving the changes he made.
    What I want to do is:
    WHEN user clicks on a node of the tree AND he hasn't saved any changes he made
    THEN
    trigger a confirmation dialog.
    IF
    he clicks OK he is redirected to the node details page as defined on the tree definition:
    f?p=&APP_ID.:10:'||:APP_SESSION||'::::P10_ID:'||"ID"
    ELSE if he clicks CANCEL
    he stays on the same page.
    The condition to trigger the confirmation box is:
    if (document.getElementById('P0_CHANGES_DETECTED').value == 1)
    where P0_CHANGES_DETECTED is a universal hidden text field that is set to +'1'+ every time a change is made.
    and here is the tree definition:
    select case when connect_by_isleaf = 1 then 0
    when level = 1             then 1
    else                           -1
    end as status,
    level,
    +"NAME" as title,+
    null as icon,
    +"ID" as value,+
    null as tooltip,
    decode(PARENT_ID,null,null, 'f?p=&APP_ID.:10:'||:APP_SESSION||'::::P10_ID:'||"ID") as link
    from "#OWNER#"."ACTIVITIES"
    where GROUP_ID = :P20_GROUP_ID
    start with "ID" in (select ID from "#OWNER#"."ACTIVITIES" where GROUP_ID = :P20_GROUP_ID and PARENT_ID is null)
    connect by prior "ID" = "PARENT_ID"
    order siblings by "ID"
    I hope it is clear what I want to achieve. Thanks in advance.

    So you'll want to bind an event to all tree nodes that checks for the value and then fires the confirmation if there value is 1.
    Try something like this:
    - first, give your static ID attribute in your tree the value of tree_static_id (or whatever you want. just replace the id selector below with what you choose).
    - In your Page Function and Variable Declaration Javascript:
    function confirmSave() {
    var changeDetected = jQuery('#P0_CHANGES_DETECTED').val();
    if(changeDetected == 1) {
    //only do this if change is detected
    if(confirm('You have unsaved changes. Do you want to leave this page?')) {
    window.location('[your url here]');
    jQuery(document).ready(function() {
    //bind function to the click event
    $('#tree_static_id').find('li a').bind('click', function() { confirmSave(); } });
    });Hope this helps

  • Poping Up a Confirmation Dialog

    I would like to popup a confirmation dialog when a user clicks a 'cancel' button in my page. If the user clicks 'NO' in the dialog, data is not cleared and navigation is canceled.
    I tried this ...
    public String cancelBtn_action() {
            int i = JOptionPane.showConfirmDialog
                        (null, "Do you really want to clear all data and start over?",
                            "Warning", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
            if(i == JOptionPane.YES_OPTION) {
                getSessionBean1().clearBeans();
                return "clear";
            else return "null";
        }... but the dialog is hidden behind all the open windows on my machine (b/c the 'null' argument in showConfrimDialog, I guess).
    Can I attach this dialog to the page somehow (so it does not get hidden)? Should I even use Swing? Is there a prefered way to use popup dialogs in JSF/Creator?
    Any information would be much appreciated.

    Thank you for your reply.
    Pardon any redundancy, but to be sure that I am making myself clear and that I am understanding your response...
    At first 'cancel_action()' ( event handler in the page bean) looked like this:
    public String cancelBtn_action() {
           getSessionBean1().clearBeans();
           return "cancel";
    }To make this code conditional I next tried this:
    public String cancelBtn_action() {
            int i = JOptionPane.showConfirmDialog
                        (null, "Do you really want to clear all data and start over?",
                            "Warning", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
            if(i == JOptionPane.YES_OPTION) {
                getSessionBean1().clearBeans();
                return "cancel";
            else return "null";
    }This code works 'fine', except that the dialog gets displayed behind all open windows where the user can not see it. (If there is a way to tie the dialog to the browser frame so it does not get buried (maybe there is?), this would allow all the JOptionPane stuff to be leveraged nicely with JSF).
    Since you are not modifying any data based on the
    response received from confirmation dailogclearBeans() clears data previously entered in several session-scoped beans (so data is (conditionaly) modifed). "cancel" and "null" are different navigation cases
    I would suggest to use javascript based dialogs. I like the simplicity of using javascript, but I need to set a flag (or something similar) in my page bean to conditionaly control navigation and whether to clear data stored in the session beans. This seems to require that the javascript calls a method in the page bean. Can this be done with JSF?
    >
    You can also use another jsp page in a popup as
    confirmation dialog by specifying the size of the new
    page.
    So I guess you mean a non-JSF JSP page? Since I need to finish executing the code in the event handler that was interupted by the confirmation dialog, I think that JSF navigation/lifecycle issues would be a problem. Am I correct?
    Again pardon any redundancy.
    More details on either (or any other) approach would be helpful.

  • Using a dialog window to select a name and directory to save the file

    Hi there
    I have a problem with the FILE_SAVE_DIALOG method or better with the windows that will be shown.
    Before I save a file (e.g. PDF file) on the presentation server (the PC), I want to open a dialog window to have the option to give another directory and file name, under which I will save the file.
    Therefore I use the method CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG. I found many information about this FILE_SAVE_DIALOG in this forum, but these tips didn't satisfy me.
    The main problem is the FILE_FILTER. How to use this filter (is it a STRING?) properly, when I want to have a list in the dialog window? Nothing worked till now.
    I use ERP 2005 with JAVA 1.4.1-07.
    My Code:
    DATA: fileName         TYPE  STRING,
          path             TYPE  STRING,
          workdir          TYPE  STRING,
          user_action      TYPE  I,
          encoding         TYPE  ABAP_ENCODING.
        fileName = I_FILENAME.
        path = I_PATH.
        CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
           EXPORTING
             WINDOW_TITLE         = 'Save Adobe PDF file'
    *         WITH_ENCODING        = 'X'
             INITIAL_DIRECTORY    = workdir
    *         DEFAULT_EXTENSION    = '*.pdf'
             DEFAULT_FILE_NAME    = fileName
             FILE_FILTER          = '*.pdf'
             PROMPT_ON_OVERWRITE  = 'X'
          CHANGING
             FILENAME             = fileName
             PATH                 = path
             FULLPATH             = fullpath
             USER_ACTION          = user_action
             FILE_ENCODING        = encoding
          EXCEPTIONS
             CNTL_ERROR           = 1
             ERROR_NO_GUI         = 2
             NOT_SUPPORTED_BY_GUI = 3
             others               = 4.
        IF SY-SUBRC <> 0.
          EXIT.
        ENDIF.
        IF user_action <> CL_GUI_FRONTEND_SERVICES=>ACTION_OK.
          EXIT.
        ENDIF.
    When I call this method with these parameters, I get the dialog window, but there is no filtering for PDFs.
    I also tried the ideas with:
      FILE_FILTER = 'Adobe files (*.pdf)|(*.pdf)'
    and so on. But nothing made the dialog window work properly, even the selection list didn't show the right content to select.
    Who can help with this method SAVE_FILE_DIALOG?
    Thanks
    Frowin

    HI,
    check this program.
    <b>
    report ZTEST2.
    data:  file type string,
           path type string,
           file_path type string.
    data: itab type standard table of cskt.
    start-of-selection.
      SELECT * FROM cskt INTO TABLE itab.
      call method cl_gui_frontend_services=>file_save_dialog
          exporting
                    FILE_FILTER = '*.PDF'
          changing FILENAME = file
                   path     = path
                   fullpath = file_path.
      check not file_path is initial.
      call method cl_gui_frontend_services=>gui_download
        exporting    filename                = file_Path
                      WRITE_FIELD_SEPARATOR = 'X'
         changing    data_tab                = itab.
    </b>
    REgards,

  • Open File dialog window when setting the value of a path type input argument in a VI call

    Hi,
    I am new to TestStand (running 4.0) and I want to create a sequence of VIs to turn on, setup and measure a device. One of my VIs sends a configuration file to my device. An input argument to this VI is the path of the config file. I would like to make it simple to modify this path when setting up the sequence by popping up the File Open dialog window and choose my file. Is this possible? I do not want to manually change the file during execution, just to have multiple calls of one VI, each call opening a different file according to the path given to it during the setup. 
    So far I have only succeeded in manually entering the absolute path each time I add this step. What makes it even more annoying is the fact that LabVIEW interprets the path with the escape codes, rendering the path unusable. Manually adding a 2nd backslash at each '\' occurence adds another step to the process. I tried both String and Path type of inputs, and the SearchandReplace() or ToUpper() (trying to bypass the escape codes) functions in TestStand don't seem to help m.
    Your help is very much appreciated,
    Fred

    Eudaemonic,
    If you want to create a series of easy to configure step types so others can develop sequence files easily, you could use custom step types. When you create a custom step type you implement your own configuration dialog. Since you have control over what controls you expose in your configuration dialog, you can design it so the desired path is selected using a open file dialog. Refer to chapter 13 of the TestStand reference manual for more information about custom step types.
    If you do not want to create a custom step type but you still want to give access to your sequence developers to pre-configured steps, you can use templates. A step template is a snapshot of a step that you can reuse later. Let's assume that instead of asking your users to edit the step to enter the desired path, you create several step templates with different pre-configured paths and based on their applications requirements they could use the appropriate template. Refer to the NI TestStand Help for more information about the Templates list on the Insertion Palette.  
    Hope it helps.
    Antonio Lie. 

  • How to download files in jsp code {through save dialog}

    can you help me to download files in jsp code {through save dialog}
    i use the following code but it saves the jsp page instead of the downloaded file but with the name of the wanted file to be downloaded
    response.setHeader("Pragma", "public");
    response.setHeader("Cache-Control", "no-cache");
    *** download file
    if((trans !=null)&&(trans.equals("download")) )
    response.setContentType ("application/x-download");
    response.setHeader ("Content-Disposition","attachment;filename=\""+fileName+"\"");
    %>
    <script>
    window.location.href=<%=gallerypath+fileName%>';
    </script>
    <%
    trans="";
    //System.out.print("download : "+fileName );
    //***************************************

    Can you try below code, It should work...
    <%
    String myFileName = request.getParameter("fileName");
    response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment; filename=\"" + myFileName + "\"");
    String root = "D:/";
    InputStream in = null;
    ServletOutputStream outs = response.getOutputStream();
    try {
    in = new BufferedInputStream
    (new FileInputStream(root + myFileName));
    int ch;
    while ((ch = in.read()) != -1) {
    outs.print((char) ch);
    finally {
    if (in != null) in.close(); // very important
    outs.flush();
    outs.close();
    in.close();
    %>

  • Error: Could not complete Create LOV Dialog Window...

    Using Jdeveloper 10.1.2 UIX to drop a MessageLovInput onto an Input Form I get the following error:
    Could not complete Create LOV Dialog Window because it would result in an invalid document.
    Clicking on details reveals the following:
    oracle.bali.xml.model.XmlInvalidOnCommitException: Errors
    Errors:
    Element text not defined in parent contents [node = text ]
    invalid subtree:
    <contents>
    <text text="Find the collection (which contains the legal values for the lovInput) in the Data Control Palette. Select the attribute (of the collection) that will be set by the lovInput and drop it into this space as a 'LOV Table'. " />
    </contents>
         at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:2646)
         at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:2583)
         at oracle.bali.xml.model.XmlModel.precommitTransaction(XmlModel.java:1467)
         at oracle.bali.xml.model.XmlModel._validateInCommit(XmlModel.java:2538)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:531)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:516)
         at oracle.cabo.ide.adf.LovModelXml._createLovPage(LovModelXml.java:125)
         at oracle.cabo.ide.adf.LovModelXml.createControl(LovModelXml.java:55)
         at oracle.cabo.ide.adf.UixModelXml.populateFragment(UixModelXml.java:165)
         at oracle.cabo.ide.adf.UixAdfDocumentFragmentProvider.preInitializeNode(UixAdfDocumentFragmentProvider.java:38)
         at oracle.bali.xml.model.datatransfer.XmlKeyDocumentFragmentProvider._createDomNodeFromKey(XmlKeyDocumentFragmentProvider.java:97)
         at oracle.bali.xml.model.datatransfer.XmlKeyDocumentFragmentProvider.createFragment(XmlKeyDocumentFragmentProvider.java:38)
         at oracle.bali.xml.model.XmlModel.getImportedDocumentFragment(XmlModel.java:1771)
         at oracle.bali.xml.model.XmlModel.getFragmentForImportIfPossible(XmlModel.java:1801)
         at oracle.bali.xml.model.XmlModel.importData(XmlModel.java:1078)
         at oracle.bali.xml.model.XmlView.importData(XmlView.java:773)
         at oracle.bali.xml.gui.swing.dnd.ModelDropHandler._transferData(ModelDropHandler.java:624)
         at oracle.bali.xml.gui.swing.dnd.ModelDropHandler.drop(ModelDropHandler.java:235)
         at java.awt.dnd.DropTarget.drop(DropTarget.java:398)
         at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:542)
         at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.java:52)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:805)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:743)
         at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
         at java.awt.Component.dispatchEventImpl(Component.java:3494)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:3269)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3123)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Opening the UIX page, the following code has been generated; not a <listOfValues> tag in sight!
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    I have checked Metalink but can't find this error there either. Based on examples on OTN I have tried to create the LOV window manually but it does not work as expected:
    1) The window is not empty when opened - i.e. data has been retrieved.
    2) The filtering does not work.
    3) The selected value does not update the Input Form.
    I have pasted the code below in case anyone can point me in the right direction to work around the Jdeveloper error. However, I think Jdeveloper should create the LOV window correctly.
    Thanks in advance for your help.
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <listOfValues title="Organization"
    searchText="Enter search string here">
    <contents>
    <!-- indexed children -->
    <table model="${bindings.OrganizationView1}" id="OrganizationView13">
    <contents>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Name')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Name}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Address')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Address}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Url')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Url}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Phone')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Phone}" columns="10" readOnly="true"/>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.OrganizationView1Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="OrganizationView13" source="OrganizationView13" event="select"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    <filterChoice>
    <choice name="filterBy">
    <contents>
    <option text="Name" value="name"/>
    <option text="Address" value="address"/>
    </contents>
    </choice>
    </filterChoice>
    <headerInstructions>
    </headerInstructions>
    <searchInstructions>
    </searchInstructions>
    </listOfValues>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="goto sort" source="OrganizationView13">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.OrganizationView1Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="OrganizationView13">
    <set target="${bindings.OrganizationView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'OrganizationView13')}"/>
    </event>
    <event name="lovFilter">
    <compound>
    <invoke method="setWhereClause" javaType="oracle.jbo.ViewObject" instance="${bindings.Name.viewObject}">
    <parameters>
    <parameter javaType="string" value="${empty param.filterBy ? 'NAME' : param.filterBy} LIKE '${param.searchText}'"/>
    </parameters>
    </invoke>
    <invoke method="executeQuery" javaType="oracle.jbo.ViewObject" instance="${bindings.Name.viewObject}"/>
    </compound>
    </event>
    </handlers>
    </page>

    Thanks for the response. OK... This is the first day I have been able to get back to the problem.
    My system I am running Photoshop on is a Power Mac G4, AGP Graphics ATY Rage 128Pro chip set 16MB VRAM LCD 1280x1024 32-bit color, 500MHz, 1.75GB of memory, 1 MB L2 Cache, 100 MHz Bus Speed. I had installed the latest security update and repaired the permissions the day the problem started.
    Now to day I started the system and went in and created a Guest Account. I logged into the guest account and started Photoshop. Low and behold it worked just fine. So I logged out of guest and logged into my main user account And started Photoshop. Wouldn't you know it.... It works just fine. I can open any file I want with now problems.
    I got to thinking after I had done all of this that I wished I had tried to open a file in Photoshop today prior to creating the guest account to see if it still had the problem in my main user account.
    I did not change anything else on the system and all seems to work fine now. So at his point I am really not sure what the problem was.
    Again thanks for taking the time to respond to this issue.

  • Displaying Multiple Sentences in Confirmation Dialog Box

    Hi Experts,
    Can anybody please tell me how to display three or multiple separate sentences in a Confirmation
    Dialog box. I am able to diaplay two sentences in a single line but the dialog box is getting stretched a
    lot. So i want to diaply them in separate sentences onr below the other.
    Thanks a lot.

    Hi shrini...
                   you want to number of line display in one dialog box ..
                  you have to declare one Strinh like thiss as below..
    have to create one event method as OK...which is visible in eventhandler code as
    findInEventHandlers("OK");
    create one method in component aas showBox....
    public void showBox( )
        //@@begin showBox()
         String   dialogText="welocme to""\n""India""\n".........................
          IWDEventHandlerInfo info=wdControllerAPI.getControllerInfo().findInEventHandlers("OK");
         IWDConfirmationDialog win=wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText,info,"OKK");
      win.open();();
    thanks
    jati

  • How to Skip Print dialog window in smartforms

    Hi Experts,
    while printing the smartforms i dont want Print dialog window. I want as and when i pressed the print
    button it'll directly print with the specified printer.
    I tried with lot of option but it is not working for me . May be i missed some prameter to pass.
    Have a look in to my code below and make me correct .
    DATA : WA_CPARAM TYPE SSFCTRLOP,
           WA_OUTPUT TYPE SSFCOMPOP,
           JOB_OUTPUT_INFO TYPE SSFCRESCL.
          WA_CPARAM-PREVIEW = 'X'.
           WA_CPARAM-NO_DIALOG = 'X'.
          WA_CPARAM-DEVICE = 'PRINTER'.
          WA_OUTPUT-TDNOPRINT = 'X'.
           WA_OUTPUT-TDDEST = 'LP06'.
           WA_OUTPUT-TDIMMED = ' '.
           WA_OUTPUT-TDNEWID = 'X'.
          WA_OUTPUT-TDDELETE = 'X'.
           WA_OUTPUT-BCS_LANGU = SY-LANGU .
          WA_OUTPUT-TDPRINTER = 'X'.
    CALL FUNCTION FNAM
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       CONTROL_PARAMETERS = WA_CPARAM
       OUTPUT_OPTIONS     = WA_OUTPUT
       USER_SETTINGS      = ' '
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS = T_SSFCOMPOP
      USER_SETTINGS = ' '
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       = SSFCRESPD
       JOB_OUTPUT_INFO            =  job_output_info
      JOB_OUTPUT_OPTIONS         = WA_OUTPUT
        TABLES
        ITAB1                      = IT_ZADVMUTH1
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks In Advance.
    Satya

    Try with below parameters, it may help you to close the thread.
    WA_CPARAM-device = 'LP06'.
    WA_CPARAM-no_dialog = 'X'.
    WA_OUTPUT-tdnoprev = 'X'.
    WA_OUTPUT-tddest = 'LOCL'.
    WA_OUTPUT-tdnewid = 'X'.
    SELECT SINGLE * FROM usr01
    INTO ls_usr01
    WHERE bname = sy-uname
         AND spdb  = 'G'.
    If sy-subrc EQ 0.
    WA_OUTPUT-tdimmed = ' '.
    ELSE.
    WA_OUTPUT-tdimmed = 'X'.
    ENDIF.
    Regards,
    SaiRam

  • Is there an easy way to implement a confirm dialog?

    Hi All,
        I'm wondering is there an easy way to show an confirm dialog to user with out create a new view manually?
        Thanks,
    YiNing

    Hi ,
    use the below code for confirmation box , with 2 options "OK "
    and "Cancel"
    IWDControllerInfo controllerInfo =     wdControllerAPI.getViewInfo().getViewController();
    IWDConfirmationDialog dialog =     wdComponentAPI.getWindowManager().createConfirmationWindow
                                    ( String dialogText,controllerInfo.findInEventHandlers                                ("ok"),"Ok");
                        dialog.addChoice(controllerInfo.findInEventHandlers                                          ("cancel"), "Cancel");
                        dialog.open();     
    Thanks,
    Sunitha Hari

  • Passing values to a modal dialog window...

    Hi All,
    Is there a way to pass massive amount of data into a pop-up
    modal dialog window? I have this following code that keeps giving
    me a JavaScript error whenever I have like 2000 characters in the
    documen.myForm.Product_Details textarea field. Any suggestions or
    advice is greatly appreciated, and thank you very much in advance!
    function Modal_NewWin() {
    var width = 750;
    var depth = 200;
    var productDetails = document.myForm.Product_Details.value;
    var url =
    "PreviewProducts.cfm?ProductID=#GetProductInfo.ProductID#&ProductDetails="
    + productDetails;
    var sfeatures = "dialogHeight: " + depth + "px; dialogWidth:
    " + width + "px; dialogTop: px; dialogLeft: px; center: Yes; help:
    No; resizable: No; status: No;";
    return window.showModalDialog(url,'',sfeatures);

    can you use JSStringFormat() without first submitting the
    form??? (so CF can see the value in the form field jsstringformat
    is applied to..)
    submitting a form to the preview page will solve the problem
    for sure, but then you will somehow have to have 2 different action
    target for the form, so that clicking 'preview' button submits the
    form to the modal window, and clicking a 'save' button will submit
    the form to another action page that inserts values into a db...
    you can do that, again with some more javascript...
    as html-escaping javascripts are readily available on various
    script sites, i think it will be easier to employ one of them...
    (please note that i am assuming quiet a lot about how the
    AppDeveloper's form works and what it does, since he never
    explained it himself...)

Maybe you are looking for

  • Time series functions are not working in OBIEE for ESSBASE data source

    Hi All, I am facing a problem in OBIEE as I am getting error messages for measure columns with Time series functions(Ago,ToDate and PeriodRolling) in both RPD and Answers. Error is "Target database does not support Ago operation". But I am aware of O

  • How to use when-validate-item in the form personalization?

    Dear all, I want to use when-validate-item trigger in the form personalization on a specific item. while in the same time the when-validate-item is not included in the trigger event list. Please advice & Thanks in advance Ashraf Ashour

  • Trying to sync my itunes to my new pc

    I have two pc's.  My old HP has the originaly iTunes on it.  I logged into my new ASUS and copied my iTunes files from my HP.  How do I get my iTunes to recognize the files that I copied into my iTunes file.

  • Split and save on bookmarks

    I have multiple bookmarks. I can iterate through the bookmarks but how can I programmatically break the PDF into parts separated by the bookmarks and save each part to its own PDF?

  • Where is the Airport Express Assistant?

    I have successfully installed a first airport express as base. Now i want to add 3 more extensions ... but i cant find the assistant that allows me to the extension. I have looked in Applic/Utilities, but its not there. I think i am update in basic s