That's how JSF works.  The page basically posts back to itself so that
it has a chance to do conversion, validation and handle events.  If
you use immediate = true (on the commandLink) you can skip the Process
Validations and Update Model Phases.

The Apply Request Values phase still happens though.  So your value
bindings are all evaluated.  If this is what you mean by "methods in
the beans", then yes, this will continue to happen.

HTH,

sean

On 11/16/05, ::SammyRulez:: <[EMAIL PROTECTED]> wrote:
> sadly nothing is changed :-(
>
> ;-)
>
> 2005/11/16, Grant Smith <[EMAIL PROTECTED]>:
> > Try immediate="true" in your commandLink.
> >
> >
> > On 11/16/05, ::SammyRulez:: <[EMAIL PROTECTED]> wrote:
> > > i notice that if I have a page with a action that drive to another
> > > page like this
> > >
> > > <h:commandLink action="EDIT_USER" >
> > >                 <f:param name="id" value="0" />
> > >             <h:outputText value="#{labels.new}" styleClass="text"/>
> > > </h:commandLink>
> > >
> > > with a navigation like this
> > >
> > > <navigation-rule>
> > >
> > <from-view-id>/jsp/admin/listUsers.jsp</from-view-id>
> > >         <navigation-case>
> > >             <description></description>
> > >             <from-outcome>EDIT_USER</from-outcome>
> > >
> > <to-view-id>/jsp/admin/editUser.jsp</to-view-id>
> > >              <redirect />
> > >         </navigation-case>
> > > </navigation-rule>
> > >
> > > the page with the command link is reintepreted before loading the target
> > page.
> > >
> > > I mean that the methods in the beans in the  from-view-id are called
> > > before loading to-view-id page and calling the methods of the
> > > o-view-id page beans.
> > >
> > > I tried with and without redirection but with no effects...
> > >
> > > any suggestions?
> > >
> > > Thanks
> > >
> > >
> > > --
> > > ::SammyRulez::
> > > http://sammyprojectz.blogspot.com
> > >
> >
> >
> >
> > --
> > Grant Smith
> >
>
>
> --
> ::SammyRulez::
> http://sammyprojectz.blogspot.com
>

Reply via email to