Connect a .jsf page to a menu item under a menu

hi ,
could someone assist me on how to connect a menu item under menu to a .jsf webpage
i m following the tutorial i m just getting different result.
http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_43/jdtut_11r2_43.html
regards

Hi,
Please make sure you are following all steps in the tutorial.
Similar case this video might help but it is only for Breadcrumbs but concept is same http://www.baigzeeshan.com/2011/02/how-to-create-breadcrumbs-in-oracle-adf.html
Zeeshan

Similar Messages

  • Problem connecting JSF page with SQL server 2005 DB

    hello guys,
    i have tried working with the visual web JSF in NET BEANS 6.1 IDE.
    i get an error connecting the jsf page witht he sql server 2005 db.
    i get an odbc:jdbc error.
    can anyone gimme the exact correct coding to connect a a jsf page with the sql server 2005 db.
    expecting a reply soon...
    thanks a lot....
    sandeep

    You need to elaborate a bit more about the problem.
    Read this to get more chance on suitable help: [http://www.catb.org/~esr/faqs/smart-questions.html].

  • Focus on a specific item on JSF page

    How we can focus on a specific item on JSF page in Jdev 11g.
    In our use case user chose something from a radio button Then he want to focus on specific item on page.
    Thanks.

    I don't think so. One other thing is to insert javascript to the page from the code (backing bean):
                    FacesContext facesContext = FacesContext.getCurrentInstance();
                    ExtendedRenderKitService service = (ExtendedRenderKitService)
                    Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
                    service.addScript(facesContext, "alert(\"Hello!\");");Pedja

  • 12c design view of JSF page fails to render with 'Loading failed  Reason: Connection reset by server'

    When in the design view of a JSF page, the page never renders in JDeveloper 12c.  Instead I get an error message 'Loading failed   Reason: Connection reset by server'.  I traced this to a conflict with the port used by Cisco Anyconnect (5001) which seems to be something JDeveloper uses as well to render the page.  Is there a way to change the port used to render the page in design mode?  I could not find any settings in the preferences.

    Hi Frank,
    The proxy settings are set to use the system default proxy settings in JDev and I have not needed to change it when VPN'ed. 
    The product that is in conflict is the 'AnyConnect Web Security Agent' (acwebsecagent.exe) which runs whether I am on vpn or am in the office - it is listening on port 5001 and that is the same port jdev64w.exe is listening to when rendering the page in the design mode.  I confirmed this using netstat -ab.  After  getting the conflicting program switched off temporarily, the design mode of the page was rendered within the IDE so that I could then drop components on the design surface.
    Since I cannot get the Cisco product to listen on a different port, I am hopeful there is a way to modify the port used by JDev.
    Thanks,
    Sunil

  • I can't get to the Firefox Start Page which has menu items such as Bookmarks, toll , etc

    I can't get to the Firefox Start Page which has menu items such as Bookmarks,Tools , etc.Also there is no back arrow.
    == This happened ==
    Every time Firefox opened

    '''''"menu items such as Bookmarks,Tools , etc"''''': That's the Menu Bar; see below.
    '''''"Also there is no back arrow"''''': That's on the Navigation Toolbar; see "<u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u>" below. Also see the articles under "Also see:" at the end of the instructions.
    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
    <u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
    <u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See:
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''

  • JSF pages to display content from external URLs

    Hi,
    Is it possible for a JSF page that uses ADF controls, and the PanelPage component to provide menuing, etc. to actually allow a HTML page (accessed via a URL to an external site/application) to be displayed in an area within the JSF page?
    For example, clicking a menu item to an external HTML page results in the page being displayed in a Frame or similar within the JSF page?
    I've tried the FrameBorderLayout control and Frame control to try to embed a Frame to display such a page via the target setting for a menu item, but that doesn't seem to work. At least not when within a PanelPage. It works within a basic JSP page.
    I would have thought it would be possible for a JSF application to incorporate HTML content from other sites/servers as if part of the application. Even if this meant defining "wrapper" pages of some sort to effectively link these into the JSF application as part of it's navigation rules.
    Or am I missing something?
    Gene

    Thanks,
    Yes, using an iFrame tag within a verbatim tag worked, allowing me to specify an external URL to a page which is then displayed at the location where I placed the verbatim tag. I need to investigate sizing/border settings, but at least I now seem to be able to embed such pages.
    This works.
    I tried jsp:include as well, but that only seems to allow relative URLs to pages that a part of the application. And using the c:import JSTL tag would import a page at an external URL, but didn't seem to position it where I wanted it.
    Gene

  • Tabmenu in a JSF page

    hi all,
    I am supposed to create an Application in JSF.Functionality is to create a page with multiple tab items that display different pages for each tab. The main concern is that i need the tab menu to in the middle of the page , meaning , the page consists of two halves - the upper half remaining constant , fixed & then the page below which changes according to the tab selected.

    What I've been doing is including my tabbed pages using jsp:include as follows:
    <af:showOneTab position="both">
       <af:showDetailItem id="headlines" text="Headlines" rendered="true"
                   disclosureListener="#{AdministratorPage.disclosureListener}">
                  <jsp:include flush="true"
                        page="/jspf/AdministratorPage/Headlines.jsp"/>
      </af:showDetailItem>
      <af:showDetailItem id="useradmin" text="Users" rendered="true"
                         partialTriggers="change_displayed_users update_user create_user email_user"
                        disclosureListener="#{AdministratorPage.disclosureListener}">
        <jsp:include flush="true"
                     page="/jspf/AdministratorPage/UserTable.jsp"/>
       </af:showDetailItem>
        <af:showDetailItem id="groupadmin" text="Groups"
            rendered="#{Session.user.globalAdmin}"
            disclosureListener="#AdministratorPage.disclosureListener}">
             <jsp:include flush="true"
                    page="/jspf/AdministratorPage/GroupTable.jsp"/>
       </af:showDetailItem>
    and so on
    ...The included JSP files look something like this:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces">
        <af:panelForm labelWidth="15" rows="2" maxColumns="2">
            <af:inputText label="Home Page Message:"
                          value="#{Application.homePageHeadline}" columns="80"
                          rows="8"
                          tip="is displayed on a dedicated left hand panel of the Home Page.  It will most often be read by users who are just logging in."/>
            <af:inputText label="Banner Headline:"
                          value="#{Application.bannerHeadline}" columns="80"
                          rows="2"
                          tip="is displayed immediately under the Banner logo on every page.  It will displayed to all users the next time they update the page."/>
            <f:facet name="footer">
                <af:panelButtonBar>
                    <af:commandButton text="Apply"/>
                    <af:resetButton text="Reset"/>
                </af:panelButtonBar>
            </f:facet>
        </af:panelForm>
    </jsp:root>

  • Gernerate JSF page through program

    Hi all of you,
    my name is Salomon i am a beginer in JSF programming with Oracle Jdeveloper 10g release 3.
    My difficulty is how to acivate and desactivate UI components on JSF page (or rather JSP page) through program (maybe a method integrated in class associated with JSP page)
    ,and also add or remove UI components on the JSP programmaticaly.
    I am looking forward in hearing from you soon.
    Thank you

    Hi,
    thank for your response but i got another problem:
    How to reach a component which is in jsf page whithin another jsf page
    programmaticaly so that i can modify its properties (mainly hide or show a commandbutton menu item ...) before displaying this page (page containing the component to modify) through the " return outcomename " statement.
    Thank you
    Salomon
    Message was edited by:
    user554608

  • How to Use another JSF page that I load by XMLHttpRequest?

    Hi everyone, I'm a newbie of JSF and curisous about how to load page content seperately by AJAX.
    I saw example of Java Blue Print. It's load some data to use in page. What I want is to load another JSF page when click a link or button, (Like include another page). And work with functions privoided by loaded JSF Page.
    My example is, In a main page. I request a JSF page and set it into a div layer.
    var requestURL = "/admin/customer/customer-list-body.faces";
    var content = postDataWithoutContent(requestURL);     divContent.innerHTML = content;     
    All JSF components are required under <f:view>, thus action of form is set as "action='"/admin/customer/customer-list-body.faces'"
    But my page is main.jsp. Each time I click command button in customer-list-body.faces, the url will change to customer-list-body.faces, I want to request and hold in main.jsp.
    What can I do then? Any advices?

    Hi,
    the list doesn't seem to be your problem. You need to track down the illegal argument exception. Once you have that sorted out, expose the method on the AM so it gets shown as a method binding. The return values then could be picked up in a managed bean to create the select Item list
    Frank

  • How can I put an output stream (HTML) from a remote process on my JSF page

    Hello,
    I've a question if someone could help.
    I have a jsf application that need to execute some remote stuff on a different process (it is a SAS application). This remote process produces in output an html table that I want to display in my jsf page.
    So I use a socket SAS class for setting up a server socket in a separate thread. The primary use of this class is to setup a socket listener, submit a command to a remote process (such as SAS) to generate a data stream (such as HTML or graphics) back to the listening socket, and then write the contents of the stream back to the servlet stream.
    Now the problem is that I loose my jsf page at all. I need a suggestion if some one would help, to understand how can I use this html datastream without writing on my Servlet output stream.
    Thank you in advance
    A.
    Just if you want to look at the details .....
    // Create the remote model
    com.sas.sasserver.submit.SubmitInterface si =
    (com.sas.sasserver.submit.SubmitInterface)
    rocf.newInstance(com.sas.sasserver.submit.SubmitInterface.class, connection);
    // Create a work dataset
    String stmt = "data work.foo;input field1 $ field2 $;cards;\na b\nc d\n;run;";
    si.setProgramText(stmt);
    // Setup our socket listener and get the port that it is bound to
    com.sas.servlet.util.SocketListener socket =
    new com.sas.servlet.util.SocketListener();
    int port = socket.setup();
    socket.start();
    // Get the localhost name
    String localhost = (java.net.InetAddress.getLocalHost()).getHostAddress();
    stmt = "filename sock SOCKET '" + localhost + ":" + port + "';";
    si.setProgramText(stmt);
    // Setup the ods options
    stmt = "ods html body=sock style=brick;";
    si.setProgramText(stmt);
    // Print the dataset
    stmt = "proc print data=work.foo;run;";
    si.setProgramText(stmt);
    // Close
    stmt = "ods html close;run;";
    si.setProgramText(stmt);
    // get my output stream
    context = FacesContext.getCurrentInstance();
    HttpServletResponse response = (HttpServletResponse) context.getExternalContext().getResponse();
    ServletOutputStream out = response.getOutputStream();
    // Write the data from the socket to the response
    socket.write(out);
    // Close the socket listener
    socket.close();

    The system exec function is on the Communication palette. Its for executing system commands. On my Win2K system, the help for FTP is:
    "Ftp
    Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. Click ftp commands in the Related Topics list for a description of available ftp subcommands. This command is available only if the TCP/IP protocol has been installed. Ftp is a service, that, once started, creates a sub-environment in which you can use ftp commands, and from which you can return to the Windows 2000 command prompt by typing the quit subcommand. When the ftp sub-environment is running, it is indicated by the ftp command prompt.
    ftp [-v] [-n] [-i] [-d] [-g]
    [-s:filename] [-a] [-w:windowsize] [computer]
    Parameters
    -v
    Suppresses display of remote server responses.
    -n
    Suppresses autologin upon initial connection.
    -i
    Turns off interactive prompting during multiple file transfers.
    -d
    Enables debugging, displaying all ftp commands passed between the client and server.
    -g
    Disables file name globbing, which permits the use of wildcard characters (* and ?) in local file and path names. (See the glob command in the online Command Reference.)
    -s:filename
    Specifies a text file containing ftp commands; the commands automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>).
    -a
    Use any local interface when binding data connection.
    -w:windowsize
    Overrides the default transfer buffer size of 4096.
    computer
    Specifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last paramete
    r on the line."
    I use tftp all of the time to transfer files in a similar manner. Test the transfer from the Windows command line and copy it into a VI. Pass the command line to system exec and wait until it's done.

  • Problem in using MySQL in JSF Pages

    Hi,
    I am facing a problem regarding use of MySQL in JSF.
    I am using IBM RAD 6.0 for application developement.
    Previously creating a normal java application which is used of retrieval of the data from the database was working fine. by including j/connector jar file in java build path.
    But when same program is converted to web service and accessed through a JSF page using a managed bean it is not working. It throws classNotFoundException
    Please reply at your earliest.
    Thanks in advance.
    Regards,
    Amit
    code :-
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class BeanClass
         public String display()
              Connection conn = null;
              Statement stmt = null;
              ResultSet rs = null;
              String returnDate = "";
              try
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
                   System.out.println("Sucess");
                   conn=DriverManager.getConnection("jdbc:mysql://localhost/switching","root","pspl");
                   System.out.println("Sucess******");
                   stmt = conn.createStatement();
                   System.out.println("Sucess^^^^^^^^^");
                   rs = stmt.executeQuery("SELECT * FROM log1 where senderId = '008' ");
                   System.out.println("Sucess#########");
                   while(rs.next())
                        System.out.println("Date : " + rs.getString("expDate"));
                        returnDate = rs.getString("expDate");
                   System.out.println("Final success");     
                   System.out.println("Sucess@@@@@@@@@@@@@@@@");
              }catch(ClassNotFoundException cnfe)
                   System.err.println("Drivers not found " + cnfe.toString());
                   cnfe.printStackTrace();
              catch(IllegalAccessException iae)
                   System.err.println("Access Exception");
              catch(InstantiationException ie)
                   System.err.println("Instatiation Exception");
              catch(SQLException se)
                   System.err.println("SQL EXCEPTION");
                   se.printStackTrace();
              System.out.println("Date is = " + returnDate);
              return returnDate;
    Errors are :-
    [5/3/06 10:47:33:358 IST] 00000061 SystemErr R java.lang.ClassNotFoundException: com.mysql.jdbc.Driver     at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName1(Native Method)
         at java.lang.Class.forName(Class.java(Compiled Code))
         at packBean.BeanClass.display(BeanClass.java:29)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
         at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
         at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:423)
         at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:388)
         at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
         at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:203)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:225)
         at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:151)
         at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:225)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:225)
         at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:279)
         at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:673)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1802)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:469)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:408)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:286)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

    You have to put myfaces jar on the web-inf/lib

  • How to get the initial state of JSF PAGE IN ORACLE ADF

    Hi everybody
    my Jdeveloper version is 12.1.3
    I'm building my JSF pages based on a template that has a navigation pane which contains command navigation items , every one of them (command navigation items) appears as a link at runtime and calls a JSF page , I wish to get the initial state for any page when leaving it then entering such page again , and I would like to know what is the suitable place to write the code to do this task.
    many thanks !

    Clear the cache by adding the following to each jsf page.
    <%
    response.setHeader("Cache-Control","no-cache"); 
    response.setHeader("Pragma","no-cache");
    %>

  • How do I add "Save As" to the Pages drop down menu?

    How do I add "Save As" to the Pages drop down menu?

    It took me awhile but I found what I was looking for. This is posted at http://www.tuaw.com/2012/07/29/get-save-as-back-on-mountain-lions-file-menu-easi ly-and-without/
    Option 1. Terminal.app If you are comfortable using Terminal.app, you can add a different keyboard shortcut this with one simple line. First, quit all your apps except Finder and Terminal. Then paste this command (as one line) into Terminal.app (and press Return):
    1
    defaults write -globalDomain NSUserKeyEquivalents -dict-add 'Save As...' '@$S' 
    view rawdwrite-global-saveas.sh hosted with ❤ by GitHub
    That's it!
    Launch TextEdit and open the 'File' menu and you should see "Save As..." back in its rightful spot with its original Command + Shift + S shortcut, as shown in the image above.
    Aside: After you enter the 'defaults write' command, you will not see any confirmation that it was entered correctly. Terminal.app is a little terse sometimes. If you want to verify it from the command-line, enter this:
    defaults read -globalDomain NSUserKeyEquivalents
    and look for "Save As..." = "@$s"; in the output.
    Option 2. System Preferences.app If you would rather not use Terminal, it's still very easy to add the keyboard shortcut.
    Launch the System Preferences.app, then open the "Keyboard" preference pane.
    At the top you will see "Keyboard" and "Keyboard Shortcuts" – click "Keyboard Shortcuts" (labeled '1' below). Then in the list on the left side, click "Application Shortcuts" (labeled '2' below). Then click the "+" button (labeled '3' below):
    Once you press that "+" button, a small window will appear asking you to enter the title of the menu item and the keyboard shortcut that you want to use.
    Enter "Save As..." in the "Menu Title:" field, and then press the keyboard shortcut that you want to use. In the example below I pressed Command + Shift + S:
    Note: It used to be true that you had to enter an actual ellipsis (which you can get by pressing Option+ ; on a US-English keyboard). However, when I tested this in Mac OS X 10.8.2, it worked with three consecutive periods.
    Bonus Tip: Hide the "Duplicate" menu item.
    In my original article I suggested that you also enter a keyboard shortcut for "Duplicate" and while youcan do that if you wish, you do not need to do that.
    However, if you would like to hide the Duplicate menu item, you can do that. There are two steps: first, remap "Save As..." to Command + Shift + S (as shown above). Then the 'trick' is to remap "Duplicate" to Command + Shift + Option + S.
    What you will have done is swap the keyboard shortcuts for "Duplicate" and "Save As..." which means that OS X will make "Duplicate" the optional command. If you open the "File" menu and hold down "Option" the "Save As..." command will change to "Duplicate"
    (Thanks to TUAW reader 'rbascuas' for pointing this out in response to the original article!)
    Important Addendum: "Keep changes in original document"
    As we reported in August 2012, the "Save As..." command in early versions of 10.8 had an unexpected and likely unwanted side effect in Mountain Lion: it would save the changes in the new document (created by "Save As...") but would also save the changes to the original document.
    However, Apple realized that users might not want that behavior, so in Mac OS X 10.8.2 they added an option "Keep changes in original document" which you can see here:
    Option A: If you want to save the changes you've made in the document and then save the document with a different name, then make sure that the box is checked.
    Option B: If you want your original document to stay as it was when you last saved it and create a new document based on the modified content of that document, then make sure that box is not checked.
    If you do not see the 'Keep changes in original document' box, then the application is probablygoing to give you the "Option B" behavior, but if you are not sure, I would suggest choosing Cancel in the "Save" dialog, then copy and paste the contents of the document into a new file, and save the new file. I know that's several extra-and-less-convenient steps, but if you are worried about preserving the original document, better safe than sorry.
    You could also save the file, duplicate it in Finder, and rename the new instance. Open old file and revert to previous save using 'Versions'.
    Frankly,I wish that Apple had just left the "Save As..." command alone, but for some reason they didn't ask my opinion. That said, I'm glad that they brought it back in Mountain Lion. I would have paid $20 for that feature alone.
    Note: This article was re-written and republished on 2013–02–21. The original process still works, but I wanted to update it to reflect some additional information.

  • Using workflow from jsf pages...

    We have built a simple JSF page on OC4J app server..
    We want to call our workflow program from this page.
    How should I use the CREATE PROCESS() AND START PROCESS() inside the JSF page?
    We are using 10.1.2. application server. And We SSO connection between
    OC4J 10 1. 3.2
    we deploy our java application to this OC4J..
    But we when we call workflow functions we get get_remote_user error.
    Can we call direct PL/SQL API over JDBC connection without using OWF Java API.
    Or we need (must) use Java aPI to supply this.
    Thanks...

    We see that we can call CREATE PROCESS() OR START PROCESS() inside the JSF page..
    But the problem are about notifications which needs authentication now
    How can we use notifications from java...
    Can we call direct PL/SQL API over JDBC connection without using OWF Java API.
    Or we need (must) use Java aPI to supply this.
    Thanks...

  • How to align the components in a jsf page?

    Hi all,
    In my use case I need to use three UI components like push down menu
    a textbox and a button. when I dragged all the things on to my jsf page
    I am getting one by one.( I mean to say that I am getting button beneath pushdown
    and pushdown beneath the text box)
    I want all these components adjacent to each other.Kindly come up with the suggestions.
    Thanks,
    Phani.

    These three components surround with af:panelGroupLayout and set af:panelGroupLayout layout property to horizontal (you can find layout property in common section of Property Inspector).

Maybe you are looking for