Fancier Border Example
Joel Trunick <[email protected]> Wed, 19 Feb 2003 14:33:06 -0600
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <[email protected]> |
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2D856.1BA795F0 Content-Type: text/plain; charset="iso-8859-1" We have a header, body, and footer on our site. However, we want the header to change on certain pages (using a conditional). I looked at Border example, but we want to keep the header in a separate file from the template (or "Border.html" file). Do I need to make the header a component, or how do I keep the html out of the "Border.html" file for both the Header and Footer? I just want to do the equivalent of a JSP include, but its not clear how to do this. Any advice appreciated. Thanks, Joel ------_=_NextPart_001_01C2D856.1BA795F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>Fancier Border Example</TITLE> </HEAD> <BODY> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial">We have a header, body, and footer on = our site. However, we want the header to change on certain pages (using = a conditional).</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">I looked at Border example, but we = want to keep the header in a separate file from the template (or = "Border.html" file). Do I need to make the header a = component, or how do I keep the html out of the "Border.html" = file for both the Header and Footer?</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">I just want to do the equivalent of a = JSP include, but its not clear how to do this. Any advice = appreciated.</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Joel</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C2D856.1BA795F0-- ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge