AdvancedDatagrid Header Navigation Problem

Hi, I was wondering, if it's possible not to navigate onto
the advanced datagrid header, or somehow turn off it's selection
ability. I mean if I simply use the UP arrow on the keyboard, i can
jump up to the header of the grid, and i'd like to switch off that.
Is it possible without using HeaderRenderer.ediatble = false; ???
Thanks

i guess that means there's no solution... :(

Similar Messages

  • Iam not able to find Header, Navigation and Structure options in. I am using Dreamweaver CS6

    Iam not able to find Header, Navigation and Structure options in Insert Panel. I am using Dreamweaver CS6

    I've updated and now the problem solved. Thank you very much Ben...

  • Still having navigation problems and need help with how to debug

    Hi,
    I've been porting over a servlet project to JSF and I'm still having navigation problems. I thought the problem might have been because the original project used HTML frames and so the "from-view-id" JSP defined the frame/framesets and the specific JSP that does the submit (and so is named in the "from-view-id" is never defined in a "to-view-id" attribute). I've now switched to using an IFRAME, and that resolves that problem. So now the JSP is defined in a "to-view-id" attribute and it includes an named IFRAME that can be used as a target. I press the submit button and I get not the JSP expected butinstead the same JSP displayed inside its own IFRAME.
    Here is the code for the submit. I've simplified it as much as possible with a static action (originally it was a call to a method) just to try and get things to work. This is the current version:
    <h:commandButton value="View Alias" action="foo" styleClass="select" type="submit" />Here is the navigation rule in faces-config.xml. Again, the problem is that SelectManager get redisplayed in the IFRAME instead of display.jsp.
    <navigation-rule>
       <from-view-id>/SelectManager.jsp</from-view-id>
       <navigation-case>
          <from-outcome>foo</from-outcome>
          <to-view-id>/display.jsp</to-view-id>
       </navigation-case>
    </navigation-rule>I have also tried it without the "from-outcome-value" which I presume means that the "to-view-id" gets displayed unconditionally and it still fails. Any ideas on how I can debug this? (I'm using GlassFish if that's important to know)
    Rob Tanner
    Linfield College

    Raymond, The real trick is avoid doing technical things when coming down with the flu (I should also add that I'm a JSF newbie). Reading your original message this time I see what you're suggesting and found a conversion error although I don't understand it. Here's the code (including the <h:message/>):
                <h:selectOneMenu value="#{members.dcodes}"
                  style="color: #7f0000" id="selector">
                  <f:selectItems value="#{members.departmentList}" />
                </h:selectOneMenu> 
                <h:message for="selector" style="color:white"/>And here's a snippet of the generated HTML:
    <select id="j_id_id26:selector" name="j_id_id26:selector" size="1" style="color: #7f0000">
             <option value="aad" selected="selected">Academic Advising</option>
         <option value="aaf">Academic Affairs</option>
         <option value="adm">Admission</option>
         <option value="up">Upward Bound</option>
    </select>If I select "Admission" for example, the error I get is:
    Conversion Error setting value 'adm' for 'null Converter'.Since everything is a String value, I don't get the error. Could someone please enlighten me.
    Thanks.

  • Navigation Problem in OBIEE

    Hi,
    I have a strange navigation problem. I have the navigation setup from the 1st page of my dashboard to go to the second. When I first bring up the first page, and then click , nothing happens. Now if I refresh this page and then click again, I am able to navigate to the second page. I would to hear if anyone has seen similar issue. Any help is appreciated.
    Thanks,
    Bharat

    Still haven't found a solution to this problem.
    Even if I remove the form1.setTarget( null or other framename/windowname)
    I tried changing to using the onclick="from1.target='mywin';" and also onclick="form1.target='_self'; on the button. Does not work/ have the desired effect of controlling where the page is opened: in same window or in another frame or window.
    For some reason navigation also totally breaks, after a search, with a similar sql as in this message, and I get no error when I debug and step through the code.
    After doing one search, navigation seems to stop working and only the search.jsp page is the target.
    If I do a view first navigation works to new page/servlet output but still not in a new window/frame.
    This simple stuff in a normal simle html page, should not be so hard to accive with SJSC perhaps someone of you in the community or the developers at sun can give us insight into this simple problem.
    It must be fairly common that one likes to control where a page is opened, in the existing window/page/frame or in a new window/frame.
    Anybody else had any problems with navigation not working with similar code ??
    If I remove the do_search() call it works, the navigation continues to function, but still have no control of the destination window/frame.
    Kind Regards
    Roger

  • RoadMap UI Navigation Problem

    I'm facing a navigation problem using the roadmap UI in WD4A.
    Let's say we have 5 views. The roadmap view is the default view, the other views will be embedded into a view container UI element on the roadmap view. The roadmap UI has 4 steps, one for each view.
    V_ROADMAP
    V_STEP_1
    V_STEP_2
    V_STEP_3
    V_STEP_4
    Now, I need to add navigation buttons (previous & next) to navigate between the roadmap steps.
    My question is where should I placed these navigation buttons? On each view or only on the roadmap view.
    Personnaly and it think it would make more sense to place them only on the roadmap view.
    My problem using this approach is has follow: When you are on v_roadmap on step 1 (V_STEP_1), you click on Next to go to the next view (V_STEP_2), actually the action is trigger in V_ROADMAP so I am not able to validate user input field or obligatory field in V_STEP_1. I would have to call an action from V_STEP_1 in V_ROADMAP so the event handler method WDDOBEFOREACTION will be called. I don't think it's possible. The problem here, is you can click on next and you can go to the next view without filling the obligatory fields.
    If I placed my navigation buttons on each view. The advantage is that before triggering an action, I can validate user input field, obligatory field in the method WDDOBEFOREACTION before going to the next step.
    The desadvantage is that I have to recreate them on each of my view.
    thanks
    Alex

    Just to close this thread, I will summarize the different possible options:
    Navigation buttons on each view: This is the easiest way to validate obligatory fields but for component reuse it's not good idea to have navigation buttons on individual views.
    Navigation buttons on main views: If we placed the navigation buttons on our main view, the validation is kind of painful, before firing an outbound plug from the main view and a corresponding inbound plug on the individual view, we will have to manually verify our obligatory fields from the context of the componenent controller or using cross-component data sharing.
    Navigation using GAF (Guided Activity Floorplan): I think this option is the way to go! The problem here is that's very difficult to find documentation on that subject, also, the tools from SP 15 is not as user friendly then the one that's coming in NW EhP1.
    Alex

  • Mouse navigations problem with Sun Java 1.5.0_*

    Hello gurus,
    We need to move from JInitiator to Sun Java Plugin; according to the Forms10g Client Platform Support (http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html) one of the certified version for Forms 10.1.2.0.2 of the the Sun Java Plugin is 1.5.0_06 and Internet Explorer 6.0, we have tested also SJPI 1.5.0_09 and we get the same mouse navigation problem reported in the following Oracle Forum threads.
    Mouse navigation don't work with Java Plugin.
    Mouse navigation don't work with Java Plugin.
    Forms 10gR2, Sun Java 1.5.0_06 gives mouse problems
    Forms 10gR2, Sun Java 1.5.0_06 gives mouse problems
    Does anybody know a solution to this problem?
    Any help will be really appreciated.
    Regards,
    Victor.

    You need to use 1.5.0_12 or newer. The client SOD is not up-to-date on this specific point. A lot of navigation problems was fixed in this very release.
    The Management team should change this in the client SOD, wonder why they still refer to 1.5.0_06. For Applications, the first 1.5.0 to be certified was _12.
    Also make sure, that you are using the latest Patch 3 for 10.1.2 (10.1.2.3). This patch also contains fixes for a lot of these wellknown issues.
    Hope this helps,
    Jacob

  • Flash Header/Navigation Reload Issue

    I have been researching all day and there are many different solutions, none that are straight forward. I am currently in the process of making a website in Dreamweaver which has a flash header. Problem is the flash header reloads when you go to every page. Is there a simple (I'm a noob) way I can get the flash header to stay open at the top of the website, and the content of each page just change when you go to each page. Thus the flash header and nav buttons do not reload on every page. To review the pages so far; http://www.itrelocation.ca/MiniMe/index.html.
    I thank you in advance. More detail concerning the fix is greatly appreciated.

    I think frames is the only choice you're gonna have.
    I don't know of anything else that allows you to keep one thing loaded while changing other content except Flash itself.  So the only other solution I know of would be to create the site entirely in Flash... no issues reloading anything there once the site is loaded.
    Wait, there is another approach you could consider, using DHTML.  It is a browser dependent approach.  If you look at the source code of this page it uses that approach.  The content that changes is written into javascript variables in the head section.  I made this quite a few years ago for a client, but I haven't heard any complaints about it failing yet...
    http://www.h-and-m-analytical.com/services.htm

  • Navigation Problem in Next/Previous Record

    Hi,
    I have a Master (have 20 fields) and Four its Detail block visible on same screen but each block have its own Canvas and Window. Now master table have 1700 records with its detail tables. So after Query when I press the Next_Record button it will no response some time I have to press it twice or thrice then it will respond and some time on fist click it gives the response.
    So I want to navigate through Next Records or Previous Record buttons on single click.??????????
    Kindly send me the solution of this problem on urgently basis.
    Best Regard,

    Hi,
    It's very difficult to suggest something by readingyour post. There are many reasones for navigation problem. Validation is one of them. Be sure that validation triggers written on any level are working properly. What code you have written on the buttons that you are using for navigation. In which blocks you have put your buttons. It is recommended that you put all your non-database items in a non-database block. Check this also.......

  • Installing ios8.2 does not resolve Google map navigation problem or gps tracking!

    Installing ios 8.2 does not resolve Google map navigation problem.

    I have tried to install both of them lots of times but in each case I receive the same in my XE.bat file:
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
    Have checked OS 1387 error at Microsoft Support and as possible cause of the problem they give as follows:
    This issue can occur if the environment has a disjointed namespace (i.e. the domain has different NetBIOS and DNS names). For example, assume that the domain has a NetBIOS name of "domain.com" and a DNS name of "domain-old.com." When users are added in the Windows UI, they are displayed in the format of domain\ComputerName. However, you notice in the error log that there was an attempt to add a computer account in the format of domain-old\ComputerName. (System Center 2012 R2 Data Protection Manager install fails and generates ID: 4323: "A member could not be added")
    Tried to find out my DNS name, but it is impossible because I don't have any domain installed and my machine is not connected to it. Some other blog (Install Oracle 11gR2 on Windows) advices to work with adding my computer account to some non-real windows domain (just for the purpose of resolving the network) as well and reinstall the database then. If I undestand it right I need minimum 2 machines for this. But I own just one, where the server is based and thought that is enough to run the database... no idea ..

  • AdvancedDataGrid Header

    Hello All,
    I'm trying to add an image alongside the header text whenever
    the mouse cursor moves over a field header in the AdvancedDataGrid
    component. I tried to do this using this example for a DataGrid -
    http://www.thebetterside.com/scrawl/srcview/index.html
    , but the mouseover event is triggered only when the mouse is moved
    on the first line of the grid and not the header in an
    AdvancedDataGrid. Is there another way of modifying the
    advanceddatagrid header display on this mouse event.
    thanks
    Prash

    the link above should be
    http://www.thebetterside.com/scrawl/ScrawlExample4.html

  • Navigation problem in jsf

    i have created a simple login page in which two label and two text box for inter usename and password but after clicking submit button it does not navigate to the specified page as i have given in the facesconfig.xml file.here is my code.this page is welcomeJSF.jsp
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
            <f:view>
                <h:form id="loginForm">
                <table align="left" border="1" cellspacing="1" cellpadding="1">
                        <tr>
                            <td>
                                <h:outputText id="label1" rendered="true" value="Login Name"/>
                                <h:inputText id="text1" rendered="true" value=""/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText id="label2" rendered="true" value="Password"/>
                                <h:inputText id="text2" rendered="true" value=""/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:commandButton id="button1" action="#{test.checkLogin}" value="Submit"/>
                                <h:commandButton id="button2" type="reset" value="Reset"/>
                            </td>
                        </tr>
                </table>
                </h:form>
            </f:view>
        </body>
    </html>
    and here is my facesconfig.xml file
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
        <managed-bean>
            <managed-bean-name>test</managed-bean-name>
            <managed-bean-class>com.test.Test</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>
         <navigation-rule>
        <navigation-case>
          <from-outcome>login</from-outcome>
          <to-view-id>/Login.jsp</to-view-id>
        </navigation-case>
      </navigation-rule>
    </faces-config>
    [\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Try this:
    page_1.jsp
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Page 1</title>
    </head>
    <body>
    <f:view>
    <h:form id="loginForm">
    <h1>Page 1</h1>
    <table align="left" border="1" cellspacing="1" cellpadding="1">
    <tr>
    <td>
    <h:outputText id="label1" value="Login Name"/>
    <h:inputText id="text1" value="#{test.name}"/>
    </td>
    </tr>
    <tr>
    <td>
    <h:outputText id="label2" value="Password"/>
    <h:inputText id="text2" value="#{test.password}"/>
    </td>
    </tr>
    <tr>
    <td>
    <h:commandButton id="button1" action="#{test.checkLogin}" value="Submit"/>
    <h:commandButton id="button2" type="reset" value="Reset"/>
    </td>
    </tr>
    </table>
    </h:form>
    </f:view>
    </body>
    </html>
    page_2.jsp
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Page 1</title>
    </head>
    <body>
    <f:view>
    <h:form>
    <h1>Page 2</h1>
    <h:outputText id="label1" value="#{test.name}"/>
    <h:outputText id="label2" value="#{test.password}"/>
    </h:form>
    </f:view>
    </body>
    </html>
    com.test.Test.java
    package com.test;
    public class Test {
    private String name;
    private String password;
    /** Creates a new instance of Test */
    public Test() {
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    public String getPassword() {
    return password;
    public void setPassword(String password) {
    this.password = password;
    public String checkLogin(){
    return "page_2";
    faces-config.xml
    <managed-bean>
    <managed-bean-name>test</managed-bean-name>
    <managed-bean-class>com.test.Test</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <navigation-case>
    <from-outcome>page_2</from-outcome>
    <to-view-id>/page_2.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    You need to be careful when refering to a jsp files, remember that is case sensitive, that could be your problem.

  • Navigation problem when using tiles with JSF

    Hi all,
    I m using tiles with JSF. i have included all the libraries and jsp page is rendered properly. but when i use <h:commandLink> in the body part of the JSP , i cannot go to the specified link. when we use tiles, what changes need to be done in faces-config file?? i mean what navigation rule we need to specify ??

    Hello, I have the same problem; JSF+Tiles = No navigation.
    One basic question is should I reference the parent jsp or the included body jsp in the faces-config.xml file.
    For example: The login.jsp is a main tiles page that includes a menu.jsp, header.jsp & a loginBody.jsp.
    Hence the faces-config could have this rule;
    <navigation-rule>
    <from-view-id>/login.jsp</from-view-id>
    <navigation-case>
    <to-view-id>/catalog.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    (I've left the outcome tag out to simplify this post)
    Or, I could refer loginBody.jsp in the navigation rule;
    <navigation-rule>
    <from-view-id>/loginBody.jsp</from-view-id>
    <navigation-case>
    <to-view-id>/catalog.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    The loginBody.jsp has a commandbutton which a user clicks which starts the navigation.
    Neither seems to work unfortunately & I'm a stuck.
    Thanks

  • Navigation problem (back button)

    Hi all,
    I'm new to jsf and I'm having a problem with navigation.
    There are two pages one for the header information and one for the details, a button permit to add a row of details.
    What I need is to place e "back" button to allow to return to header pages.
    The problem is that all the fields in the detail page are mandatory so if I put a normal command button it makes a check on the fileds and throws an error (field must not be blank) .
    Which type of Componet should I have to use ?
    Thanks to all for the response

    Maybe u can try to put immediate="true" in the back command button

  • Database navigation problems

    I have a problem with displaying records from my database where I wish to navigate through the records.
    I use a framset where I gather the search data in a form on the left side of the page and display the database results in a frame on the right hand side of the page.
    The website I have displays 1 record at a time in a table format. There's no problem getting records from the database - if I try to display 1 record on the page its Ok, if I disply X records on the page its fine - the problem comes where I display 1 record and then use hyperlinks to move to the next record in data set.
    The code is set so the navigation links only appear where there is more than 1 matching record so I know I'm not trying to call records that do not exist.
    The error only appears when I try to navigate through the records to display te 2nd record returned by any search, it appears to be something to do with the RecordCount.
    Any help appreciated.
    For Reference the next/prev record is adapated from here - http://tutorial20.easycfm.com/#
    The error is:
    [quote]
    Element RECORDCOUNT is undefined in GETDATABASESEARCHRESULT.
    The error occurred in *****/testquery.cfm: line 36
    34 : 
    35 : <CFSET end=Start + disp>
    36 : <CFIF start + disp GREATER THAN GetDatabaseSearchResult.RecordCount>
    37 :      <CFSET end=999>
    38 : <CFELSE>
    [/quote]
    The website code is:
    [quote]
    <!--- Start is the default starting row for the output.
          Disp determines how many records to display at a time --->
    <!--- Start displaying with record 1 if not specified via url --->
    <CFPARAM name="start" default="1" />
             <!--- Number of records to display on a page --->
    <CFPARAM name="disp" default="1" />
    <!--- Holds variables passed from form on prev page when this page is called.--->
    <CFPARAM Name="Form.Forename" Default="">
    <CFPARAM Name="Form.Surname" Default="">
    <CFPARAM Name="Form.Battalion" Default="">
    <HTML>
    <HEAD>
    </HEAD>
    <BODY>
    <!--- query the database table. Cache the result set for 15 minutes. --->
    <CFIF #Form.Battalion# IS "Sixth" >
    <CFQUERY NAME="GetDatabaseSearchResult" DATASOURCE="durhamli_durhamli"
             CACHEDWITHIN="#CreateTimeSpan(0,0,15,0)#">
        SELECT Surname,Forename, Pre1917ServiceNumber, Post1917ServiceNumber, Battalion, YearOfBirth, DateEnlisted, PlaceEnlisted,     DateOverseas, Notes
        FROM SixthDLI
    WHERE Forename LIKE '%#Form.Forename#%' AND Surname LIKE '%#Form.Surname#%'
    </CFQUERY>
    </CFIF>
    <CFSET end=Start + disp>
    <CFIF start + disp GREATER THAN GetDatabaseSearchResult.RecordCount>
         <CFSET end=999>
    <CFELSE>
        <CFSET end=disp>
    </CFIF>
    <!--- Output the range of records displayed on the page as well as the total
          number of records in the result set --->
    <CFOUTPUT query="GetDatabaseSearchResult" startrow="#start#" maxrows="#end#">
    <table border="2" cellpadding="5" cellspacing="2" width="90%" cols="5">
    <th>Surname</th>
    <th>Forename</th>
    <th>Pre1917 No.</th>
    <th>Post1917 No.</th>
    <th>Battalion</th>
    <tr>
    <td>
    #GetDatabaseSearchResult.Surname#
    </td>
    <td>
    #GetDatabaseSearchResult.Forename#
    </td>
    <td>
    #GetDatabaseSearchResult.Pre1917ServiceNumber#
    </td>
    <td>
    #GetDatabaseSearchResult.Post1917ServiceNumber#
    </td>
    <td>
    #GetDatabaseSearchResult.Battalion#   Battalion
    </td>
    </tr>
    <th>Year Born</th>
    <th>Date Enlisted</th>
    <th colspan="2">Place</th>
    <th>Posted Overseas</th>
    <tr>
    <td>
    #GetDatabaseSearchResult.YearOfBirth#
    </td>
    <td>
    #GetDatabaseSearchResult.DateEnlisted#
    </td>
    <td colspan="2">
    #GetDatabaseSearchResult.PlaceEnlisted#
    </td>
    <td>
    #GetDatabaseSearchResult.DateOverseas#
    </td>
    </tr>
    <th colspan="5" align="left">Notes</th>
    <tr>
    <td colspan="5">
    #GetDatabaseSearchResult.Notes#
    </td>
    <tr>
    </table>
    Record Number   :      #CurrentRow#   of   #GetDatabaseSearchResult.RecordCount#
    </CFOUTPUT>
    <!--- displays the navigation hyperlinks for the required recordset --->
    <CFOUTPUT>
        <table border="0" cellpadding="10">
            <tr>
                <!--- Display prev link --->
                    <CFIF start NOT EQUAL 1>
                        <CFIF start GTE disp>
                            <CFSET prev=disp />
                            <CFSET prevrec=start - disp />
                        <CFELSE>
                            <CFSET prev=start - 1 />
                            <CFSET prevrec=1 />
                        </CFIF>
                        <!--- only displays link if more than 1 record returned--->
                        <CFIF #GetDatabaseSearchResult.RecordCount# GT 1>
                        <td><font face="wingdings">ç</font> <a href="testquery.cfm?start=#prevrec#"> Previous #prev# record</a></td>
                        <CFELSE>
                        </CFIF>
                    </CFIF>
                    <!--- Display next link --->
                    <CFIF end LT GetDatabaseSearchResult.RecordCount>
                        <CFIF start + disp * 2 GTE GetDatabaseSearchResult.RecordCount>
                            <CFSET next=GetDatabaseSearchResult.RecordCount - start - disp + 1 />
                        <CFELSE>
                            <CFSET next=disp />
                        </CFIF>
                        <!--- only displays link if more than 1 record returned--->
                        <CFIF #GetDatabaseSearchResult.RecordCount# GT 1>
                        <a href="testquery.cfm?start=#Evaluate("start + disp")#">Next record</a> <font face="wingdings"></td>
                        <CFELSE>
                        </CFIF>
                   </cfif>
               </tr>
           </table>
        </CFOUTPUT>
    </BODY>
    </HTML>
    [/quote]

    Thanks, you've nailed it.
    I hadn't set a default parameter for form.battalion (although I presumed it would retain the parameter passed from the form to the query when I initially create the datbase query) and it now seems to work for now. It must clear the form variables every tim the page refreshes as it changes record.
    I'm not sure how it'll work when I add the 4 extra tables - 'Fifth', 'Seventh', 'Eigth' and 'Ninth' if it clears the value passed from the form each time the page refreshes I suspect it's going to default to the value set on the CFPARAM tag each time but I'll deal with that at the time.

  • Page navigation problems

    Hi all,
    I am new to JSF, and I am trying to implement a simple page navigation which displays some values that the user entered. The values are stored in a managed bean. It's a simple login form. I am using NetBeans as my IDE. My page navigation is set up as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>login</from-outcome>
    <to-view-id>/login.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    And my JSF page is setup as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <webuijsf:page binding="#{index.page1}" id="page1">
    <webuijsf:html binding="#{index.html1}" id="html1">
    <webuijsf:head binding="#{index.head1}" id="head1">
    <webuijsf:link binding="#{index.link1}" id="link1" url="/resources/stylesheet.css"/>
    </webuijsf:head>
    <webuijsf:body binding="#{index.body1}" id="body1" style="-rave-layout: grid">
    <webuijsf:form binding="#{index.form1}" id="form1">
    <webuijsf:staticText binding="#{index.staticText1}" id="staticText1" style="position: absolute; left: 144px; top: 72px" text="Enter user name:"/>
    <webuijsf:staticText binding="#{index.staticText2}" id="staticText2" text="Enter password:" />
    <h:inputText binding="#{user.name}" id="txtUsername" />
    <h:inputText binding="#{user.password}" id="txtPass" />
    <h:commandButton action="login" binding="#{index.btnLogin}" id="btnLogin" value="Log in"/>
    <h:inputText binding="#{index.txtUsername}" id="txtUsername"/>
    <h:inputText binding="#{index.txtPass}" id="txtPass"/>
    </webuijsf:form>
    </webuijsf:body>
    </webuijsf:html>
    </webuijsf:page>
    </f:view>
    </jsp:root>
    The web application compiles and deploys with no problem. However, when I click the btnSubmit button, it does not redirect me to the page specified in the faces-config.xml file. Can anyone tell me what I'm doing wrong? Thanks for any help you can provide.

    I'm not sure what you are trying to do here.
    Are you trying to map the commandButton's action="login" to your rule <from-outcome>login</from-outcome>?
    I think you want the commandButton to map to a method in your backing bean. E.g. action="#{bean.goToLogin}" .
    The method goToLogin() should then return the string, "login" . This will be caught by your navigation rule <from-outcome>.
    <from-outcome> maps to a specific string returned from a method called in that page.
    But in this case if you just want redirection, it should be easier just an outputLink pointing to login.jsp.
    Hope this helps!

Maybe you are looking for

  • Problem with creation of Order template

    Hi Experts, We are facing an issue with ISA 4.0. B2B application. The extension data is not getting updated in CRM 4.0 while creating Order template. The same extension data is getting updated for Order template change process. Also same extension da

  • Work in Flash Catalyst beta not saving or inconsistent

    I just downloaded the Flash Catalyst beta (flashcatalyst_b1_win_060109.exe) 06.03.2009. I'm using the sample files provided with Adobe tutorial http://www.adobe.com/devnet/flashcatalyst/articles/get_started_with_flash_catalyst.html When I open the ec

  • How to start X200 with lid closed? (for use as HTPC)

    I'd like to use my X200 as an HTPC with the lid always closed (and use the TV as the only monitor). Is there a way to start the X200 with an IR remote control (or some other way)? (so that the X200 can be off or in sleep mode when not being used) I d

  • Problem in Forum Password

    Sir / Mam My user name: [email protected] In your Forums login. I could not login using my password. It displays as for the first time "There has been a technical problem. Please contact the webmaster or try again." On the next attempt it displays as

  • Message Process flow diagram

    hi experts i want clear diagram about the message flow in the xi.from starting to ending. please send me any one . regards babu