Same result with the seemingly correct syntax: /app/default/data/select/tablename.xml
With tablename=dog /app/default/data/read/dog/1 produces a read-only form with dog #1 info while /app/default/data/read/dog/1.xml creates a ticket: Traceback (most recent call last): File "D:\web2py\trunk\gluon\restricted.py", line 107, in restricted exec ccode in environment File "D:/web2py/trunk/applications/testui/controllers/default.py", line 115, in <module> File "D:\web2py\trunk\gluon\globals.py", line 100, in <lambda> self._caller = lambda f: f() File "D:/web2py/trunk/applications/testui/controllers/default.py", line 114, in data def data(): return crud() File "D:\web2py\trunk\gluon\tools.py", line 1528, in __call__ return self.read(args[1], args[2]) File "D:\web2py\trunk\gluon\tools.py", line 1668, in read showid=self.settings.showid, File "D:\web2py\trunk\gluon\sqlhtml.py", line 423, in __init__ records = table._db(table.id == record).select() File "D:\web2py\trunk\gluon\sql.py", line 1605, in __eq__ return SQLQuery(self, '=', value) File "D:\web2py\trunk\gluon\sql.py", line 1922, in __init__ right = sql_represent(right, left.type, left._db._dbname) File "D:\web2py\trunk\gluon\sql.py", line 378, in sql_represent return str(int(obj))ValueError: invalid literal for int() with base 10: '1.xml' Bug? Massimo, I mentioned this before while cleaning up the cookbook2 (slide 24), shouldn't: http://127.0.0.1:8000/app3/default/index/a/b/c.html?name=Max be instead http://127.0.0.1:8000/app3/default/index.html/a/b/c?name=Max --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---