I see it was in the "VERSION" File; I deleted the content and updated to 1.96


     Never Mind this


     <<<<<<< local <<<<<<< local <<<<<<< local <<<<<<< local Version
     1.94.5 (2011-03-18 20:24:56) ======= Version 1.94.5 (2011-03-20
     15:21:40) >>>>>>> other ======= Version 1.95.1 (2011-05-08
     02:28:27) >>>>>>> other ======= Version 1.95.1 (2011-05-15
     19:23:28) >>>>>>> other ======= Version 1.95.1 (2011-05-17
     09:06:12) >>>>>>> other



On 5/20/11 10:45 AM, Massimo Di Pierro wrote:
what's the view?


On May 20, 9:26 am, "David J."<da...@styleflare.com>  wrote:
I saw the video on creating components;

I tried following the steps outline there;

For some reasons I must have missed a step because the message post
table is not uploading;

Here is the code I think is not working correctly.

def reload(target):
      def js(form):
          response.js = 'web2py_component("%s","%s")' % (URL(target),target)

      return js

def posts():
        postform = SQLFORM(db.posts,onaccept=reload('post_text'))

I changed the example a bit from the one you used because you used a
Crud Form; but I just used SQLFORM instead which shouldn't really matter.

Thanks.

Reply via email to