[albatross-users] Query regarding frames
Michael Rembach
mxr at itga.com.au
Wed Nov 20 12:52:12 EST 2002
Hi Guys,
I have a question. If i have a mainpage that has frames, how can I get
the templates within the frame to be interpolated ?
EG
MAIN FRAME
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Application Main Page</TITLE>
</HEAD>
<FRAMESET border="0" frameborder="0" framespacing="0" rows="100,
*"><FRAME marginheight="0" marginwidth="0" name="top" scrolling="no"
src="/templates/client_top.html"></FRAME>
<FRAME marginheight="0" marginwidth="10" name="detail" scrolling="auto"
src="/templates/client_detail.html"></FRAME>
</FRAMESET>
</HTML>
Now, the template client_top.html has Albatross tags in it and I need
the main.py to interpolate tags. Surely I don't have to write a .py
for each frame on the page ?
CLIENT_TOP
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="HTMLgen 2.2.2">
<TITLE>client top</TITLE>
</HEAD>
<BODY BGCOLOR="black">
<TABLE align="left" border="0" cellpadding="0" cellspacing="0"
width="100%" bgcolor="black">
<TR valign="top">
<TD align="left" valign="top" rowspan="2">
<A HREF="/index.html" TARGET="_top"><IMG src="/images/logo.gif"
height="73" width="117" alt="Click here for Home" border="0"
align="center"></A>
</TD>
<TD align="right" valign="top">
<FONT color="white" face="Arial" size="5"><al-value
expr="clientName"></FONT>
</TD>
</TR>
<TR valign="top">
<TD align="right" valign="top">
<FONT color="white" face="Arial" size="5"><al-value
expr="companyName"></FONT>
</TD>
</TR>
</TABLE>
</BODY> </HTML>
Any suggestions would be most welcome.
--
Michael Rembach
More information about the Albatross-users
mailing list