[albatross-users] Query regarding frames

Michael C. Neel neel at mediapulse.com
Thu Nov 21 02:17:10 EST 2002


Frames are really just separate calls to the webserver, so they really
wouldn't cause the problem.  Most likely apache (or whatever server you
are using) is not handing off the frame URL's to your app.  Try going to
/templates/client_top.html directly and see if the tags are parsed.  If
not, check your setup to make sure things in the templates dir is set to
your app.

Sorry if that's vauge, but there are several ways you can setup
albatross and apache to work together, so I'd need more info to see the
exact problem.

Mike

> -----Original Message-----
> From: Michael Rembach [mailto:mxr at itga.com.au] 
> Sent: Tuesday, November 19, 2002 8:52 PM
> To: albatross
> Subject: [albatross-users] Query regarding frames
> 
> 
> 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
> _______________________________________________
> Albatross-users mailing list
> Albatross-users at object-craft.com.au
> https://www.object-craft.com.au/cgi-bin/mailman/listinfo/albat
ross-users



More information about the Albatross-users mailing list