If your main page is being processed by Mason, you can include a
subpage or subcomponent using the <& ... &> syntax, as in the
following example:
index.html
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
Hello, this is the main page, it has some <% "Mas" . "on" %> embedded
in it
<& leftnav &>
This is the rest of the main page
</body>
leftnav
<div class="leftnav">
My leftnav is here
It uses Mason <% 2 - 1 %> time
</div>
style.css
.leftnav {
float: left;
width: 180px;
}
On Sep 5, 2009, at 9:08 PM, John M. Dlugosz wrote:
You know what
<!--#include virtual="/cgi-bin/blahblah" -->
does using Server Side Includes / SS Parsing?
How do I do the same thing from a Mason page?
I thought I remembered a command that mentioned that it did the same
thing, but now I can't find anything like that in the manual.
--John
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users