To create a dialog page

HI,
I have a requirement that when user clicks on Search button on Search page without entering any search criteria, a new dialog page(like an alert box) should appear displaying the msg "This Search will take long time.Do you wish to continue". If user selects on Yes button on this dialog page the details screen should open with search results. If user clicks on No button on this dialog page, the search page should be displayed.
Can anyone please provide me the steps to create a dialog page and setting the page forward URLs for Yes & No buttons of Dialog Page.
Thanks.

Hi
You can use the below code for that:-
(i) Write the below code in the search button event in PFR.
          OAException mainMessage=new OAException("This Search will take long time.Do you wish to continue");
          // Note that even though we're going to make our Yes/No buttons submit a
          // form, we still need some non-null value in the constructor's Yes/No
          // URL parameters for the buttons to render, so we just pass empty
          // Strings for this.
          OADialogPage dialogPage = new OADialogPage(OAException.WARNING,
          mainMessage, null, "", "");
          // Always use Message Dictionary for any Strings you want to display.
          dialogPage.setOkButtonItemName("SearchYesButton");
           dialogPage.setOkButtonToPost(true);
          dialogPage.setNoButtonToPost(true);
          dialogPage.setPostToCallingPage(true);
          // Now set our Yes/No labels instead of the default OK/Cancel.
          dialogPage.setOkButtonLabel("Yes");
          dialogPage.setNoButtonLabel("No");
          pageContext.redirectToDialogPage(dialogPage);(ii) Now handle the Yes Button in PFR like this
      if (pageContext.getParameter("SearchYesButton") != null)
         // Handle Search here
      }AJ

