Problem with navigator

I'am trying to use the demo program 'navwiz.fmb' to make a program that can fetch data from several tables in the navigator. but i doesn't work. Please see the procedure below.
Can you help me. I looking for docs that can help me .
In fact i want to know more than 3 level tree is possible
Thanks
PROCEDURE r_t (p_view VARCHAR2) IS
     cursor cursor_soc is
select soc_designation, soc_societe
from societes
order by soc_designation;
cursor cursor_dept(p_soc varchar2) is
select sec_designation, sec_secteur
from zones
where          rtrim(ltrim(sec_societe)) = rtrim(ltrim(p_soc))
order by sec_designation;
cursor cursor_emp(p_sec varchar2) is
select div_designation, div_division
from secteurs
where rtrim(ltrim(div_secteur)) = rtrim(ltrim(p_sec))
order by div_designation;
cursor cursor_centre(p_div varchar2) is
select cen_designation, cen_cf
from centres
where rtrim(ltrim(cen_division)) = rtrim(ltrim(p_div))
order by cen_designation;
cursor cursor_ens(p_cf varchar2) is
select ens_designation, ens_ensemble
from ensembles
where rtrim(ltrim(ens_cf)) = rtrim(ltrim(p_cf))
order by ens_designation;
cursor cursor_equ(p_ens varchar2) is
select equ_designation, equ_equipement
from equipements x,liens_ens_equ y
where rtrim(ltrim(lee_ensemble)) = rtrim(ltrim(p_ens))
and               rtrim(ltrim(equ_equipement)) = rtrim(ltrim(lee_equipement))
order by equ_designation;
cursor cursor_org(p_equ varchar2) is
select org_designation, org_organe
from organes x,liens y
where rtrim(ltrim(lie_equipement)) = rtrim(ltrim(p_equ))
and               rtrim(ltrim(org_organe)) = rtrim(ltrim(lie_organe))
order by org_designation;
v_i number;
v_ignore number;
rg_emps recordgroup;
rg_depts recordgroup;
v_init_state groupcolumn;
v_level groupcolumn;
v_label groupcolumn;
v_icon groupcolumn;
v_value groupcolumn;
i_soc number := 1;
i_zone                         number := 1;
i_secteur               number := 1;
i_cf                              number := 1;
i_ens                         number := 1;
i_equ                         number := 1;
i_org                         number := 1;
begin
     /*if p_view = 'EMP' then
     --the emps hierarchy
     rg_emps := find_group('EMPS');
     if not id_null(rg_emps) then
          delete_group(rg_emps);
     end if;
     rg_emps := create_group_from_query('EMPS',
'select 1, level, ename, NULL, to_char(empno) ' ||
'from emp ' ||
'connect by prior empno = mgr ' ||
'start with job = ''PRESIDENT''');
v_ignore := populate_group(rg_emps);
ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_emps);
else
     --the organization
rg_depts := find_group('SOCIETES');
if not id_null(rg_depts) then
     delete_group(rg_depts);
end if;
rg_depts := create_group('SOCIETES');
v_init_state := add_group_column(rg_depts, 'init_state', number_column);
v_level := add_group_column(rg_depts, 'level', number_column);
v_label := add_group_column(rg_depts, 'label', char_column, 150);
v_icon := add_group_column(rg_depts, 'icon', char_column, 20);
v_value := add_group_column(rg_depts, 'value', char_column,20);
v_i := 1;
for socrec in cursor_soc loop
     add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 1);
set_group_char_cell (v_label , v_i, socrec.soc_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, socrec.soc_societe);
v_i := v_i + 1;
               i_soc := i_soc + 1;
               for deptrec in cursor_dept(socrec.soc_societe) loop
               add_group_row(rg_depts, v_i);
          set_group_number_cell(v_init_state, v_i, 1);
          set_group_number_cell(v_level , v_i, 2);
          set_group_char_cell (v_label , v_i, deptrec.sec_designation);
          set_group_char_cell (v_icon , v_i, NULL);
          set_group_char_cell (v_value , v_i, deptrec.sec_secteur);
          v_i := v_i + 1;
          i_zone := i_zone + 1;
          for emprec in cursor_emp(deptrec.sec_secteur) loop
                    add_group_row(rg_depts, v_i);
                    set_group_number_cell(v_init_state, v_i, 1);
               set_group_number_cell(v_level , v_i, 3);
               set_group_char_cell (v_label , v_i, emprec.div_designation);
               set_group_char_cell (v_icon , v_i, NULL);
               set_group_char_cell (v_value , v_i, (emprec.div_division));
               v_i := v_i + 1;
               i_secteur := i_secteur + 1;
               for centrerec in cursor_centre(emprec.div_division) loop
                              add_group_row(rg_depts, v_i);
                              set_group_number_cell(v_init_state, v_i, 1);
                         set_group_number_cell(v_level , v_i, 4);
                         set_group_char_cell (v_label , v_i, centrerec.cen_designation);
                         set_group_char_cell (v_icon , v_i, NULL);
                         set_group_char_cell (v_value , v_i, (centrerec.cen_cf));
                         v_i := v_i + 1;
                         i_cf := i_cf + 1;
                         for ensrec in cursor_ens(centrerec.cen_cf) loop
                                        add_group_row(rg_depts, v_i);
                                        set_group_number_cell(v_init_state, v_i, i_ens);
                                   set_group_number_cell(v_level , v_i, 5);
                                   set_group_char_cell (v_label , v_i, ensrec.ens_designation);
                                   set_group_char_cell (v_icon , v_i, NULL);
                                   set_group_char_cell (v_value , v_i, (ensrec.ens_ensemble));
                                   v_i := v_i + 1;
                                   i_ens := i_ens + 1;
                                   for equrec in cursor_equ(ensrec.ens_ensemble) loop
                                                  add_group_row(rg_depts, v_i);
                                                  set_group_number_cell(v_init_state, v_i, i_equ);
                                             set_group_number_cell(v_level , v_i, 6);
                                             set_group_char_cell (v_label , v_i, equrec.equ_designation);
                                             set_group_char_cell (v_icon , v_i, NULL);
                                             set_group_char_cell (v_value , v_i, (equrec.equ_equipement));
                                             v_i := v_i + 1;
                                             i_equ := i_equ + 1;
                                             for orgrec in cursor_org(equrec.equ_equipement) loop
                                                            add_group_row(rg_depts, v_i);
                                                            set_group_number_cell(v_init_state, v_i,i_org);
                                                       set_group_number_cell(v_level , v_i, 7);
                                                       set_group_char_cell (v_label , v_i, orgrec.org_designation);
                                                       set_group_char_cell (v_icon , v_i, NULL);
                                                       set_group_char_cell (v_value , v_i, (orgrec.org_organe));
                                                       v_i := v_i + 1;
                                                       i_org := i_org+1;
                                                  end loop;
                                        end loop;
                              end loop;
                    end loop;
          end loop;
               end loop;
end loop;
ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_depts);
--end if;
end;
Message was edited by:
user507429

thank you for helping me. the problem i have is that only the 3 first level data are fecthed. the rest are ignored.
Any indication will be appreciate
hope you speak french.
au fait en basant sur le from demo navwiz.fmb j'essaye de mettre en oeuvre une arborescence à 7 niveaux. seulement à l'execution je n'ai que 3 niveaux affichés. les autres sont simplement ignorés.
Merci
Message was edited by:
user507429

Similar Messages

  • Problem with navigation and masthead by changing languages with Anonymous

    Hi All,
    i have a problem with navigation and masthead by changin the language when accessing as anonymous user.
    Ive created two additional users anon_de  (with language german )and anon_en (for english).
    I've created also two links in the in masthead:
    /irj/portal/anonymous?guest_user=anon_en and /irj/portal/anonymous?guest_user=anon_de
    When i choose "de" for the first time it works fine, but when i choose "en" again the language in the content are is changing to english again, but not in navigation and masthead. When i click again on link for "en" the languge is set to english. Strange thing is that when i click on "de" instead the portal content change to german but masthead and navigation are in english now, as it should be before....
    It seems that masthead and navigation have always prevoius language selected.
    Do you know, what could be the reason of that strange behavior?
    Thanks for help
    Karol

    Hi Detlev,
    you are right. the user is not "updated" fast enough... the strange thing is, that it works by the first time i change the language...
    well.. i can implement that workaround as you suposed, but it would be a really workaround as the same page will be requestes second time, causing requests number to be double..
    Thanks for help
    ps. i forgot to mark this message as question to give points.. if you tell me how i can change that ill reward your answer..

  • Problems with navigation when deploy application on WebLogic 10.3

    Hi! I have problems with navigation when I deploy my application on Weblogic server 10.3. In my application I have two pages. One page where I can see the records. In this page I have button Create with action to secound jspx page. When I press this button then the first form (where I could see all records) is empty - the create operation worked, but navigation to second page not. Navigation rules is in adf task flow. In default server all works correct. Where is the problem?
    Maybe when I deploy my application I need specialy deploy adf task flow or somewhere write something? If so, then can you explain me where? Any suggestions what to do.
    Best regards!

    I have in log:
    2009.26.3 20:12:52 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImp
    l setLifecycleContextBuilder
    WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfi
    nternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    2009.26.3 20:12:52 oracle.adfinternal.controller.util.model.AdfmInterface initia
    lize
    INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
    2009.26.3 20:12:52 oracle.adfinternal.controller.metadata.provider.MdsMetadataRe
    sourceProvider <init>
    INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
    2009.26.3 20:12:52 oracle.adf.controller.internal.metadata.MetadataService$Boots
    trap add
    INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    2009.26.3 20:12:54 oracle.adf.share.security.providers.jps.CSFCredentialStore fe
    tchCredential
    WARNING: Unable to locate the credential for key AUGI in D:\bea\user_projects\do
    mains\base_domain\config\oracle.
    2009.26.3 20:12:54 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResult
    Exception
    WARNING: Incomplete connection information
    Edited by: Debuger on Mar 26, 2009 11:18 AM

  • Problem with Navigator 6710

    I have a problem with my nokia 6710 navigator, it always flashes a message that memory full delete or move data from Chone memory but i am struggling to move or delete since i cnt find C folder? please assist? 

    did you check if you have the latest firmware installed?
    did you install something new, new app or something like that ?
    http://europe.nokia.com/support/download-software/​device-software-update
    if you have tried updating or it is up to date, you tried to restore factory settings and such, took the battery out and nothing is helping a trip to nokia care might be a good idea
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • Problem with navigator on nokia5800 navigation edi...

    My name is Alexander and I have problems with the navigation system of the phone as my Nokia 5800 Navigation Edition: I installed the new version while downloading OviMaps and an error occurred and then can not use the browser. How can I reinstall OviMaps or what should I do? thank you
    Solved!
    Go to Solution.

    @alexandrudilita
    Welcome to the forum!
    Although you would need to backup any essential data first, you could always reset device to "out of box" state by keying in *#7370# on dialler followed by 12345 (default Nokia lock code unless previously altered by yourself); this would revert to version of OVI Maps pre-installed in device firmware.
    Happy to have helped forum with a Support Ratio = 42.5

  • Problems with navigation using JSF 1.0 RI

    I have a problem with faces in that navigation simply stops working. I have a page which have prev/next buttons on it, and a cancel button. Each button is of the form
    <h:form id="viewxxx">
    <h:commandButton value="XXX" styleClass="buttonInput" action="#{somebean.doSomeAction}"/>
    </h:form>
    The code behind the next/prev button action returns "success", the cancel returns an action string which returns the user to the previous screen.
    After clicking on prev/next a few times one of two possible things happen:-
    (1) the navigation stops working (all buttons do nothing)
    (2) or after pressing a button a few times the navigation starts to work.
    I tried to simplify things to find out if my backing code was causing the problem. I included a very simple button:-
    <h:form id="view_c_getridofme">
         <h:commandButton value="Test" styleClass="buttonInput" action="success"/>
    </h:form>
    and after clicking this a few time it also breaks the navigation. So I suspect something strange is going on inside the Faces implementation.
    I checked the faces-config.xml and this is correct:
    <!-- Stay on View for page next/prev -->
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/viewcorr.jsp</to-view-id>
    <redirect />
    </navigation-case>
    I tried (albeit briefly) MyFaces 1.0.3 and the navigation does not break although it does present some other issues for me. My preference would be to use Sun's JavaFaces implementation if possible.
    Can anyone shed light on this - why this may be happening?

    I experienced the same problem while re-submitting to the same page about 15 times via a command button (a list page that would get updated with every new submit).
    After having turned JSF logging on I discovered that my stylesheet (!) was interpreted by JSF as a Faces view (because of the /faces/-mapping before it) and that this caused the list page to be (incorrectly) added up towards the maximum of 15 views in the session. After 15 reloads JSF would remove the list page from view, re-create it, and I experienced the same problems as you described in the top post - no navigation worked.
    My stylesheet used to be:
    <link rel="STYLESHEET" type="text/css" href="../../css/foo.css">
    ... which kept the /faces/ mapping from the page containing the css reference, and made it look like a faces view to JSF.
    When I switched to:
    <link rel="STYLESHEET" type="text/css" href="/css/foo.css">
    ... the problem disappeared.
    Hope that helps all of you that have this problem. It certainly took me quite a while to figure it out!
    Mattias L

  • JDeveloper Extension Problem with Navigator Elements

    Hi,
    I have a problem with the elements of the JDev Navigator.
    At IDE startup I want to set an overlay for the elements on the active project.
    This function is implemented in the Subversion Extension too.
    How can I access the elements of an active project in the navigator?
    It is not a problem to set an overlay with the ContextMenuListener.
    Thank you for your help.
    Greetings,
    Benjamin Oelenberg

    Please take a look at the Extension SDK sample projects. There is a sample that does exactly this.
    Install the Extension SDK from the Help --> Check for Updates dialog and after restart, say yes to installing the sample projects.

  • Apex 4.1 - problem with navigation component LIST after upgrade

    There seems to be problem with Tags in LIST component, after upgrade from 4.0 to 4.1 release

    Right, we verified a problem for migrated lists.
    We have lists of links, that are not based on a specific template. After upgrade to 4.1, they stopped from rendering in their region. Found out that the tag <TABLE> was not included in the HTML Source, hence the list body was not built to render.
    The only way we found to include it was to create a template for Lists (there is not one by default in Apex in certain themes), edit it and include the tag (in the section "Before List Entry" > "List Template Before Rows" - the tag itself is not present in the newly created template, too). Then, you need to assign the template to the existing Lists to make the list body re-appear: it doesn't seem to be a good practice to create a list without a template, but Apex should at least provide 1 by default.
    Edited by: Kleber M on Oct 28, 2011 9:03 AM

  • Problem with navigation script

    Hi I'm having trouble getting a button work correctly when
    pressed it should take user to a particular label on the main
    scene. Is there a problem with my script? The button is inside a
    movie clip which is inside another movie clip. Thanks in
    advance.

    this quite difficult to explain but here goes. i have a
    complex button with a roll in roll out effect. ie. a movie clip
    acting as a button that shows different buttons (in another movie
    clip) when it is rolled over. I then want the different buttons to
    go to other parts in the main timeline. the code works fine when
    the buttons are on the main timeline but because it is within
    another two movie clips it doesnt work like it should. In fact the
    script i have used in the first movie clip also affects the button.
    This script is as follows and belongs in the first frame of the
    first movie clip. In other words, I need the button not to be
    effected by the following script but by the gotoAndPlay script.
    Thanks

  • Having problems with navigation

    I have a MacBook Air.  Navagation on mousepad is not working after I open an internet site and can't close Safari without shutting down the computer completely.  This is a new problem and I have reset Safari thinking the problem would be resolved but it has not.  What do I need to do to get my computer back?  Very frustrating.

    what do you mean by 'opens a movie'? i have a feeling you
    might be just going to a frame in the same movie - or perhaps a
    scene? or are you using the attachMovie function to bring in a
    movieclip from the library or loadMovie to bring in a swf? and then
    what is the precise syntax of the actionscript you are entering? we
    should be able to get to the bottom of the solution to your problem
    with all the information.

  • Problem with navigation in app javascript

    Hi, in my app there are some problems for the navigation between the pages. in the app there is a descrption of the problems. can you help me? please.. it is important for me
    https://onedrive.live.com/redir?resid=EED8037DD05FCED!79109&authkey=!APeraVKd0dTb96k&ithint=file%2crar

    Hi Massimo,
    Problem solved? I've downloaded your sample and there is really complex code in your sample, hardly to find where the problem located.
    If I click method1, the app crashed with exception: out of memory.
    To narrow down the issue, I create a blank app with the same page without too many js script loaded, I found it works fine, looks like the out of memory is caused by some of the js files.
    I would suggest you to remove the js script reference you are using one by one if they are useless, I believe some of the JS code cause the memory issue.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SOS Problem with navigation rules

    Hello,
    I have been stuck for some time with a navigation problem: It seems my faces DD is read but the navigations rules are not. Unfortunately it does not give me any exception. The only thing that occurs is that the home page reloads itself instead of redirecting to the second page.
    Here is my DD:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"  "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
         <!-- ==============================  Application  ============================== -->
         <application>
              <locale-config>
                   <default-locale>en</default-locale>
              </locale-config>
         </application>
         <!-- ==============================  Managed Beans ============================== -->
         <managed-bean>
              <managed-bean-name>GuideSearchManagedBean</managed-bean-name>
              <managed-bean-class>com.softwareag.test_guide.web.temp.PGSearchManagedBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <!-- ==============================   Navigation rules ============================== -->
         <navigation-rule>
              <from-view-id>/home.jsp</from-view-id>
              <navigation-case>
              <from-action>#{GuideSearchManagedBean.newSearchAction}</from-action>
              <from-outcome>displayResults</from-outcome>
              <to-view-id>/errorOccured.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>Here is my jsf:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <html>
    <head>
    <title>home</title>
    </head>
    <body>
    <h:form id="guide_form">
    category
    <h:selectOneMenu id="category" value="#{GuideSearchManagedBean.category}" required="true">
    <f:selectItem itemValue="2" itemLabel="resto"/>
    <f:selectItem itemValue="1" itemLabel="bar"/>
    <f:selectItem itemValue="3" itemLabel="disco"/>
    </h:selectOneMenu>
    <br /><br />
    postcode<br /><br />
    <h:selectManyListbox id="postcodes" value="#{GuideSearchManagedBean.postcodes}" required="true">
    <f:selectItem itemValue="75001" itemLabel="75001"/>
    <f:selectItem itemValue="75002" itemLabel="75002"/>
    <f:selectItem itemValue="75003" itemLabel="75003"/>
    <f:selectItem itemValue="75004" itemLabel="75004"/>
    <f:selectItem itemValue="75005" itemLabel="75005"/>
    <f:selectItem itemValue="75006" itemLabel="75006"/>
    </h:selectManyListbox>
    <br /><br />
    name
    <h:inputText id="name" value="#{GuideSearchManagedBean.name}"/>
    <br /><br />
    with comments
    <h:selectBooleanCheckbox id="commentsExist" value="#{GuideSearchManagedBean.commentsExist}"/>
    <br /><br />
    order by
    <h:selectOneRadio id="sortOrderCriterion" value="#{GuideSearchManagedBean.sortOrderCriterion}" layout="pageDirection">
      <f:selectItem itemValue="GRADES" itemLabel="note"/>
      <f:selectItem itemValue="DB_ESTABLISHMENT_NAME" itemLabel="name"/>
      <f:selectItem itemValue="DB_POSTCODE" itemLabel="postcode"/>
    </h:selectOneRadio>
    <br /><br />
    minimum note
    <h:selectOneMenu id="minimumNote" value="#{GuideSearchManagedBean.minimumNote}">
    <f:selectItem itemValue="1" itemLabel="1"/>
    <f:selectItem itemValue="2" itemLabel="2"/>
    <f:selectItem itemValue="3" itemLabel="3"/>
    <f:selectItem itemValue="4" itemLabel="4"/>
    <f:selectItem itemValue="5" itemLabel="5"/>
    </h:selectOneMenu>
    <br /><br />
    <h:commandButton id="submit" action="#{GuideSearchManagedBean.newSearchAction}" value="Submit" />
    </h:form>
    </body>
    </html>
    </f:view>Here is my Managed bean:
    package com.softwareag.test_guide.web.temp;
    import java.rmi.RemoteException;
    import java.util.List;
    import com.softwareag.test_guide.web.util.PGFactory;
    * @author Julien Martin
    public class PGSearchManagedBean {
         private String category;
         private List postcodes;
         private String name;
         private boolean commentsExist;
         private String sortOrderCriterion;
         private int minimumNote;
         public String newSearchAction(){
              System.out.println("----------within new search action--------------");//this line never gets printed
              return "displayResults";
         public String nextAction() throws RemoteException { //TODO: Remove that
              PGSearch search = PGFactory.getSearchInstance();
              String issue = search.next();
              return issue;
         public String previousAction() throws RemoteException { //TODO: Remove that
              PGSearch search = PGFactory.getSearchInstance();
              String issue = search.previous();
              return issue;
         public String getCategory() {
              return category;
         public boolean getCommentsExist() {
              return commentsExist;
         public int getMinimumNote() {
              return minimumNote;
         public String getName() {
              return name;
         public List getPostcodes() {
              return postcodes;
         public String getSortOrderCriterion() {
              return sortOrderCriterion;
         public void setCategory(String string) {
              category = string;
         public void setCommentsExist(boolean bool) {
              commentsExist = bool;
         public void setMinimumNote(int i) {
              minimumNote = i;
         public void setName(String string) {
              name = string;
         public void setPostcodes(List list) {
              postcodes = list;
         public void setSortOrderCriterion(String string) {
              sortOrderCriterion = string;
    }Can anyone help? I am really stuck. :-)
    Julien Martin.

    Hi,
    I added a messages component to your home.jsp page and saw that the page produced validation errors (often the cause for failed navigation).
    The problem is that the beans property minimumNote expects an int but gets a String. When you change the the type in the bean to String it works.
    You will probably want to add a converter to the uicomponent to get the correct type. I'd be happy to tell you how, but I'm just starting with jsf ;-).

  • Problem with navigation-rules

    Hello!!!
    I'm using Jboss Jbpm with JSF and I want to navigate to other page when I fill a form and I send the data that I entered. I have declare the navigation-rules but it doesn't work and I don't know why.
    In my faces-config.xml I've added the navigation-rules:
    <managed-bean>
                   <managed-bean-name>usuario</managed-bean-name>
                   <managed-bean-class>com.miApp.UserBean</managed-bean-class>
                   <managed-bean-scope>request</managed-bean-scope>
              </managed-bean>
         <navigation-rule>
                   <from-view-id>/SolicitarAlta.xhtml</from-view-id>
                   <navigation-case>
                        <from-action>#{usuario.registrar}</from-action>
                        <from-outcome>correcto</from-outcome>
                        <to-view-id>/results/correcto.jsp</to-view-id>
                   </navigation-case>
         </navigation-rule>
         The UserBean has the method registrar:
    public String registrar() {
           if(dni==null || nombre==null || apellidos==null || ocupacion==null || mail==null || tlf==null ||
    password==null)      
                return "campos-obligatorios";
           if ((mail.trim().length() < 3) ||       (mail.indexOf("@") == -1))
                          return "mail-incorrecto";
           else if(tlf.length()!=9)     return "telefono-incorrecto";
                else if(dni.length()!=8) {return "dni-incorrecto";}
           return "correcto";
         And with this line:
    <h:commandButton type="submit" value="Enviar" action="#{usuario.registrar}"/>     the method registrar is executed and I know that this method returns the string "correcto" but ... This doesn't redirect me to the page correcto.jsp
    I thought that maybe if SolicitarAlta was an xhtml file the correcto page should be also an .xhtml file. I changed it but it doesn't work.
    Any ideas? Could it be that I have to add something more in the faces-config.xml & web.xml file???
    Thx!

    I found the solution to my problem but I don't really understand why it was not working. My problem was due to the use of command button with a render set to false. I just put them at true and all my navigation rules work!
    If someone know why it was not working, I would be glad to know!

  • Any Security Problems with Navigation with Short URLs?

    Hi ,
    I want to use Navigation with Short URLs for my users to access the portal. But if the users give that Short URLs to other non-users , will the URL open?
    I will give the role for the users only. Non-users will not have particular role.
    Are these Navigation with Short URLs are safe to use?
    Advise me.

    Hi,
    The iview have "EveryOne Role" and "Super Admin Role".
    The portal will not allow any "anonymous" users, because it needs atleast "EveryOne Role" for the access.
    Will this create any problem.
    I think the "EveryOne Role" is there for the user, if the iview1 assigned for role1 but still in the permissions of iview1 have the "Everyonerole" , it is allowing user to access this right?
    Then I need to remove the EveryOne Role from the permissions.
    Regards
    Kiran

  • Problem with Navigation Attributes when upgrading from BI 3.1 to BI 7.0

    Hello,
    I have the following problem that occured regarding queries during the upgrade from BI 3.1 to BI 7.0:
    As far as the queries are concerned it is not possible in the 7.0 system to completely rebuild them according to the queries in 3.1. More specifically this refers to a certain number of navigation attributes that cannot be integrated into the query. In this case the following error message appears: "Error in BW: Missing mapping partprov cha <-> multiprov cha". Moreover, this error message only appears when you try to include navigation attributes into the query that are all attributes of the same specific InfoObject.
    I have already checked in the 7.0 system if the relevant objects have the status 'active' and if the identification between the Multiprovider and the InfoObjects used is correct. So, is there anybody who may has another idea why this error message appears respectively who experienced the same/similar problem?
    Thanks in advance & Regards

    Hello Martin,
    yes, I've also checked the identification in the MultiProvider for the navigational attributes. There is nothing missing.
    I've also reactivated the objects.
    Do you may have another idea?
    Thanks and regards, Ines

Maybe you are looking for

  • How to create event on iPhone and have it sync with Google and Exchange?

    How can you synchronize your Exchange calendar with your Google calendar? I have an Exchange account and Google Sync set up on my iPhone 4. However, when I create an event on my iPhone, I have to pick which calendar it goes in, and it shows up only i

  • Why are my placed images in Illustrator dimmed?

    I just got a fresh install of Illustrator CC and every time I place a raster image into my document, it appears dim or very light. When I go to export the image, the PNG file displays the image correctly.

  • IPhoto '11 freezes when try and click "Buy Book". Cannot create order

    I have spent countless hours creating a 96 page Photobook. This is for a Christmas present, so I need to order it asap. Problem is when I click on "Buy Book", a pop-up screen comes up but it is blank and there is no text and the system freezes. I hav

  • SCCM fail SQL sysadmin Right

    Hi, I'm trying to install SCCM into a virtual machine which having SQL server 2008R2 with sp1. When I launch SCCM prerequisite Checker, I always having the same error concerning "SQL server sysadmin Right"; I try to find from where it could come, so

  • Itunes taking over 1 minute to load

    Hi, I have over 1500 songs in my itunes library. It used to load really quickly, but it seems the more songs I put into the library the longer it takes to load now. It takes over 2 minutes from clickling on the icon to itunes loading. Is there someth