I have two templates, A.wm and B.wm. Template A says:
<form action="$link.setPage("B.wm")">
<input value="Go to B" type="submit">
</form>
and when I hit the "Go to B" button, it takes me to
template B. Good.
Now, template B says:
<form action="$link.setAction("B")">
<input value="Go to A" name="eventSubmit_doA" type="submit">
</form>
and the associated action B.java has
public void doA(RunData data, WebContext context)
throws Exception
{
setTemplate(data, "A.wm");
}
but this, which I could swear was working a few weeks ago,
does NOT work now, and I get this confusing error message:
java.lang.Exception: The screen template: eventSubmit_doA=Go to A
does not exist in D:\Apache\resin\doc\frames\templates, so the
TemplateService could not determine associated templates.
at
org.apache.turbine.services.template.TurbineTemplateService.parseScreenTempl
ate(TurbineTemplateService.java:380)
at
org.apache.turbine.services.template.TurbineTemplateService.getLayoutTemplat
eName(TurbineTemplateService.java:277)
at
org.apache.turbine.services.template.TurbineTemplate.getLayoutTemplateName(T
urbineTemplate.java:85)
at
org.apache.turbine.modules.pages.TemplatePage.doBuildAfterAction(TemplatePag
e.java:141)
at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:157)
at org.apache.turbine.modules.Page.build(Page.java:92)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:367)
Could anybody point me to what I'm doing wrong? Again,
I could swear this used to work... Thanks,
--
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]