[web2py] Re: icon in menu[close]

2010-09-05 Thread Frank
if I change to(TAG[''](IMG(_src=URL(request.application,'static','home.png')),'title')), it's ok. Frank

[web2py] Re: icon in menu

2010-09-05 Thread Frank
thanks for your feedback,it's 6 to 6, it is nothing wrong with ]. please refer to my reply to annet, it should be web2py related. thanks again, Frank

Re: [web2py] Re: icon in menu

2010-09-05 Thread Mohamed Zenadi
In fact there is an extra ] if you count them ^_^ On Sun, Sep 5, 2010 at 2:03 PM, Frank wrote: > thanks for your feedback, you are absolutely right because web2pyis python > based. please refer to my message replying to annet, it shoulb be web2py > related. please advise what I have to deal with

[web2py] Re: icon in menu

2010-09-05 Thread Frank
thanks for your feedback, you are absolutely right because web2pyis python based. please refer to my message replying to annet, it shoulb be web2py related. please advise what I have to deal with the problem, thanks you. Frank

[web2py] Re: icon in menu

2010-09-05 Thread Frank
thanks for your feedback, after remove the comma, still get same error, Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 184, in restricted ccode = compile2(code,layer) File "C:\web2py\gluon\restricted.py", line 171, in compile2 return compile(code.rstrip()

[web2py] Re: icon in menu

2010-09-05 Thread Vidul Petrov
It's a Python homework, not web2py issue. On Sep 4, 5:48 pm, Frank wrote: > hi, > > I have code, >         response.menu_index = [ > > [TAG[''](IMG(_src=URL(request.application,'static','home.png'),'title'), > False, > URL(request.application,'default','facepda'), >              [ >            

[web2py] Re: icon in menu

2010-09-04 Thread annet
Hi Frank, What happens when you remove the comma: response.menu_index = [ [TAG[''] (IMG(_src=URL(request.application,'static','home.png'),'title'), False, URL(request.application,'default','facepda'), [ [T('login'), False, URL(request.application,'default','