> > The problem is that in several XSL stylesheets, the 
> > 'referrerdir' variable, derived from the 'referrer'
> > parameter, is used to resolve several CSS stylesheet and 
> > JavaScript locations. These are of course never found by 
> > using my 'referrerdir'.
> 
> The finalist editwizards xsl's use the referrerdir to resolve 
> the javascript
> and css files, but I might switch that to templatedir 
> (templatedir uses the
> referrerdir when template parameter is missing).


If I use MMBase 1.7rc2, what wizards are used by default? Are
these the Finalist wizards? They sure look like them. Suppose I
am using the Finalist wizards, can I then use templatedir instead
of referrerdir to solve the problem?


> 
> > How do I link to a wizard.jsp and provide the correct 'referrer'
> > parameter to remain on the same wizard.jsp after clicking 
> > 'Save' or 'Cancel'.
> 
> You could have a jsp as the referrer and redirect the browser 
> back to your
> url or you could hack the wizard.jsp.


I have a JSP as referrer now, so I do not see how solution 1 will
solve the problem. I've taken a look at base.xsl and I'm wondering
if the template 'getdirpart' is causing my problem. This template
takes a referrer and does some string manipulation based on the
position of '/' characters. My referrer contains a lot of these,
so this might go wrong.

If this is not the case, I will try the other two options.


Regards, Ronald.

Reply via email to