so the first bug is what you pointed out - the template code should not be emmitted to the client page, and because of a single (in place of double) '{' we are privilege to the template code...
which shows the second bug: URL(r=request, f='tools'......) from the default page would not find the "examples' application (as we are currently in the "init" application, so r=request will look again in the init application) The URL call shold look something like: {{=URL(a='examples', c='default', function='tools', anchor='authorization')}} IF you form the URL manually, you can test this: http://www.web2py.com/examples/default/tools#autorization - Yarko On Sun, Aug 16, 2009 at 3:28 AM, Serge Hulne <serge.hu...@gmail.com> wrote: > > Well, > > Theres is a "{" missing before the "=URL(" call and there seems to be > an url embedded in the string f='tools', i.e. f='tools <http.... >' . > > Serge. > > On 15 août, 15:06, Yarko Tymciurak <yark...@gmail.com> wrote: > > On Sat, Aug 15, 2009 at 8:05 AM, Yarko Tymciurak <yark...@gmail.com> > wrote: > > > this is a good web2py user quiz: that link on the home page is > > > > >http://www.web2py.com/{=URL(r=request,f='tools<http://www.web2py.com/%7B=URL%28r=request,f=%27tools> > <http://www.web2py.com/%7B=URL%28r=request,f=%27tools> > > > ',anchor='authorization')}} > > > > > Can you spot both with this? > > > > ...sorry - both bugs with this? > > > > > > > > > On Sat, Aug 15, 2009 at 2:48 AM, Serge Hulne <serge.hu...@gmail.com > >wrote: > > > > >> - The link : "role based access control" on Web2py homepage, under the > > >> header "Includes" does not seem to work. > > > > >> - Is there a simple bug in the HTML link or is there a problem with > > >> the topic "role based access control" itself ? > > > > >> Thanks, > > > > >> Serge. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---