Navigator buttons

Hi,
I work with JSF, and I want to make actions with the navigator buttons, but I don't know how. Any Ideas?
Thank you!!
Siddharta.

first definite <h:commandButton action="">
then write some codes in the configuration file named faces-config.xml as following:
<navigation-rule>
<from-view-id>/start.jsp</from-view-id>
<navigation-case>
<from-outcome></from-outcome>
<to-view-id>/show.jsp</to-view-id>
</navigation-case>
</navigation-rule>
note that the value of action should be the same to the value of outcome,
next you click the button, and it works as you want.

Similar Messages

  • Print, Export and Page Navigation Buttons in the Report

    When I view a report through CR4E, the generated report has 3 buttons namely Print, Export and Page Navigation buttons. But when I click on either of the buttons I get a &#39;null pointer exception&#39;. This is a critical error as I am unable to navigate past the first page. Do I have to add code to these buttons? If not, why am I getting an error? Kindly solve my problem as soon as possible.

    <p>Looking at your code it appears that you are storing the ReportSource in session prior to passing in the ResultSet. This will create a problem when a postback is made on  the viewer page (which all of the viewer actions do). If you look at the sample code which is generated when you use the JSP Page Wizard you will notice that the ResultSet is passed to the ReportClientDocument object prior to it being stored in session. Then, when the page is called again this object is retrieved and the ReportSource is used by the viewer. You can quickly run the test using one of our sample reports to see what I am talking about. The code below was generated using the Consolidated Balance Sheet.rpt and did not experience any problems doing any of the viewer actions.</p><%@page import="com.businessobjects.samples.JRCHelperSample,<br />com.crystaldecisions.report.web.viewer.CrystalReportViewer,<br />com.crystaldecisions.reports.sdk.ReportClientDocument,<br />com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,<br />com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,<br />com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,<br />java.sql.Connection,<br />java.sql.DriverManager,<br />java.sql.ResultSet,<br />java.sql.SQLException,<br />java.sql.Statement"%><%<br /><br /><br />    try {<br /><br />        String reportName = "Sample Reports/Consolidated Balance Sheet.rpt";<br />        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);<br /><br />        if (clientDoc == null) {<br /><br />            clientDoc = new ReportClientDocument();<br />            <br />            // Open report<br />            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br /><br />  <br />            {<br />                // **** POPULATE MAIN REPORT ****<br />                {<br />                     // Connection Info for fetching the resultSet<br />                    String connectStr = "jdbc:derby:classpath:/Xtreme";<br />                    String driverName = "org.apache.derby.jdbc.EmbeddedDriver";<br />                    String userName = "dbuser";        // TODO: Fill in database user<br />                    String password = "dbpassword";    // TODO: Fill in valid password<br /><br />                    String query = "SELECT CUSTOMER_NAME FROM APP.CUSTOMER WHERE COUNTRY = &#39;Australia&#39;";<br /><br />                    <br />                    String tableAlias = "FINANCIALS";        // TODO: Change to correct table alias<br /><br />                     <br />                    JRCHelperSample.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query),<br />                        tableAlias, "");<br />                }<br /><br /><br />            }<br />        <br />            // Store the report document in session<br />            session.setAttribute(reportName, clientDoc);<br /><br />        }<br /><br /><br />            {<br />                // Create the CrystalReportViewer object<br />                CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();<br /><br />                //    set the reportsource property of the viewer<br />                IReportSource reportSource = clientDoc.getReportSource();                <br />                crystalReportPageViewer.setReportSource(reportSource);<br /><br />                // set viewer attributes<br />                crystalReportPageViewer.setOwnPage(true);<br />                crystalReportPageViewer.setOwnForm(true);<br /><br />                // Process the report<br />                crystalReportPageViewer.processHttpRequest(request, response, application, null); <br /><br />            }<br />            <br /><br />    } catch (ReportSDKExceptionBase e) {<br />        out.println(e);<br />    } <br />    <br />%><%!<br />// Simple utility function for obtaining result sets that will be pushed into the report.  <br />// This is just standard querying of a Java result set and does NOT involve any <br />// Crystal JRC SDK functions. <br /><br />    private static ResultSet fetchResultSet(String driverName,<br />            String connectStr, String userName, String password, String query) throws SQLException, ClassNotFoundException {<br /><br />        //Load JDBC driver for the database that will be queried    <br />        Class.forName(driverName);<br /><br />        Connection connection = DriverManager.getConnection(connectStr, userName, password);<br />        Statement statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);<br /><br />        //Execute query and return result sets<br />        return statement.executeQuery(query);<br /><br />}%><p>Try using the code generated from the wizard to see if it works for you as well. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • How do I create more than one navigation button in Adobe Fireworks CS6?

    Hi guys, 
    Apologies if this comes across as very stupid question. I am a complete beginner with Adobe Fireworks and I'm in the process of creating my first website and I have got to the stage where I want to create navigation buttons and the book I have recommends using Adobe Fireworks so I have downloaded. My problem I have encountered is after I have created my first two state button what is the next step to create another two state button which has the identical size and colour of the previous two state button?
    Here is a brief rundown of the steps I have done to do the first two state button:
    1) Edit-Insert-New Button
    2) Chose the rectangle and then specified the width and height of the button and chose my stroke and fill colour
    3) Centred the button and used the text tool to put the button as a 'Home' button for my website. I then went on Window and Align in order to centre the text on the button
    4) I went on Select-Select All and then went on Windows-States to open the states panel. I right clicked on state 1 which is Up and clicked on copy to states. I then selected the next state radio button and clicked OK.
    5) I selected State 2 and slightly modified it by changing the colour of the text.
    6) I then clicked the back button to return to the main window.
    After this what step should I take to create my another button which has the same size, colour and text style as I have created for the first button? I tried just repeating these steps again but when I do step 1 it creates a new fireworks document which means I have to create the buttons size, colour, text style from scratch.
    Your help would be greatly appreciated guys and once again I do apologise if this comes across as a silly question.
    PS Please could you let me know if the steps I have taken to create the 1st two state button are correct

    Initially you need to configure via the provider's own web based control panel multiple e-mail accounts. If they don't have one, work it out with their customer support to have three distinct mail accounts. Then you can setup multiple logins by adding new accounts to mail. Since mail checks all accounts per Mac OS X user account simultaneously, it probably is best to use different usernames on the same internet provider. If you don't want mail to show all the information from all three mail accounts simultaneously, configure Apple menu -> System Preferences -> Accounts to have multiple users on your computer, and configure each of the internet service provider accounts for each separaet user on Mac OS X.
    Message was edited by: a brody

  • Adding Navigation Buttons for Users of PDF Documents

    The default for Acrobat Reader (and even the Pro version)
    seems to leave the Forward and Back navigation buttons OFF the
    Acrobat Reader tool bar. You have to deliberately go into the Tools
    - Customize Tools menu and turn on these two buttons in order for
    them to appear in the tool bar. This creates problems for readers
    of your PDF documents if the readers of your documents aren't very
    computer savy. If you have links in your PDF document so readers
    can navigate around, not having the Forward and Back buttons up on
    the tool bar as a default makes these links almost useless. The
    reader has to know how to turn these two buttons on and some
    readers may not have a clue how to do that.
    My question: Is there a way to put 2 navigation buttons on a
    reader's toolbar AUTOMATICALLY when they open your document--ie,
    something embedded in the PDF doc that automatically turns these
    buttons on for the reader so they don't have to do it
    themselves?

    Thank you for your post. These forums are specific to the
    Acrobat.com website and its set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • How can I replace navigation buttons with obvious ones?

    Here's the web page:  http://josephskibell.com/. I've just taken over this website for a friend and opened it in Dreamweaver but the code is such that the existing four little square navigation buttons at the top of the page don't show up in design view (these change the book images).  The client wanted some more "obvious" buttons there because people are not understanding that those little squares are buttons.  Arrows may work better.  Can anyone advise?
    thanks

    Open scroll_buttons.css.
    The image sprite used is here:
    http://josephskibell.com/images/navigator.png
    My advice is to make a bigger sprite and change height and width sizes in your CSS code.
    More on CSS Sprites.
    http://alt-web.com/DEMOS/CSS-Sprites.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Document Numbering Series and navigation buttons in SBO

    Hi there,
    A new set of document numbering is created for new financial year.
    e.g. SO11-100001 is for financial year 2011 and SO12-100001 is for financial year 2012.
    Due to this setup, we have encountered a problem to use SAP navigation button to search between documents such as when I continue to click u201CNEXTu201D button, the documents would be popup in following sequence:
                    SO11-100001  SO12-100001  SO11-100002  SO12-100002  u2026u2026
    Is there a way to just navigte through SO12 series documents only?
    If I use series grouping under "Authorizations", this will totally block the previous year's documents. There may still be open docuemnts from last year and therefore, using "Authorizations" is not a wise option.
    If there is a workaround, kindly share with me.
    Thanks,
    Yadana

    hi Yadana
    in that case u can create a user query displaying the fields u want on the basis on the period indicator i.e. 2011 & 2012
    hope this would suffice your concern
    Regards,
    Manish

  • How do I get pop-up windows to show the navigation buttons (not just the address box)?

    When I click on a link that opens a new firefox window, the new window shows a navigation toolbar that does not include the back, forward, stop, and home buttons (it only shows the internet address box). However, the original firefox window that I navigated away from shows all of the navigation buttons AND the address bar. How do I get these new firefox windows to show the navigation buttons in addition to the address box that automatically appears?

    See:
    http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings

  • When trying to sign out of Hotmail the "back navigation button" remains green and I have to click sign out again and the same thing happens over and over and the only way to close Hotmail is to go to File and Close Frame, so what's my problem?

    When I attempt to sign out of Hot Mail by clicking "Sign Out," I get the "Sign In" instruction as I always have, however, the green Firefox navigation button remains on bright green (not going to gray) and my MSN home page will not close automatically as usual. I click on the green arrow and I get an instruction to "Sign Out" again. I click on that and get the "Sign In" again but the arrow stays green. I can repeat this countless times and never get signed out and always remaining on the MSN home page. The only way I can close is to go to File and click on Close Window and then my homepage will close and go back to desktop. I've been using Firefox for a couple of years now (IE prior to that for ten years) and have never had this problem. After using "Close Window" I go back onto my home page, from the desktop, and the navigation button is grayed out normally until I sign in again and we start the cycle over again. Have I been hacked?
    == This happened ==
    Every time Firefox opened
    == Approximately a month ago.

    I was doing a side-by-side comparison of the new and old server (we backed up the server before the reformat) and I can see that, evidently, CR XI was installed.  We have the directory C:\Program Files\Common Files\Business Objects\3.0 and all the versions match what is located in the project's bin directory.  Does this confirm that I did have XI installed and licensed at one time?
    If I purchase a more recent version, couldn't I update the reports to use the newer version?  I have all the source code.
    Thanks for your help, it is a nice sanity check for me after hours of reading forums and documentation.
    Also, just a shot in the dark, but I'm assuming it wouldn't do me any good to simply restore the aforementioned folder to my C drive?  Would that work if I registered all the dll's?
    Edited by: Eric Hollering on Dec 2, 2009 6:40 PM
    To be clear, I do have VS 2003 & 2005, and I have the source code.  I just have never used Crystal Reports in any of my .NET apps because the need wasn't there, so recompiling is not out of the question.
    Edited by: Eric Hollering on Dec 2, 2009 6:49 PM
    Also, I looked at the CrystalDecisions.CrystalReports.Engine.dll that was in the C:\Program Files\Common Files\Business Objects\3.0\Managed folder and when I right-click and view the properties, then the Version tab, in addition to the 11.0.9500.2 version number, there is a property called Product Version that has the value .NET.  Does that mean that this dll was bundled with Visual Studio?
    I also found this directory on the old server...does this tell you anything?
    C:\Program Files\Business Objects\BusinessObjects Enterprise 11
    I did see that you can still buy XI from CDW.  I have a call into them currently to check with Business Objects for any registrations from my company.
    Edited by: Eric Hollering on Dec 2, 2009 8:27 PM

  • Navigation buttons not working in iPad Adobe Content Viewer

    I am reposting this as a separate discussion from this thread (http://forums.adobe.com/message/5551618#5551618), since Bob B. said this is a separate bug from the nav button problems in Single Edition apps that people were encountering.
    Here is my problem:
    I have several folios that are a presentation of work (a slideshow per page, on most pages). Navigation buttons are needed since vertical swiping doesn't work on the pages where my images are full-width.
    Five times in the past week, the buttons have quit working (tapping a button jumps you back to the first page of the folio, instead of to Next or Prev). The only way to get them working again is to delete Content Viewer and all the content off the iPad, reinstall Content Viewer, and download the folios again. So far, I can use the folio maybe once or twice, and then the problem happens again.
    As you can imagine, this is very frustrating.
    It would be great if someone can look into this, since it does not seem to be a freak occurrence - it happens to me all the time since I got the latest version of Content Viewer.
    Thank you,
    Camille

    A tester was finally able to reproduce this bug. I'll let you know when I find more information. Thanks for reporting it.

  • Help with Re-Linking Navigation Buttons

    I have Adobe Flash CS3 Pro.
    I have a navigation header flash file that came with my website template and I am having difficulty making sense of the actionscript. It has a logo section with effects, 5 main nav buttons that move, and two extra link buttons above the navigation bar. Let’s focus on just the Navigation buttons for now. Here is what I have gathered. I have multiple text buttons on one movieclip, and I have successfully edited the text for each button. If I look at the actionscript in the top layer of this movieclip I see:
    “gotoAndStop(parent._parent.num);”
    I also have a separate movieclip symbol (with effects) with 5 buttons layers listed in the actionscript with the following actionscript tied to each button from numbers 1 through 5:
    onClipEvent (load) {
                num=1;
    onClipEvent (load) {
                num=2;
    onClipEvent (load) {
                num=3;
    onClipEvent (load) {
                num=4;
    onClipEvent (load) {
                num=5;
    On the top layer of these 5 buttons I have the following actionscript:
    stop();
    this["item"+_root.button].gotoAndPlay("s1");
    _root.link = _root.button;
    I also have a separate button symbol with the following actionscript:
    on (rollOver) {
                if (_root.link<>1) {
                            menu.item1.gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
                if (_root.link<>1) {
                            menu.item1.gotoAndPlay("s2");
    on (release) {
                if (_root.link<>1) {
                            _root.menu["item"+_root.link].gotoAndPlay("s2");
                            _root.link = 1;
                            getURL("index.html");
    Now my website template came with 5 html pages that my flash navigation buttons correspond to: (index.html, index-1.html, index-2.html, index-3.html, index-4.html, index-5.html). My problem is that I have created new pages (index.html, about.html, featured.html, projects.html, contact.html). I would like each of the 5 buttons to correspond to these pages, not the existing standard “index-n.html” pages. 
    Also, this is probably not relevant, but each html page has something to this affect so I can see how they correspond to each button.
    <script type="text/javascript">
              var fo = new FlashObject("flash/menu_vf8.swf?button=2", "head", "100%", "144", "7", "");
              fo.addParam("quality", "high");
                        fo.addParam("wmode", "transparent");
                            fo.addParam("scale", "noscale");
              fo.write("head");
            </script>
    I guess my real question is: What actionscript do I need to update or remove for the nav button LINKS to work with my new html pages rather than the standard 5 index-n.html pages that it automatically wants to link to?
    When I try and add a “getURL” command to each of the 5 buttons and test preview the movie, the links work, but it messes up the effects of the movieclip. In other words, the buttons don’t move, they are motionless, however the links work. If I added this command to each button in some way, what actionscript would I need to remove so there weren’t any complications? I need some expert help here for it would be much appreciated. I am a novice with Flash script and its killing me that I can’t figure it out. I asked for help from the template support and all they came back with was the following message and it wasn’t helpful:
    You need to duplicate each button you are editing - it is very important.
    2) Update the scripting to look similar way:
    on (release) {
    if (_root.link<>num) {
    _parent["item"+_root.link].gotoAndPlay("s2");
    _root.link = num;
    if (num == 1) {
    getURL("index.html");
    } else {
    getURL("index-"+Number(num-1)+".html");
    Update it to:
    on (release) {
    getURL("http://www.google.com");
    Also, I read through the following discussion, which was helpful to a degree, but it still didn’t answer my questions about getting the links to work.
    http://forums.adobe.com/message/3614092#3614092

    First of all, thank you for showing interest and helping out in my dilemma here. I wish I understood your meaning behind “on” because with my luck there is probably some hidden way of placing script on an object that I don’t understand or haven’t discovered yet.
    This is what I know:
    I have multiple text buttons on one movieclip entitled “textbutton1” (see previous picture), and I have successfully edited the text for each button and created two extra frames/buttons to make 7 total. If I look at the actionscript in the top layer of this movieclip I see:
    “gotoAndStop(parent._parent.num);”
    But there is no action on each individual frame (all 7 of them) on that layer.
    Like I mentioned before I have a separate movieclip symbol (entitled “menu effect”) with 7 button movieclip layers listed in the actionscript with the following actionscript on each layer.
    onClipEvent (load) {
                num=1;
    onClipEvent (load) {
                num=2;
    onClipEvent (load) {
                num=3;
    onClipEvent (load) {
                num=4;
    onClipEvent (load) {
                num=5;
    onClipEvent (load) {
                num=6;
    onClipEvent (load) {
                num=7;
    On the top layer (layer 4 frame 25) of these 5 buttons I have the following actionscript:
    stop();
    this["item"+_root.button].gotoAndPlay("s1");
    _root.link = _root.button;
    I can upload another particular image of the movieclip/actionscript if it would be helpful. Let me know.

  • Navigation buttons are not working in Jdev 11.1.2.2

    Hi All,
    I am new to ADF and I am trying to create navigation buttons but it is not working.
    I created the taskflow and the pages and I set the actions to the buttons but it only refresh the page
    Best Regards

    Sorry for disturbance it is working now :)

  • Export a pdf to a swf file with navigation buttons???

    I have CS4 and I've tried to export a couple indesign files using the swf export feature, but it the navigation of the file is very weak and not very intuitive, and when you zoom in to any of the text the text goes fuzzy.
    I would like to just convert a PDF to SWF file with navigation buttons, page controls, zoom in/out, single or two page view options, so that my end user can view it with the free flash player, but I don't have time to build the file in Flash and I don't want to use an online service that comes with a per month or per publication fee.
    Any suggestions??

    I've looked at that, but most of the pdf's that I need to convert are more than 10 pages.  I want a program I can download, install and use without a per use cost, or per publication cost.
    I'm looking more for a plug-in for either Acrobat, or Indesign or stand alone program that would convert them without adding copyrights, or ads to the file.

  • Navigation Buttons in Viewer not working after upgrade

    We recently upgraded to CR XI R2. When our reports come up in our viewer, the navigation buttons aren't working properly. We can move forward to page to, but can't move beyond that. We can hit the last button and get to the last page and we can type in page 3, for example, and page 3 comes up.But we can't move forward from page 2 with the next button on any of our reports.

    Some basic information is missing here and if me suggestions do not help you in resolving the issue, please add this info:
    Have you applied any SPs to your CR install?
    What development language are you using?
    Is this happening in a win or web app?
    The latest SP for CR XI r2 can be downloaded from [here|https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe]. Apply that and test. If that does not help, I would like you to try this with one of our sample apps.
    Win apps are here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100006252722008E/csharp_win_smpl.exe
    Web apps are here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100006252812008E/net_web_smpl.exe
    Each of the above has an app called SimplePreviewReport. depending on if you are using web or win, VB or C# use the sample app from above and see if the same issue exists there.
    Ludek

  • Page navigation buttons not working properly

    Hi,
    I am having a multilingual Java Application (e.g. English, Japanese, French...).  In this application there are reports which display the data using locale parameter (like en_US, ja_JP etc.) to display the data in selected language.
    The problem comes up when I see Japanese reports on English operating system machine and vice versa.
    When I click any button of page navigation it changes the page number but does not load and display the page accordingly.
    It's like when I run the report it displays the first page, then clicking on Next button brings 2 in navigation field but the report  would still show first page, same happens for 3, 4.... all pages. 
    The other navigation buttons also do not work, they change the page number but display only the first page.
    This problem does not occur when I see Japanese reports on Japanese OS machine and English reports on English OS machine.
    However my clients need the first case, Japanese reports should work on English OS machine also.
    Please advise urgenly.

    Hi,
    I resolved the above issue by removing the call to method setProductLocale in jsp file (which was really unnecessary in code as product locale is meant to set languange for crystal report design environment ).
    Actually the problem was I had set locale at two place
                    1. using setLocale method of ReportClientDocument object) after the initialization of report client document object
                    2. using setProductLocale method of CrystalReportViewer object after the initialization of Crystal Report Viewer  object
    After commenting out code for setProductLocale, reports in all languages and all their functionalities started working 100% perfectly.
    Thanks.

  • Slideshow navigation buttons not working.

    Having had the slideshow navigation buttons that exist below my photos (back, pause, forward) working fine for some reason they are now coming up as question marks in Safari and error boxes in Firefox and Explorer. I have not made any changes to my site but have republished since discovering the problem but it still remains.
    I have looked for the cause in iWeb but have no idea what will remedy this.
    Any help much appreciated.

    Caused by the recent update from .Mac to MobileMe and out of our hands for fixes.
    The trouble is caused by some of the links create by iWeb that point to files found on Apple servers (not your iDisk). They are usually created inside the javascript files (.js) and use incorrect URL's that previously worked when linked at .Mac but now fail at MobileMe.
    Since it is a javascript file a Web browser status bar (bottom of the window) shows a javascript:void URL but a click on the link in our iWeb (and Homepage) pages is not finding the correct Apple server files (they are not part of your iDisk and are hosted on Apple servers).
    Odd thing is that some of these URL's do work and others fail. Some do not show the mouse over change (to the pointed finger icon) but clicking in the space where they should appear triggers the javascript.
    Someone at Apple will be working late into the night to "fix" what they broke.

  • Navigation buttons not working

    Hi,
    Not sure if this is just me not being used to Windows 8 yet or a legitimate issue, but I've found that a lot of the time the 3 buttons in the top right corner (minimize, maximize and close) don't work. They're completely unresponsive. The only time they'll work is if I alt tab out of firefox and alt tab back into it. They'll then work again but as soon as I type something in the address bar or click a link on a webpage they won't work again.
    Anyone else had this?
    Cheers

    Sorry about misleading title, didn't mean navigation buttons. Couldn't think of another name for the 3 buttons in the top right hand corner.

Maybe you are looking for