Yes. Otherwise, you couldn't use dataTable.getRowData() to determine
what row your command should affect.
On 11/16/05, ::SammyRulez:: <[EMAIL PROTECTED]> wrote:
> so if I have a dataTable in a page with a commandlink on each row when
> I click on the link the dataTable binding is reloaded before the
> action of the command link is occured? what if contains hundreds of
> row...??
>
> For sure I'm missing something... ;-(
>
> 2005/11/16, Sean Schofield <[EMAIL PROTECTED]>:
> > 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
> > >
> >
>
>
> --
> ::SammyRulez::
> http://sammyprojectz.blogspot.com
>