> The first approach is difficult to maintain, the example is very simple, 
> the chain can be arbitrary long. The second one doesn't compile, and 
> empty.html is very ugly. I am wondering if could be possible to have extend 
> and include more flexible and easier.
>

What exactly do you envision? What do you mean by "more flexible and 
easier"?

Note, rather than nesting lots of separate views, you might consider using 
Python logic within a given view. You could also have relatively simple 
request return rendered results directly rather than passing data to a view 
(if you return a string or HTML helper object, you don't need a view).

Anthony

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to