I'm also sending the message below to the developer list, because
I think it might be a bug in the edit wizards. Thanks in advance
for any clues on how to solve this.


Hi,

I have a problem with linking to wizard.jsp from another page
(MMBase 1.7rc2). What I'd like to do is to open a wizard for
a single object, called 'hoofdpagina', and remain on the wizard
page after the user clicks 'Save' or 'Cancel'.

The referrer parameter given to wizard.jsp should accomplish
this, according to the documentation. It should be the page the
user returns to after clicking on 'Save' or 'Cancel'. In my case,
since the page I wish to return to is the wizard.jsp page itself,
I have a referrer parameter that is a URL with several
parameters, needed to show the correct page. This URL looks
like this:

/mmbase/edit/wizard/jsp/wizard.jsp?wizard=config/articles/articles&templates
=/editors&objectnumber=hoofdpagina

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'.

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'.


Regards,
Ronald Wildenberg.

Reply via email to