Hi Marc,

The editwizards use the following algorithm for finding the wizard
definitions.

Say the referrer (= page that is calling the editwizards) is located in
directory X, than MMBase will first start to browse X and the
subdirectories of X trying to resolve the path to your editwizard
specification (XML).

If the search fails, MMBase falls back and browses the
/mmbase/edit/wizard/data dir. If your editwizard definition can not be
found their the not found error is thrown.

Hope this helps.

Kind regards, Henk.


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Marc Wilson
> Sent: Thursday, August 04, 2005 1:38 AM
> To: Discussion list for developers
> Subject: [Developers] frames & editwizards
> 
> 
> 
> 
> Hi Developers,
> 
> Having trouble with accessing editwizards (wizard.jsp, list.jsp) when 
> using frames.
> 
> (index.jsp)
> <frameset rows="10%,90%" framespacing="0" frameborder="0" 
> bordercolor="#FFFF00">
>         <frame src="<mm:url page="editors/header.jsp" />" name="head" 
> scrolling="no">
>     <frameset cols="300,*" framespacing="0" frameborder="0" 
> bordercolor="#FFFF00">
>         <frame src="<mm:url page="editors/suchen.jsp" />" name="menu" 
> frameborder="1" scrolling="yes" bordercolor="#F3F3F" target="_top">
>         *<frame src='<mm:url page="${jsps}wizard.jsp" >
>                 <mm:param 
> name="wizard">config/beitrag/beitrag</mm:param>
>                 <mm:param name="nodepath">beitrag</mm:param>  
>              
>                 <mm:param 
> name="objectnumber">new</mm:param></mm:url>' 
> name="search" frameborder="0" scrolling="yes" bordercolor="#FFFF00" 
> target="_top" marginwidth="10"> *
>     </frameset>
> 
> Last frame throws this exception: why can't it find the right path?
> 
> javax.servlet.ServletException: Could not resolve wizard 
> config/beitrag/beitrag.xml  
> with 
> [file:D:\web\workspace\FloraBeitragsdatenbank\web\mmbase\edit\
wizard\jsp, 
refi18n:http://localhost/*NOTFOUND*/i18n/en,
ref:file:D:\web\workspace\FloraBeitragsdatenbank\web, 
i18n:http://localhost/*NOTFOUND*/mmbase/edit/wizard/data/i18n/en/, 
ew:file:D:\web\workspace\FloraBeitragsdatenbank\web\mmbase\edit\wizard\d
ata, 
mm:file:D:\web\workspace\FloraBeitragsdatenbank\web\WEB-INF\config]
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont
extImpl.java:825)



        

        
                
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier
anmelden: http://mail.yahoo.de
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to