tried that too, doesn't work...

On Feb 22, 10:36 pm, DenesL <[email protected]> wrote:
> try
> response.view = 'your_controller_name/blank.html'
>
> On Feb 22, 1:09 pm, vihang <[email protected]> wrote:
>
> > Hi,
>
> > I tried the following code
>
> > def index():
> >     return dict(message="Accounting Dashboard")
>
> > def AP():
> >     response.view = 'blank.html'
> >     return
> > dict(message=db(db.Purchase_Invoice.id>0).select(db.Purchase_Invoice.Due.sum()))
>
> > The calling AP using LOAD in index.html works fine, but does not use
> > the template 'blank.html', but the generic one. If I create AP.html,
> > then it works fine. Is it possible to use response.view somehow with
> > LOAD ??
>
> > Thanks
> > Vihang

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.

Reply via email to