You found a bug in the web based shell. Odd because that is the web based shell provided by google as example. I will try debug and submit a patch to them.
Massimo On Jan 4, 10:08 pm, meentsbk <meent...@gmail.com> wrote: > Hello, > > First, let me preface this with a "I'm EXTREMELY new to web2py." I've > been going through the documentation and trying things in my own > example apps, but there is one thing that seems pretty basic that I > just can't seem to get working, and that is using the DIV helper with > the .append attribute, as documented > onhttp://web2py.com/book/default/docstring/DIV. > > I've actually taken this into the web2py shell application, and am > trying the following: > > a = DIV() > > printing this gives me <div></div>, as expected. > > Then, I do: > > a.append(SPAN('x')) > > This runs without error, but when I do a print, I only get: > > <div></div> > > The same thing also happens for me on insert. Am I just missing > something completely obvious here? > > Brian