Peter Reitsma <[EMAIL PROTECTED]> wrote:
> In my app I am redirecting to a EditWizard wizard.jsp and I want to specify a return 
> URL using the
> referrer parameter. However, as soon as I add this parameter to the URL using which 
> I call the
> wizard, the wizard fails to initialize giving the following error:
> 
> Could not resolve 'wizards/artikelen/artikelen.xml'. 
> 
> Without the referrer parameter, the wizard runs fine.
> Is this a known problem ? And does anybody have an idea on how to specify request 
> parameters to
> the referrer URL ?

The 'referrer' parameter is not meant to specify a return URL, but to inform the 
server from which
page the wizard is called. (The http header 'referer' could also be used, but is not 
obligatory for
browsers, and I also think that it is badly tested in editwizards). 

This information is then used to determine a 'referrer's directory' which then serves 
as one of the
bases to resolve the xml's and xsl's.

I think a 'return url' feature is missing in de the editwizards, I doubt if the 
'referrer' parameter
can really be used for this.

It would not be very hard to implement such a feature though.

 Michiel



-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL, eo, en_US
mihxil'
[]()

Reply via email to