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().replace('\r\n','\n')+'\n', layer, 'exec') File "C:/web2py/applications/www/models/menu.py", line 63 ] ^ SyntaxError: invalid syntax
this error happen after I change 'title' to TAG[''](IMG(_src=URL(request.application,'static','home.png'),'title'). if I change back, it will be fine. Frank