<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, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---