9 messages in com.googlegroups.pylons-discussRe: iframe issue
FromSent OnAttachments
Alagu Madhu15 Aug 2007 21:17 
Jose Galvez15 Aug 2007 23:03 
equi...@public.gmane.org15 Aug 2007 23:41 
Cezary Statkiewicz16 Aug 2007 02:24 
equi...@public.gmane.org16 Aug 2007 03:00 
Jose Galvez16 Aug 2007 11:13 
Philip Jenvey16 Aug 2007 11:44 
equi...@public.gmane.org17 Aug 2007 12:56 
equi...@public.gmane.org22 Aug 2007 11:27 
Subject:Re: iframe issue
From:equi...@public.gmane.org (equi@public.gmane.org)
Date:08/22/2007 11:27:08 AM
List:com.googlegroups.pylons-discuss

<iframe src="data.mako" /> is working fine.

template.py:

class TemplateController(BaseController):

def view(self, url): abort(404)

to

class TemplateController(BaseController):

def view(self, url): try: return render('/%s' % url) except mako.exceptions.TopLevelLookupException: abort(404)

Thanks

Madhu Alagu

On Aug 17, 10:56 pm, "equi@public.gmane.org" <equi@public.gmane.org> wrote:

view.mako data.mako

data.mako:

% for item in data: <tr> % for col in item:

% endfor </tr> % endfor

view.mako:

<iframe src="data.mako" />

which is best folder to move data.mako ?

thanks

Madhu Alagu