Hi, 

maybe this is possible to do per_app now (without touching web2py core)? :)

ps.: there was also  idea  with ajax

On Friday, June 14, 2013 at 8:00:36 PM UTC+3, Jurgis Pralgauskis wrote:
>
> Generally, maybe error template can be some app config, but not bound to 
> routing?
> and if it is found it is used, and if not found - default template would 
> be used...
>
> and maybe default template could work a bit smarter - check if admin is 
> logged, and then display this iframe with stuff directly?
>
>
> 2013 m. gegužė 22 d., trečiadienis 14:54:52 UTC+3, Anthony rašė:
>>
>> I don't know that you'd want to re-check and possibly re-load all the 
>> routes on every request in production, but I suppose it might be nice in 
>> development (like tracking changes in modules).
>>
>> Anthony
>>
>> On Wednesday, May 22, 2013 4:01:47 AM UTC-4, Jurgis Pralgauskis wrote:
>>>
>>> Thanks, 
>>>
>>> but still would be nicer - if defining in app would be enough (kind of 
>>> KISS style)
>>> and maybe even without need to restart web2py (if just app level 
>>> changes)?
>>>
>>>
>>> On Tue, May 21, 2013 at 7:06 PM, Anthony <[email protected]> wrote:
>>>
>>>> You can app-specific routes in the app folder, but then you still need 
>>>> to specify routes_app in the root routes.py to tell web2py which apps have 
>>>> app-specific routes.
>>>>
>>>> Anthony
>>>>
>>>>
>>>> On Tuesday, May 21, 2013 10:01:41 AM UTC-4, Jurgis Pralgauskis wrote:
>>>>
>>>>> but even app-specific routes must be specified outside app folder (in 
>>>>> web2py root)?
>>>>>
>>>>>
>>>>> On Tue, May 21, 2013 at 3:01 PM, Anthony <[email protected]> wrote:
>>>>>
>>>>>> routes_onerror can specify app-specific routes.
>>>>>>
>>>>>>
>>>>>> On Tuesday, May 21, 2013 4:48:01 AM UTC-4, Jurgis Pralgauskis wrote:
>>>>>>
>>>>>>> I mean routes.py is in web2py root, not in app folder..
>>>>>>>
>>>>>>>
>>>>>>> On Tue, May 21, 2013 at 11:47 AM, Jurgis Pralgauskis <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> but rootes are described per web2py, not per app..?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, May 21, 2013 at 10:49 AM, Niphlod <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> there are routes to manage custom error pages.....
>>>>>>>>> http://web2py.com/books/default/chapter/29/04#Routes-on-error
>>>>>>>>>
>>>>>>>>> Il giorno martedì 21 maggio 2013 09:40:09 UTC+2, Jurgis 
>>>>>>>>> Pralgauskis ha scritto:
>>>>>>>>>
>>>>>>>>>> Hi, 
>>>>>>>>>>
>>>>>>>>>> clicking ticket link each time becomes frustrating (time wasting) 
>>>>>>>>>> [SOLVED] :)
>>>>>>>>>>
>>>>>>>>>> I looked arround and tried example from http://www.dev-explorer.c
>>>>>>>>>> om/articles/full-page-iframe
>>>>>>>>>> you only need to escape % for sizing.
>>>>>>>>>> my routes.py: http://pastebin.com/bfKYEhet
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ps.: could error message be customized per app? 
>>>>>>>>>> then I could include in my demo (skeleton) app for students - as 
>>>>>>>>>> my students work through web interface (and I don't want to bother 
>>>>>>>>>> them too 
>>>>>>>>>> much with other issues)...
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>  
>>>>>>>>> --- 
>>>>>>>>> You received this message because you are subscribed to a topic in 
>>>>>>>>> the Google Groups "web2py-users" group.
>>>>>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>>>>>>>> topic/web2py/Qg1O99ojkdo/unsubscribe?hl=en.
>>>>>>>>> To unsubscribe from this group and all its topics, send an email 
>>>>>>>>> to [email protected].
>>>>>>>>>
>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>  
>>>>>>>>>  
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Jurgis Pralgauskis
>>>>>>>> tel: 8-616 77613;
>>>>>>>> Don't worry, be happy and make things better ;)
>>>>>>>> http://galvosukykla.lt 
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> Jurgis Pralgauskis
>>>>>>> tel: 8-616 77613;
>>>>>>> Don't worry, be happy and make things better ;)
>>>>>>> http://galvosukykla.lt 
>>>>>>>
>>>>>> -- 
>>>>>>  
>>>>>> --- 
>>>>>> You received this message because you are subscribed to a topic in 
>>>>>> the Google Groups "web2py-users" group.
>>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>>>>> topic/web2py/Qg1O99ojkdo/unsubscribe?hl=en.
>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>> [email protected].
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>  
>>>>>>  
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Jurgis Pralgauskis
>>>>> tel: 8-616 77613;
>>>>> Don't worry, be happy and make things better ;)
>>>>> http://galvosukykla.lt 
>>>>>
>>>> -- 
>>>>  
>>>> --- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "web2py-users" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/web2py/Qg1O99ojkdo/unsubscribe?hl=en.
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>  
>>>>  
>>>>
>>>
>>>
>>>
>>> -- 
>>> Jurgis Pralgauskis
>>> tel: 8-616 77613;
>>> Don't worry, be happy and make things better ;)
>>> http://galvosukykla.lt 
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to