> > 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?

I guess you are using the finalist (blue not white) look, because that one
uses the ${referrerdir}/javascript to use some javascript files to override
methods of the default javascript files. The default xsl's use ${javascript}
to find the files.

> > You could have a jsp as the referrer and redirect the 
> browser back to your url
> 
> I have a JSP as referrer now, so I do not see how solution 1 
> will solve the problem.

What I meant was a jsp like /editors/return.jsp with the content 
response.sendRedirect("/mmbase/edit/wizard/jsp/wizard.jsp?wizard=config/arti
cles/articles&templates=/editors&objectnumber=hoofdpagina");

> remain on the same wizard.jsp after clicking 'Save' or 'Cancel'.

I tried to solve this part of your first posting. Not the referrer part. It
doesn't matter what the referrer paramter is with the options I gave. The
first option just hacked the wizard.jsp to prevent closing the first wizard
on the stack. You can save or cancel, but you can't get out of the wizard.
The second option removes the cancel and save&close button from the first
wizard screen. IOW you can only save&continue. This is the 1.7 feature the
others mentioned and is present in all RC's for the default and in RC2 for
the finalist.

Nico


Reply via email to