Silly me. You are right. Let me think about this.

On Nov 23, 10:44 am, Thadeus Burgess <thade...@thadeusb.com> wrote:
> Except when right_col doesn't exist, the "variable referenced before
> assignment" exception.
>
> So you end up with another problem, you have to define your default as a def
> right_col in the layout.html, and if you define another one in your
> view.html, the one in layout.html still takes precedence and it never uses
> the view's custom definition.
>
> -Thadeus
>
> On Mon, Nov 23, 2009 at 9:00 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > def block(name):
> >    try:
> >      name()
> >      return False
> >    except:
> >      return True
> >      pass
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to