a, i c, thank you so much for your explaination, massimo. i got it when i use web2py wizard on 1.94.6 version.
best regards, steve van christie On Sat, Apr 16, 2011 at 9:12 AM, Massimo Di Pierro < [email protected]> wrote: > This was a bad idea and it does not work with recent web2py. Should be > > URL('default','index')==URL() > > Is basically check whether /app/default/index is the current > requested path. > > On Apr 15, 8:07 pm, 黄祥 <[email protected]> wrote: > > hi, > > > > pardon me, i want to ask what's the meaning of this : > > URL('default','index').xml()==URL().xml() > > > > here's the complete code: > > > > response.menu = [ > > > > > (T('Index'),URL('default','index').xml()==URL().xml(),URL('default','index' > ), > > []), > > ] > > > > i mean it is convert the url into xml format page? > > > > thanks and best regards, > > > > steve van christie

