org.mmbase.applications.vprowizards.spring
Class ReferrerResolver

java.lang.Object
  extended by org.mmbase.applications.vprowizards.spring.ReferrerResolver
All Implemented Interfaces:
ModelAndViewResolver

public class ReferrerResolver
extends Object
implements ModelAndViewResolver

This return page resolver will return the referrer url wiht a parameter 'nodenr' added when there is a new node in the result container. if there is an error it will return the value of the errorPage field. TODO: make sure the error page exists and shows the errors well. only global errors should trigger the error page. field errors should be shown in the editor.

Author:
ebunders

Constructor Summary
ReferrerResolver()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView getModelAndView(HttpServletRequest request, ResultContainer result)
           
 void setErrorPage(String errorPage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferrerResolver

public ReferrerResolver()
Method Detail

getModelAndView

public org.springframework.web.servlet.ModelAndView getModelAndView(HttpServletRequest request,
                                                                    ResultContainer result)
Specified by:
getModelAndView in interface ModelAndViewResolver

setErrorPage

public void setErrorPage(String errorPage)


MMBase 2.0-SNAPSHOT - null