[web2py] help with getting user information from web2py when sign in with janrain

2011-04-25 Thread Resa Bee
i am using janrain which basically allows third party authentication
in web2py and i have a problem with gettin  the user information when
soemone signs in... first of all i have noticed that in windows
janrain is not that effective as u have to manipulate a token but in
linux it works fine without setting up a token (depending on your
proxy settings).. right now mine is a bit messed up as i have changed
it quiet frequently and1) i would like to know also how to get linux
back into its default settings 2) i would like to know how to grab teh
user information from web2py when a user signs in with janrain.


[web2py] using janrain

2011-04-25 Thread Resa Bee
this is the error im gettin when i run janrain after i have entered my
username and password
Traceback (most recent call last):
  .
  .
  .
  File "/usr/lib/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 409, in _open
'_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 1169, in https_open
return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.6/urllib2.py", line 1136, in do_open
raise URLError(err)
URLError: 


[web2py] using ajax to insert into database

2011-04-24 Thread Resa Bee
How can i insert data from a javascript  into my web2py database .. i
was trying using ajax but something was so wrong..(ajax(url..)(but
i am not really sure how to use it... secondly i am using janrain..
and i want to grab the user info.. mainly first last and e-mail but i
cant seem to grab it from users db... i see it in the global but i
dont know how to get it out any help?


[web2py] changing the view of a function

2011-04-24 Thread Resa Bee
Can anyone tell me how would redirect a controller function to  show
in view that is not its default view
eg function"readjson" to show in "default/workpile.html" and not in
the "default/readjson.html" view

NB: there is a function called workpile.htm