Re: Trouble Generating Frameset Tag
"Howard M. Lewis Ship" <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <005201c294ec$55e61550$3dc41e42@howardczkz2sl3> |
I'll have to check the code; what you have is correct so it must be a bug. ----- Original Message ----- From: Craig Gregory To: [email protected] Sent: Monday, November 25, 2002 6:05 PM Subject: [Tapestry-developer] Trouble Generating Frameset Tag 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> <component id="tFrameset" type="Body" > <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> 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="/College-Support/HomePage?service=page&context=Application" 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