myapp/tempates/screens/Index.vm where there's <a href="$link.setPage("foo.vm")">click here</a>
myapp/templates/screens/foo.vm is a frameset with stylesheet. It goes like:
<html>
<head>
<title>hello</title>
<link rel="stylesheet" href="$content.getURI('templates/screens/A.vm_files/master.css')">
<meta name="robots" content="index, follow">
</head>
<frameset rows="125,1*" frameborder="no" border="0" framespacing="0">
<frame src="$content.getURI('templates/screens/A.vm_files/top.htm')"
noresize="noresize" frameborder="no" name="header" scrolling="no">
<frameset cols="151,**" frameborder="no" border="0" framespacing="0">
<frame src="$content.getURI('templates/screens/A.vm_files/left.htm')"
frameborder="no" name="nav" scrolling="no">
<frame src="$contnet.getURI('templates/screens/A.vm_files/page1.htm')"
noresize="noresize" frameborder="no" name="content">
</frameset>
</frameset></html>
it fails to render the page. In velocity.log, it said:
2004-12-13 14:58:30,225 [http-8080-Processor23] WARN velocity - org.apache.velo
city.runtime.exception.ReferenceException: reference : template = screens/foo.vm [line 14,column 17] : $contnet.getURI('templates/screens/A.vm_files/p
age1.htm') is not a valid reference.
I did have templates/screens/A.vm_files/page1.htm. When I viewed source on the browser, the $content.getURI('tempates/screens/A.vm_files/page1.htm') was not replaced by the actual value by velocity.
How can I solve this problem?
Is there a place that describes all the turbine velocity variables like $link, $screen, $content? I really don't understand when to use what.
Please help.
-- -hoki
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
