> Declare your backing bean as a <managed-bean>, using a
> <managed-bean-name> value that can be mapped from the view identifier.
> (See  DefaultViewControllerMapper for the details of the default
> mapping.) In nearly all circumstances, you will want the bean to be
> placed in request scope.
> 
> In which xml should i define the managed-bean and the view its mapped to?


The DefaultViewControllermapper maps view ids to managed beans. E.g., if your 
view has the view id "/pages/page1.jsp", you have to declare in your 
faces-config.xml a managed bean with the managed-bean-name "pages$page1".

At least that's my experience...

Cheers,

René


> 
> -- 
> Seeing is believing
> 

Reply via email to