John, thanks for your hints.
> You can use a Layout for this, but it is unnecessary. Try
> starting out
> writing a FrameScreen that returns a null layout.
>
> getLayout(RunData data){
> return null;}
Ok, did that. Should it return null, or ""? It is returning null.
> Name this appropriately or set it as the default.
Done, set it as the default in TR.props.
> Then write templates.
> One for the frameset and one for each frame.
Did that; the frameset is index.wm, and it has $link()s
to several other *.wm files; all of them are under templates/screens.
> It should not require anything
> more special than the standard html that you would normally
> use to write a framed page.
>
> I am probably writing this wrong, but the "hooks" would look like:
>
> <frame src="$link("frame1.wm")">
They do look like the above line.
When I visit the root page for the servlet, I get a blank screen
(it actually has some HTML content:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252"
http-equiv=Content-Type></HEAD>
<BODY><XMP></XMP></BODY></HTML>
When I visit screen/index.wm (the template with the frameset), I get
this error message:
Requested Screen not found: index.wm
Turbine looked in the following modules.packages path:
[com.sonda.bancos.teller.modules,
com.sonda.bancos.SONDAframe.modules, org.apache.turbine.samples,
org.apache.turbine.modules, org.apache.turbine.modules,
org.apache.turbine.modules]
at
org.apache.turbine.modules.ScreenLoader.getInstance(ScreenLoader.java:197)
at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:165)
at org.apache.turbine.modules.Page.build(Page.java:92)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:119)
at org.apache.turbine.Turbine.doGet(Turbine.java:366)
I also get this other error:
Exception: java.lang.Exception: The screen template:
WebMacroSiteErrorScreen does not exist in
D:\Apache\tomcat\webapps\sonda\WEB-INF\templates, so the TemplateService
could not determine associated templates.
Stack Trace follows:
java.lang.Exception: The screen template: WebMacroSiteErrorScreen
does not exist in D:\Apache\tomcat\webapps\sonda\WEB-INF\templates, so the
TemplateService could not determine associated templates.
at
org.apache.turbine.services.template.TurbineTemplateService.parseScreenTempl
ate(TurbineTemplateService.java:332)
at
org.apache.turbine.services.template.TurbineTemplateService.getLayoutTemplat
eName(TurbineTemplateService.java:237)
at
org.apache.turbine.modules.pages.TemplatePage.doBuildAfterAction(TemplatePag
e.java:155)
at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:158)
at org.apache.turbine.modules.Page.build(Page.java:92)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:119)
at org.apache.turbine.Turbine.handleException(Turbine.java:581)
at org.apache.turbine.Turbine.doGet(Turbine.java:420)
> John McNally
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]