A concrete implementation of ViewResolver which will resolve
ComponentProducer requests into a fixed collection of configured beans, set
up by the setViews() method. Can also fall back to a set of generic
ViewResolvers should initial lookup fail. This is the default RSF
ViewResolver - it is an application scope bean, although it collaborates with
the AutoComponentProducerManager to accept request-scope producers.
author: Antranig Basman (antranig@caret.cam.ac.uk)
setViewResolvers(List resolvers) Sets a list of slave ViewResolvers which will be polled in sequence should
no static producer be registered, until the first which returns a non-null
result for this view.
public void
setViews(List viewlist) Sets a static list of ViewComponentProducers which will be used as a first
pass to resolve requests for incoming views.
Field Detail
ALL_VIEW_PRODUCER
final public static String ALL_VIEW_PRODUCER(Code)
public void setViewResolvers(List resolvers)(Code)
Sets a list of slave ViewResolvers which will be polled in sequence should
no static producer be registered, until the first which returns a non-null
result for this view.
Sets a static list of ViewComponentProducers which will be used as a first
pass to resolve requests for incoming views. Any plain ComponentProducers
will be added as default producers to execute for all views.