Similar Messages

  • Creating a dialog box with OK and Cancel buttons without OADialogPage

    Hi Experts,
    i want to create a dialog box for Delete Confirmation means after clicking on delete it should pop up a small dialog box with OK/Cancel buttons
    and need code for the same to handle the buttons.
    i have created with OADialogPage but its showing in a complete page but i want to show those buttons in a small box.
    Plz help.
    THANKS IN ADVANCE.
    Thanks
    Raja.

    Hi,
    I have not tried using javascript in destination URI as suggested by Mukul.
    I have tried the below code for opening a page as dialog box.
    You can try it for your requirement by creating a dialog page of your own, say XXDialogPage (with OK and Cancel button)
    StringBuffer l_buffer = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    String url = "/OA_HTML/OA.jsp?page=/xx/oracle/apps/fnd/dialog/webui/OADialogPG";
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:500, height:500},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    In dialog page's controller, you can forward it to the page onc ethe user selects OK or Cancel.
    Pass the selected value back to the main page and further you can use it for deleting.
    Regards.

  • Custom Dialog Page Forwarding Issues

    Hi,
    It would be much appreciated if someone is able to offer advice, I am trying to create a dialog page with an ok button which when selected returns the user to the standard e-business homepage.
    In my processFormRequest of the main calling page I am capturing the selection of a save button, committing the changes and then running the following code;
    OAException confirmMessage = new OAException("Your record has been successfully updated ");
    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION, confirmMessage,null,"","");
    dialogPage.setPageButtonBarRegionRefName("/xxx/oracle/apps/per/sw/webui/ConfButtonBarRN");
    pageContext.redirectToDialogPage(dialogPage);The called region being specified in the call setPageButtonBarRegionRefName is of the type page button bar and has one button named OkButton, I have given the region a controller and within the processFormRequest I have placed the following code
    if ( pageContext.getParameter("OkButton") != null) 
                 pageContext.forwardImmediately
                   ("OA.jsp?page=/oracle/apps/fnd/framework/navigate/webui/HomePG",
                      null,
                      OAWebBeanConstants.KEEP_MENU_CONTEXT,
                      null,
                      null,
                      false, // retain AM
                      OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }I have also tried placing this code in the calling pages processFormRequest however in each instance I get an error page stating that the page cannot be displayed;
    You cannot complete this task because one of the following events caused a loss of page data:
    •     Your login session has expired.
    •     A system failure has occurred.
    If anyone has any suggestions as to how I can get this dialog page to redirect the user back to the home page after selecting the ok button it would be very much appreciated as I have tried various different combinations to no avail.
    Many Thanks,
    Mike

    Ok I think I may have been looking at this for too long yesterday...
    I was able to get it to work by adding the following line to the calling of the dialog page and adding the handling of the response to the calling page;
    dialogPage.setPostToCallingPage(true);However I have now replaced the SubmitButton with a Button and set the URL to the homepage, skipping the calling page althogether and going direct to the homepage. In the code calling the dialog page I have added the following line as at the point of calling the dialog page I no longer require the AM.
    dialogPage.setRetainAMValue(false);Thanks for your quick response,
    Mike

  • Creating MsgTextInput in Dialog Page

    Hi,
    i hve a requirement to create a msgtxtinput in Dialog Page.
    im not sure that can we do that ........
    if anybody has any idea please share.
    thanxs
    Pranav

    Hi,
    create a new region of stack layout...under that create the textinput you want...
    and set the controller class to a custom controller.
    import the region.
    Now in Dialog Page make use of
    OADialogPage.setHeaderNestedRegionRefName() method to access that region.
    Thanks,
    Gaurav

  • What does the PopUp "Prevent this page from creating additional dialogs" really mean and if I check the Box, how do I undo this if this was the Wrong Thing To Do?

    What does the PopUp "Prevent this page from creating additional dialogs" really mean and if I check the Box, how do I undo this if this was the Wrong Thing To Do?
    Details
    Constantly, while using Firefox (Beta v 11.0), and/or ESPECIALLY, when I have my eMail @ Mail.com open, I get this PopUp stating: "For security reasons, restarting mail.com Mail is possible only via the mail.com Mail Service. Please close this window and restart mail.com Mail" BUT Then there is a CHECKBOX: "Prevent this page from creating additional dialogs."
    I have no idea if Checking this Box is a Good Idea or if it will Screw-Up my mail.com Mail Service...
    Anyone have an answer or explanation of the Use of this Little Check-Box?
    BJ Orden [email protected]

    You do not get any pop-up windows on that website if you tick that box.
    That setting is stored in the cache and you should see pop-ups again if you reload the page and bypass the cache.
    Reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)

  • How to open a new window from submit button &dialog page in current window?

    We have a requirement, wherein we have a OAF search page for PO lines with search criteria, Go button to search ,result region (table layout) and a submit button(Create new expedite).
    1. Now user can select some lines from result region and click on Submit button.
    2. On click of submit button we need to pop up a window or may be a dialog page asking that " Do you want open supplier web link portal or not?".
    3. If user clicks yes(in Dialog page) then first fetch the URL from a look up maintained in Oracle EBS on the basis of supplier of the lines selected and then open that URL in a new window and side by side we need to open a dialog page in search page asking "whether user has updated the expedite info in supplier portal or not?". On basis of this we need to updated some count in custom tables.
    So in step 3 i am facing problem, that how to open an URL in a new window through a submit button and side by side want to open a dialog page in the current window also.
    Hope a quick response from you all.
    Note:- To open a custom page we can have a link or button(button of type button and not submit button) on base page with destination url property as following javascript:
    javascript:var a = window.open('OA.jsp?page=/XXX/oracle/apps/xxx/......&retainAM=Y', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    So the question is how to do the same for submit button on OAF page???

    Antriksh,
    You just need to attach a submit action in button bean and not submit button bean, based on the output of confirm type of alert in javascript.
    Here is code u need to put in destination url of the button:
    //replace <confirm message> by message you want to show.
    javascript:input=confirm('<confirm message>');if(input==true){submitForm('DefaultFormName',0,{XXX:' abc'});}" Now in the process request of the base page CO, u can get parametre 'XXX' from the pagecontext....so
    if((("abc").equals(pageContext.getParameter("XXX"))))
    {/// custom LOGIC }
    The same i have replied in your mail. I hope this resolves the issue.
    --Mukul

  • I m using ms access as database and i want to create a login page in java

    hye frnz... plz help me m new to java
    m using ms access as database and try to create a login page where user type username and pw
    i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
    now there is an error class not found exception sun:jdbc...... error
    plz help me i had stuck frm 4 days */
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Login extends JFrame
    //Component Declarations
    JLabel jlb1,jlb2;
         JTextField jtf1;
         JPasswordField jpf1;
         JButton jb1,jb2;
         //Constructor
         Login()
         //frame settings
              setTitle("Login Dialog");
              setLayout(new GridBagLayout());
              GridBagConstraints gbc = new GridBagConstraints();
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              Dimension d= Toolkit.getDefaultToolkit().getScreenSize();
              setBounds(d.width/2-175,d.height/2-100,350,200);
              gbc.insets=new Insets(7,7,7,7);
         //adding components
              jlb1=new JLabel("User ID");
              gbc.gridx=0;
              gbc.gridy=0;
              add(jlb1,gbc);
              jlb2=new JLabel("Password");
              gbc.gridx=0;
              gbc.gridy=1;
              add(jlb2,gbc);
              jtf1=new JTextField(10);
              gbc.gridx=1;
              gbc.gridy=0;
              add(jtf1,gbc);
              jpf1=new JPasswordField(10);
              gbc.gridx=1;
              gbc.gridy=1;
              add(jpf1,gbc);
              jb1=new JButton("Login");
              gbc.gridx=0;
              gbc.gridy=2;
              add(jb1,gbc);
              jb1.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                   Connection conn=null;
                        Statement stmt=null;
                        boolean found=false;
                   try
                             Class.forName("sun.jdbc.driver.JdbcOdbcDriver");
                             String dataSourceName = "Inventory";
                             String dbURL = "jdbc:odbc:" + dataSourceName;
                             conn=DriverManager.getConnection(dbURL, "","");
                             stmt=conn.createStatement();
                             ResultSet rst=stmt.executeQuery("Select * from User");
                             System.out.println(jtf1.getText()+"/t"+jpf1.getPassword());
                             while(rst.next())
                                  System.out.println( rst.getString(1) +"/t"+ rst.getString(2));
              if(jtf1.getText().equals(rst.getString(1).trim()) && new String(jpf1.getPassword()).equals(rst.getString(2).trim()))
                                       found=true;
                                       rst.close();
                                       dispose();
                                       MainWindow mw= new MainWindow();     /*created min window object created to be opend after login but not working*/     
                                       break;
                             rst.close();
                             stmt.close();
                             conn.close();                    
                        catch(ClassNotFoundException e){System.out.print(e);}
                        catch(Exception e){System.out.print(e);}
                        if(found==false) /*this portion is executing and dialog box appears invalid name and pw with class not found exception sun:jdbc.......on console */
                             JOptionPane.showMessageDialog(null,"Invalid username or password",
                                  "Error Message",JOptionPane.ERROR_MESSAGE);
              jb2=new JButton("Clear");
              gbc.gridx=1;
              gbc.gridy=2;
              add(jb2,gbc);
              jb2.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        jtf1.setText("");
                        jpf1.setText("");
                        jtf1.requestFocus();
              setSize(350,200);
              setVisible(true);
              jtf1.requestFocus();
         public static void main(String args[])
    Login l=new Login();
    }

    http://forums.oracle.com/forums/ann.jspa?annID=599
    Oh, and by the way, your keyboard seems to be broken as your words are not getting spelled correctly.

  • Plz help using ms access as database,i want to create a login page in java

    hye frnz... plz help me m new to java
    m using ms access as database and try to create a login page where user type username and pw
    i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
    now there is an error class not found exception sun:jdbc...... error
    plz help me i had stuck frm 4 days */
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Login extends JFrame
    //Component Declarations
    JLabel jlb1,jlb2;
         JTextField jtf1;
         JPasswordField jpf1;
         JButton jb1,jb2;
         //Constructor
         Login()
         //frame settings
              setTitle("Login Dialog");
              setLayout(new GridBagLayout());
              GridBagConstraints gbc = new GridBagConstraints();
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              Dimension d= Toolkit.getDefaultToolkit().getScreenSize();
              setBounds(d.width/2-175,d.height/2-100,350,200);
              gbc.insets=new Insets(7,7,7,7);
         //adding components
              jlb1=new JLabel("User ID");
              gbc.gridx=0;
              gbc.gridy=0;
              add(jlb1,gbc);
              jlb2=new JLabel("Password");
              gbc.gridx=0;
              gbc.gridy=1;
              add(jlb2,gbc);
              jtf1=new JTextField(10);
              gbc.gridx=1;
              gbc.gridy=0;
              add(jtf1,gbc);
              jpf1=new JPasswordField(10);
              gbc.gridx=1;
              gbc.gridy=1;
              add(jpf1,gbc);
              jb1=new JButton("Login");
              gbc.gridx=0;
              gbc.gridy=2;
              add(jb1,gbc);
              jb1.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                   Connection conn=null;
                        Statement stmt=null;
                        boolean found=false;
                   try
                             Class.forName("sun.jdbc.driver.JdbcOdbcDriver");
                             String dataSourceName = "Inventory";
                             String dbURL = "jdbc:odbc:" + dataSourceName;
                             conn=DriverManager.getConnection(dbURL, "","");
                             stmt=conn.createStatement();
                             ResultSet rst=stmt.executeQuery("Select * from User");
                             System.out.println(jtf1.getText()+"/t"+jpf1.getPassword());
                             while(rst.next())
                                  System.out.println( rst.getString(1) +"/t"+ rst.getString(2));
              if(jtf1.getText().equals(rst.getString(1).trim()) && new String(jpf1.getPassword()).equals(rst.getString(2).trim()))
                                       found=true;
                                       rst.close();
                                       dispose();
                                       MainWindow mw= new MainWindow();     /*created min window object created to be opend after login but not working*/     
                                       break;
                             rst.close();
                             stmt.close();
                             conn.close();                    
                        catch(ClassNotFoundException e){System.out.print(e);}
                        catch(Exception e){System.out.print(e);}
                        if(found==false) /*this portion is executing and dialog box appears invalid name and pw with class not found exception sun:jdbc.......on console */
                             JOptionPane.showMessageDialog(null,"Invalid username or password",
                                  "Error Message",JOptionPane.ERROR_MESSAGE);
              jb2=new JButton("Clear");
              gbc.gridx=1;
              gbc.gridy=2;
              add(jb2,gbc);
              jb2.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        jtf1.setText("");
                        jpf1.setText("");
                        jtf1.requestFocus();
              setSize(350,200);
              setVisible(true);
              jtf1.requestFocus();
         public static void main(String args[])
    Login l=new Login();
    Edited by: 795772 on Sep 19, 2010 4:44 AM

    795772 wrote:
    hye frnz... plz help me m new to java
    m using ms access as database and try to create a login page where user type username and pw
    i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
    now there is an error class not found exception sun:jdbc...... error
    plz help me i had stuck frm 4 days */
    <snip>The subject of this forum is Oracle databases. How does your problem relate to that subject?
    Two bits of advice:
    1) Make sure you ask questions in a forum related to your problem.
    2) If you want to be taken seriously as a professional, drop the MS IM Speak and use the language of the forum. In this forum it is English, which is successfully used by many people for whom English is far from their native language.

  • 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.

  • Database options grayed when creating ASP (Javascript) page

    I recently installed CS5 Master Suite on a WinXP-32 machine and was able to create ASP pages in Javascript that could connect to and update a Microsoft Access 2003 database.  But since certain apps in the suite required 64-bit OS, I wiped the machine and installed Windows 7 64-bit.
    I've managed to get it set up so that I can connect to the database if I create a new ASP page with VBScript, but if I create a new page with Javascript, the ability to add a new connection in the database pane is grayed out, despite all the items listed underneath being checked off.
    I assume the DSN is setup correctly since the VBScript pages work.  I've installed IIS7 on the machine with 32-bit application pool enabled so that the server can connect with the 32-bit ODBC driver.
    Any hints on how to get database connection working in Javascript pages would be greatly appreciated!

    Actually, it appears you were right. . .  according to:
    http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-79e0a .html
    Note: As of Dreamweaver CS5, Dreamweaver no longer installs ASP.NET, ASP JavaScript, or JSP server behaviors. If you’re working on ASP.NET, ASP JavaScript, or JSP pages, however, Dreamweaver will still support Live view, code coloring, and code hinting for those pages. You do not need to select ASP.NET, ASP JavaScript or JSP in the Site Definition dialog box for any of these features to work.
    The only reason I can think that it worked prior to the OS change was that we did have CS4 installed which was later upgraded to CS5.  The pages may have either been created prior to the upgrade or it retained support for ASP Javascript through the upgrade, but no longer had it with the fresh install after the OS change,
    Thanks for the info.  Knowing it was a design decision on Adobe's part made it a bit easier to generate a search to locate the info I was looking for.

  • After deletion of record the dialog page is coming back to source page

    Dear all
    Good Morning
    i have creation page user will enter it will call to view mode,in that user will click on edit button again it will call to creation page with editable mode.
    in that creation page editable mode user click on delete button it willl call to dialog page buttons "Yes" AND "NO"
    user will click on yes the record is deleted but again after deletion of record again it is calling to creation page and creating blank record
    but my requirement is after click on yes button it will delete the record and navigate to search page
    how is it?
    in my case again it is coming to creation page.
    /*in edit page user click on delete button it will call to dialog page*/
    if ("Delete".equals(pageContext.getParameter(EVENT_PARAM)))
    String oid = pageContext.getParameter("oid");
    OAException msg = new OAException("PO", "XX_DELETE_SUPPSITE_CONFIRM");
    OADialogPage dpage =
    new OADialogPage(OAException.WARNING, msg, null, "", "");
    dpage.setOkButtonToPost(true);
    dpage.setOkButtonLabel("Yes");
    dpage.setOkButtonItemName("DeleteYes");
    dpage.setPostToCallingPage(true);
    dpage.setNoButtonToPost(true);
    dpage.setNoButtonItemName("DeleteNo");
    Hashtable ht = new Hashtable(1);
    ht.put("d1", oid);
    dpage.setFormParameters(ht);
    pageContext.redirectToDialogPage(dpage);
    /*If user click on No button it will call to editable mode*/(previuos page)
    if(pageContext.getParameter("DeleteNo")!=null)
    System.out.println("User will click on this button....");
    String oppoid = (String)pageContext.getSessionValue("xxoppoid");
    HashMap hp=new HashMap();
    hp.put("Purpose","Edit");
    hp.put("oppoid",oppoid);
    pageContext.setForceForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationcreationPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, hp, false, null,
    OAWebBeanConstants.IGNORE_MESSAGES);
    /*if user will click on delete yes button*/ after delete i want to call search page but it is going to search page internally it is coming to creation page and blank record is created.*/
    if (pageContext.getParameter("DeleteYes") != null)
    String s1 = pageContext.getParameter("d1");
    am.xxDeleteQuotation(s1);
    pageContext.setForceForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationsearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, null, true, null,
    OAWebBeanConstants.IGNORE_MESSAGES);
    I hope u understand my question
    Regards
    Sreekanth

    Hi Gaurav,
    Already i am using what u saying that way.
    That way also,am getting the error
    My Co Code is,
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    xxcrmItemMgmtAMImpl am = (xxcrmItemMgmtAMImpl)pageContext.getApplicationModule(webBean);
    String valid = pageContext.getParameter("Dialog");
    System.out.println("the value of valid is"+valid);
    if(valid!=null)
    pageContext.setForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmItemsAddPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,null,false,OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    String itemid=pageContext.getParameter("itemid");
    pageContext.putSessionValue("itemid",itemid);
    System.out.println("the item id in additem viewco is"+itemid);
    am.xxeditAddItem(itemid);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    xxcrmItemMgmtAMImpl am = (xxcrmItemMgmtAMImpl)pageContext.getApplicationModule(webBean);
    if("Delete".equals(pageContext.getParameter(EVENT_PARAM))) {
    String itemid=pageContext.getSessionValue("itemid").toString();
    OAException msg=new OAException("PO","XX_DELETE_SUPPSITE_CONFIRM");
    OADialogPage dpage=new OADialogPage(OAException.WARNING,
    msg,null,"","");
    System.out.println("this is delete block1");
    dpage.setOkButtonToPost(true);
    dpage.setOkButtonLabel("Yes");
    dpage.setOkButtonItemName("DeleteYes");
    dpage.setPostToCallingPage(true);
    dpage.setNoButtonToPost(true);
    Hashtable ht=new Hashtable();
    ht.put("d1",itemid);
    dpage.setFormParameters(ht);
    pageContext.redirectToDialogPage(dpage);
    System.out.println("this is delete block2");
    if(pageContext.getParameter("DeleteYes")!=null) {
    String itemid=pageContext.getParameter("d1");
    Serializable[] d1={itemid};
    am.invokeMethod("xxDeleteItem",d1);
    HashMap hm=new HashMap();
    hm.put("Dialog","Yes");
    String test=hm.get("Dialog").toString();
    System.out.println("the dialog page value is"+test);
    pageContext.forwardImmediatelyToCurrentPage(hm,false,null);
    }

  • Acrobat 8 Professional can't find the scanning device when creating the second page of the PDF file

    Hey guys, this is my first post here, so please excuse me if there is anything I need to know.
    I am a Mac User and I have the whole CS3 suit installed.
    Everything works just great except there is this little thing bugs me around.
    When I try to use Acrobat Professional 8.0 to create a PDF file through my scanner, (samsung SCX-4725FN, it's scan/print/fax combined) I wouldn't be able to continue to scan to the second page. To be more specific, I have no problem to scan and create the first page of the PDF file, when it asks me if I want to scan and create another page, when I confirmed it, I wouldn't be able to see the scanner in the "Acrobat Scan" window. The "scan" botton stay faded, therefore I can't continue. If I click "cancel" and try to create another PDF file from the scanner, the smae problem will show up again. The only way that I can continue to scan is to quit the program from the menu bar and restart it, then I can start to create the next '1st page only' PDF file from the scanner. I had to do this rapidly to get all the pages scanned first, and then combine them to get my work done. This is a pain in the butt. I have downloaded the most updated scanner driver, and patched Acrobat to version 8.1.2 , but the problem still exist. I have tested the scanner with PS CS3, the scanner works just fine. So I assume there is a glitch here with the software. Can anyone help me please?

    I am not very clear at which step you are facing issue. Below is the sequence in order to scan more pages from Acrobat:
    1. Launch Acrobat. Click menu File->Create PDF->From Scanner....
    2. "Acrobat Scan" dialog will appear. Select your scanner installed in Scanner dropdown. Check 'Prompt for scanning more pages' checkbox as you want to scan more than one page. Click Scan button in "Acrobat Scan" dialog.
    3. Now scanner UI will appear. Make setting like color mode/resolution and click Scan button(or may be Accept button) in this dialog. (This is scanner specific ui)
    4. After this scanning will happen and "Acrobat Scan" dialog will appear with "Scan is Complete" and "Scan more pages" option.
    5. Select "Scan more pages" option and click OK in this dialog to scan more pages.
    6. Now again scanner UI will appear as in step 3 above. Make your settings and proceed.
    Do you see scanner UI or "Acrobat Scan" dialog in step6? Are you not able to click Scan(or Accept) button in scanner UI?

  • Dialog page in a new page

    Hi all,
    I created a new page and create an update functionality in which the fields can be updated on click of a button. Everything is working fine but when i use a OADialogpage for confirmation of the click of the update button, i am not getting any error but the data is not getting saved.
    Can anyone has any idea why this is happening??
    Thank you
    PK

    Kumar,
    What do u mean by using "commit" in dialog page?? the user is talking about OADialog page, and prior using OADialog page, the data was getting saved, so naturally transaction.commit(), is there in his code.
    PK,
    The only possible reason I can see the data is not saving can be because of two facts :
    1)In process request this code is missing
    if (!vo.isPreparedForExecution())
    //your method is invoke the vO query
    vo.executeQuery();
    The reason for inserting the above check upon executeQuery() is because if a post (form submit) action occurs on a page that is different from the page where the last request was issued, OA Framework tries to re-enter the processRequest() phase to synchronize the state on the middle tier with the state on the client browser. The logic above handles cases where the request is redirected to another JVM as well. In such cases, processRequest() is entered to rebuild the web bean hierarchy.
    2)
    setPostToCallingPage(true) is missing in your code.
    If you have done both still your code is not working ahre the code, we will review and let you know the error.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • "Create Book from Page" Question

    In the Table of Contents Pod, I can right-click on a topic/page and select "Create Book from Page." When I do so, the resulting "book" is not selectable. I have to bring in the page again and place it below the "Book" title. This can't be right! What am I doing wrong, or what should I be doing?

    Here's what I found as to how to associate a topic with the book:
    You’ll have to create a topic to associate with that book. Here’s one way to do that:
    Right click the book icon in the Table of Contents (TOC).
    Point to New in the right-click menu. Then, click Page in the sub-menu that displays.
      This places that topic in the level under that book. Now you just need to associate that topic with that book (so that when you click on the book, this topic displays). 
    Right-click the book icon again. This time select Properties in the right-click menu that displays. This displays the TOC Book Properties dialog.
    Select the checkbox preceding Book with Link on this dialog. Now, scroll through the Existing Topics list to locate the topic you want to associate with that book. Click that topic in the list. Then, click OK on the dialog.
      To see if your topic is now associated with your book: 
    Right-click the book icon. If options Edit Item and Preview topic display on the right-click menu, you have been successful in associating that topic with that book. By the way, once you have associated a topic with a book, you must right-click the book icon to view or edit that topic from the TOC pod. (Of course, you can always edit it directly using the Topic List or Project manager pods.)
    But... (see the second bullet above) After I click "page" I think it wants me to select a page from the list of topics. When I select the proper page and continue through the process, the topic page is still below the Book title and the Book still isn't clickable!
    It appears I'm doing something wrong on the association part, but I don't know what!

  • How do you create a new page when user checks a box?

    I guess it would be a check box.  I'm looking for a way to have the user select create a new page when the user runs out of space in the text box that is given.  So if its possible is there a way to create a new page with a continuing text box when the user has selected the create a new page check box.  Thanks.

    Hi,
    You can achieve this by just making some changes to the textfield (and the page layout).
    First, select the textfield and then in the Layout palette, tick 'expand' height to fit'. When you preview the form, you will see that as you type information into the field, a scroll bar will appear. When you exit the field, it will expand automatically to display the full contents.
    Now the problem will be that the textfield will expand over objects that are positioned below it - not good!
    So what you need to do is set up your form for a flowed layout. First select all of the objects that do not grow in size and wrap them inside a 'positioned subform'. When you select the subform you can see this setting in the Object > Subform palette. You should name the subforms in the hierarchy. So you will end up with a positioned subform above your textfield and a positioned subform beneath your textfield (if you have objects beneath it).
    Then select page1 in the hierarchy and in the Object > Subform palette, change the content to 'flowed'. Hopefully the layout won't change too much (because you will have most of your objects in their positioned subform).
    Last step is to select the textfield and in the Object > Field palette tick 'Allow page breaks within content'. This tells Acrobat/Reader to split the object if it overflows onto a new page.
    Now save the form as a Dynamic XML Form in the save as dialog and previewed it. Now when the textfield expands it will push objects beneath it down. Also when it gets to the bottom of the page, it will start a new page automatically and continue the content on the new page.
    Here is an example:
    https://acrobat.com/#d=kwa4t2vu6mXbgMCyqEF0aQ
    Paul Guerette is giving an online tech talk on dynamic forms on the 30 November, which I would recommend. Details here:
    http://acrobatusers.com/events/49326/tech-talk-developing-flowable-form-content
    Hope that helps,
    Niall

Maybe you are looking for

  • Switching off Macmini without Display

    One of the ways I would like to use my Macmini is with Windows XP Pro on Bootcamp controlled through Windows Remote Desktop without a display, keyboard and mouse connected. This all works perfect, but I have just one question left: Is there a way to

  • Right-click to open photos in PSE

    I used to be able to right-click on a photo and select 'open with PSE 11' but, I installed Portrait Professional on my laptop and now PSE doesn't show as an option. I even tried to change the program at the bottom of the window, but PSE doesn't even

  • SOLVED iTunes freeze issue by DISABLING "NOW PLAYING" in IM client!!!

    SOLVED (for me). I have been scouring posts/forums for three weeks trying to resolve this. I finally stumbled across a suggestion that WORKED! This sounds crazy--I disregarded it, but was willing to try anything... My IM client (Trillain & Gtalk) was

  • My point of view about Director Future

    Dear all, I just want to share with you what I think could be a good future for Director. I am not a Director expert but I really like it, I also use Flash and 3D programs like Maya. Lately I have been investigating game engines for an educational pr

  • How to ttransfer itunes music from ipad to mac os x 10.4, itunes 9

    how to transfer itunes music from ipad to mac os x 10.4, itunes 9