3 Replies Latest reply on Jun 6, 2008 8:10 AM by ilya_shaikovsky

    page not displayed

    mario_r_m

      Sorry for my english , i'll do my best,

      I have a page that display a table and every row in the table has a link to other page.

      i use this code:

      <a4j:commandLink value="Ver" action="#Requerimientos.verRequerimiento}">
      <a4j:actionparam name="numeroReq" assignTo="#{Requerimientos.requerimientoSeleccionado}" value="#{requerimiento.numero}"/>
      </a4j:commandLink>

      when the link is clicked, the method Requerimientos.verRequerimiento is executed perfectly, but the next page is never displayed. i need to find the solution to this problem.

        • 1. Re: page not displayed

          what the #{Requerimientos.verRequerimiento} action method returns?

          • 2. Re: page not displayed
            mario_r_m

            the method Requerimientos.verRequerimiento "Requerimiento" which is defined in the faces_config.xml.


            <navigation-rule>
            <from-view-id>/principal.jsp</from-view-id>
            <navigation-case>
            <from-outcome>Requerimiento</from-outcome>
            <to-view-id>/Requerimiento.jsp</to-view-id>
            </navigation-case>
            </navigation-rule>

            but the page Requerimiento.jsp is not displayed

            • 3. Re: page not displayed
              ilya_shaikovsky

              In general why you using ajax link in order to navigate between pages? Ajax designed for partial update.. :) However you could perform ajax navigation but with one limetation. Add to your navigation case

              <redirect/>