very nice, thank you

On Jan 26, 6:19 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> You can put this in a model:
>
> if application.function='option': response.view='default.html'
>
> On Jan 26, 9:41 am, selecta <gr...@delarue-berlin.de> wrote:
>
>
>
> > this will not work since the inforamtion that a different view should
> > be userd is not chached
> > @cache(request.env.path_info, time_expire=360, cache_model=cache.ram)
> > def option():
> >     items = []
> >     items.append( ITEM_SLINK('&Books', URL(r=request, f='index'),
> > 'back') )
> >     ...
> >     response.view='default.html'
> >     return dict( content = TAG[''](items) )
>
> > i am not sure if there is/will be a solution to this problem, but i
> > wanted to let you know that this problem exists
>
> > ... but if there is a solution, please let me know

Reply via email to