Hi, Mike and Ben...
On Mittwoch, 5. November 2008, Mike Orr wrote:
On Wed, Nov 5, 2008 at 11:14 AM, ben adam [EMAIL PROTECTED] wrote:
I have a mako template that looks like:
## start template-
%inherit file=/base.tmpl /
div id=my_results
p${ c.paginator.pager('$link_first
Thanks, this makes it clear now.
On Nov 6, 4:25 am, Christoph Haas [EMAIL PROTECTED] wrote:
Hi, Mike and Ben...
On Mittwoch, 5. November 2008, Mike Orr wrote:
On Wed, Nov 5, 2008 at 11:14 AM, ben adam [EMAIL PROTECTED] wrote:
I have a mako template that looks like:
## start
I have a mako template that looks like:
## start template-
%inherit file=/base.tmpl /
div id=my_results
p${ c.paginator.pager('$link_first $link_previous $first_item to
$last_item of $item_count $link_next $link_last',
onclick=YAHOO.util.Connect.asyncRequest('GET','%s',
I can get it to work by refreshing the div in base.tmpl that contains
the header/footer (although i don't know if that's the proper way
since the div contains a complete html document rather than just the
body).
On Nov 5, 11:14 am, ben adam [EMAIL PROTECTED] wrote:
I have a mako template that
On Wed, Nov 5, 2008 at 11:14 AM, ben adam [EMAIL PROTECTED] wrote:
I have a mako template that looks like:
## start template-
%inherit file=/base.tmpl /
div id=my_results
p${ c.paginator.pager('$link_first $link_previous $first_item to
$last_item of $item_count $link_next
Hi ben,
request.is_xhr is true if the request is an ajax request AFAIK
So you can do something like this in your base template:
%if not request.is_xhr:
header stuff
%endif
${self.body()}
%if not request.is_xhr:
footer stuff
%endif
Hope this help
--
Gael
2008/11/5 ben adam [EMAIL PROTECTED]: