How does the Body component work as a Frameset. In the
"component reference" it says to use the "element" parameter to change the
generated tag from <BODY> to <FRAMESET> ?
<page-specification ... >
<component id="tShell"
type="Shell" >
<static-binding name="title" >Title</static-binding>
</component>
<static-binding name="title" >Title</static-binding>
</component>
<component id="tFrameset"
type="Body" >
<static-binding name="element" >frameset</static-binding>
</component>
<static-binding name="element" >frameset</static-binding>
</component>
</page-specification>
<html>
<span jwcid="$content$"
>
<span jwcid="tShell" >
<frameset jwcid="tFrameset" border="0" frameborder="no" rows="*" >
<frame jwcid="application" marginheight="0" marginwidth="0" name="application" />
</frameset>
</span>
</span>
</html>
<span jwcid="tShell" >
<frameset jwcid="tFrameset" border="0" frameborder="no" rows="*" >
<frame jwcid="application" marginheight="0" marginwidth="0" name="application" />
</frameset>
</span>
</span>
</html>
Generates the following in my browser.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Application: Collaborative Workgroup Home Page -->
<!-- Page: Home -->
<!-- Generated: Mon Nov 25 15:00:33 PST 2002 -->
<html>
<head>
<meta name="generator" content="Tapestry Application Framework, version 2.2-rc-1"/>
<title>My Title from FrameWork.page</title>
</head>
<body border="0" rows="*" frameborder="no">
<frame src="" scrolling="no" noresize="yes" marginheight="0" name="application" marginwidth="0"/>
</body>
</html>
<!-- Render time: ~ 100 ms -->
<frame src="" scrolling="no" noresize="yes" marginheight="0" name="application" marginwidth="0"/>
</body>
</html>
<!-- Render time: ~ 100 ms -->
Does anyone know what I am doing wrong ? I'm a Tapestry
beginner and having trouble making it up the learning curve.
Craig J. Gregory
Dir. of Information Services
Blue Mountain Community College
PO Box 100
2411 NW Carden Av.
Pendleton, OR 97801
(541) 278-5825
Dir. of Information Services
Blue Mountain Community College
PO Box 100
2411 NW Carden Av.
Pendleton, OR 97801
(541) 278-5825
