Hi there!

Maybe some can explain this to me - it might be a general JSF
misunderstanding I am having.

I'm using t:panelNavigation + t:commandNavigation to have a 'navigation'
on every jsf page. When pressing one of the t:commandNavigation items it
causes a reload of the current page I am on before executing the action
specified.

The behaviour I would expect would not be a request to the current page I
am on but to the new page w/o rendering the old one. My problem is that
the request to the old page causes a query to the database causing
performance problems - as it is loading not needed data! I read through
the documentation and couldn't find any possible solution (checked the
lifecycle in particular:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFIntro10.html).

I think the problem is that the t:commandNavigation needs to be nested in
a form that is submitted by clicking on one of the items. Does this cause
the whole page to be rerendered? Am I getting anything wrong here? Maybe
someone can give me some hints where to look or what might be wrong.

Thank you!

- Stefan

Reply via email to