[web2py] Many to Many on GAE

2010-12-11 Thread K.R.Arun
I'm working on a project in which I have several tables with many to many relationship. So I started to try it with example given in book like this. Models - db.define_table('person', Field('name')) db.define_table('dog',Field('name')) db.define_table('ownership',Field('person',

[web2py] Re: Plugin

2010-02-07 Thread K.R.Arun
zipped file that can be unpacked. -Thadeus On Mon, Feb 1, 2010 at 11:25 AM, K.R.Arun the1.a...@gmail.com wrote: Will some one tell me, how to make a plugin? For example a layout plugin, or an OAuth plugin, or anything like that. -- You received this message because you

[web2py] Plugin

2010-02-01 Thread K.R.Arun
Will some one tell me, how to make a plugin? For example a layout plugin, or an OAuth plugin, or anything like that. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe

[web2py] Where to get complete routes syntax

2010-01-31 Thread K.R.Arun
Will some one point me to the documentation of routs' syntax(to use within routes.py). -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to

[web2py] Re: Integrating existing GAE compatible python blog software with my web2py App

2010-01-31 Thread K.R.Arun
Also Look their openID support. I like the interface (which supports, yahoo, aol, verisign, wordpress,.. to name a few.) Is there any such plugins for web2py? On Feb 1, 11:37 am, Lennon lpru...@hotmail.com wrote: I'm making a web2py application (running on GAE) and I'd prefer not to make my own

[web2py] Re: Detached entities with web2py

2010-01-20 Thread K.R.Arun
. I never tried it. Massimo On Jan 19, 10:21 am, K.R.Arun the1.a...@gmail.com wrote: All this long, I forgot one thing,With GWT we can use only javascript at client. There's no python there. So now problem is, Can we call web2py's @service.jsonrpc or @service.xmlrpc with JavaScipt

[web2py] Re: Detached entities with web2py

2010-01-19 Thread K.R.Arun
Please, One more clarification; In my case, I want to access the jsonrpc service of an application, within that application itself. So is there any chance for me reduce the following. (Why should I give the complete url to the server, Can't I go with relative url?) server =

[web2py] GAE authentication using openID

2010-01-19 Thread K.R.Arun
Does web2py support openID authentication? I saw the following url, which may be helpful to somebody. http://blog.notdot.net/2009/12/OpenID-on-App-Engine-made-easy-with-AEoid If it's worth can't it be included in web2py??? -- You received this message because you are subscribed to the Google

[web2py] Re: GAE authentication using openID

2010-01-19 Thread K.R.Arun
Thank you for pointing me towards it. On Jan 19, 8:19 pm, mdipierro mdipie...@cs.depaul.edu wrote: Yes http://w2popenid.appspot.com/init/default/wiki/main On Jan 19, 9:14 am, K.R.Arun the1.a...@gmail.com wrote: Does web2py support openID authentication? I saw the following url, which

[web2py] Re: Detached entities with web2py

2010-01-19 Thread K.R.Arun
On Jan 19, 9:21 pm, K.R.Arun the1.a...@gmail.com wrote: All this long, I forgot one thing,With GWT we can use only javascript at client. There's no python there. So now problem is, Can we call web2py's @service.jsonrpc or @service.xmlrpc with JavaScipt? And How? I suppose it's possible

[web2py] Re: Detached entities with web2py

2010-01-18 Thread K.R.Arun
db(db.person.id0).select().json() I assume XML in addition to JSON is possible(just in case I need to). Now I have to parse the JSON data client side. you can then write a client so that if a second is updated it sends back it to the server and the sever does something like this

[web2py] Detached entities with web2py

2010-01-17 Thread K.R.Arun
hi, Today I had been thinking about JDO/JPA stuff that I did for my GWT based project. And I figured something out of python-gwt-rpc. But I have a doubt that, whether I can use web2py for server side or not?!! I doubted because I don't know whether detached entities are possible as in JDO/JPA

[web2py] Re: Activerecord for web2py - version 0.1

2010-01-17 Thread K.R.Arun
interesting keep going :-) On Jan 17, 6:44 pm, Jon Romero darks...@gmail.com wrote: I created a small lib which adds an abstraction over DAL and makes it feel like Rails' Activerecord. For example: user = User.find_by_name(Jon) It creates queries on the fly (you don't have to create a

[web2py] Re: Is there any 'Ad Rotator' like in ASP in web2py

2010-01-11 Thread K.R.Arun
: Yeap, here you go:http://bitbucket.org/jonromero/openshare/src/ On Jan 7, 12:31 pm, K.R.Arun the1.a...@gmail.com wrote: Is source is available?? I haven't seen it. Please provide me the link. No one ever want's to start from scratch (most of the time). On Jan 7, 12:18 am, Jon Romero

[web2py] Re: Is there any 'Ad Rotator' like in ASP in web2py

2010-01-07 Thread K.R.Arun
describe, so most of the stuff are there. On Jan 6, 7:49 pm, K.R.Arun the1.a...@gmail.com wrote: On Jan 6, 1:50 am, Jon Romero darks...@gmail.com wrote: You can hack OpenShare (http://openshare.emotionull.com/). It's on bitbucket, written on web2py, running on GAE. hi I go through

[web2py:38454] Re: Detecting JS on server side

2010-01-06 Thread K.R.Arun
():     if session.has_javascript:       ... {{layout.html}} ajax('receive_if_js') -Thadeus On Tue, Jan 5, 2010 at 11:25 AM, K.R.Arun the1.a...@gmail.com wrote: Is it possible to know whether client support Java Script or not from the server side? -- You received this message because you

[web2py:38456] Re: Detecting JS on server side

2010-01-06 Thread K.R.Arun
On Jan 5, 11:01 pm, Thadeus Burgess thade...@thadeusb.com wrote: no. Well... the only way to verify, is if you have an AJAX callback to the server if you receive the callback, they have javascript... if you don't receive one... then they dont. def receive_if_js():    

[web2py:38457] Re: Recommended way of using google-appengine-python with web2py

2010-01-06 Thread K.R.Arun
: If you just install the GAE dev_appserver you should be able to import google in web2py. Just make sure you run web2py from source using the sane Python you used to install appserver On Jan 5, 11:23 am, K.R.Arun the1.a...@gmail.com wrote: What's are the steps I should taken care of to use

[web2py:38461] Re: Is there any 'Ad Rotator' like in ASP in web2py

2010-01-06 Thread K.R.Arun
On Jan 6, 1:50 am, Jon Romero darks...@gmail.com wrote: You can hack OpenShare (http://openshare.emotionull.com/). It's on bitbucket, written on web2py, running on GAE. hi I go through the openshare website. I have not registered yet, but following is what I get from reading the content on the

[web2py:38348] Re: SQLFORM.factory or a better way for custom forms

2010-01-05 Thread K.R.Arun
I tried a onclick=web2py_ajax_page('POST','{{=URL (r=request,f='register')}}','','data') button type=buttonRegister/button/a but nothing happened when I clicked the button. Then I tried again by adding {{=LOAD ('default','register',ajax=True,ajax_trap=True)}} to the view I get following result.

[web2py:38350] Re: SQLFORM.factory or a better way for custom forms

2010-01-05 Thread K.R.Arun
hi, Sorry for my own foolishness. I done all those things in my previous post (that's still waiting for moderation) but I missed one info from your previous post, This is because if you load a part of a page via ajax you do not want that part of the page to {{extend 'layout.html'}}. And

[web2py:38352] Is there any 'Ad Rotator' like in ASP in web2py

2010-01-05 Thread K.R.Arun
Hi, Yesterday in my lecture class I studied about Ad Rotator component in ASP. Is there any similar plug-ins for web2py (or any other python framework.) If there is one guide me, else Help me to write one, so we all get benefited. Arun -- You received this message because you are subscribed to

[web2py:38353] GWT in client side and web2py at server side

2010-01-05 Thread K.R.Arun
I have seen at AlterEgo about PyJamas and Web2Py integration. But isn't that similar method enable as to do the same with plain GWT? I prefer GWT because it is always ahead of PyJamas and offer many never miss things, And I already have experience with it. What are the things to be noticed

[web2py:38362] Recommended way of using google-appengine-python with web2py

2010-01-05 Thread K.R.Arun
What's are the steps I should taken care of to use google-appengine- python apis in web2py project. I think adding google-appengine-python installation directory in SYS.PATH will work, but don't know how to do it !! :( Any help ?? -- You received this message because you are subscribed to the

[web2py:38363] Re: Is there any 'Ad Rotator' like in ASP in web2py

2010-01-05 Thread K.R.Arun
-itemimage-r... There are other jquery rotators. Massimo On Jan 5, 9:54 am, K.R.Arun the1.a...@gmail.com wrote: Hi, Yesterday in my lecture class I studied about Ad Rotator component in ASP. Is there any similar plug-ins for web2py (or any other python framework.) If there is one

[web2py:38334] Re: Which DB suit best with Web2py

2010-01-04 Thread K.R.Arun
On Jan 5, 1:26 am, Thadeus Burgess thade...@thadeusb.com wrote: You say that MSSQL and Oracle do not support pagination? In what ways does the database support pagination? How would you take advantage of this for say PostgreSQL on the database level instead of the query level? -Thadeus I

[web2py:38335] Re: SQLFORM.factory or a better way for custom forms

2010-01-04 Thread K.R.Arun
div id=target/div and when you click the button is calls /yourapp/default/callback, places the result in the target div and every form loaded in the div will stay in the div even if submitted. The a=bc=d argument can be any a urlencoded set of parameters. On Jan 4, 12:15 am, K.R.Arun the1

[web2py:38259] Re: SQLFORM.factory or a better way for custom forms

2010-01-03 Thread K.R.Arun
On Jan 3, 1:25 am, mdipierro mdipie...@cs.depaul.edu wrote: well, you can do it with FROM (not SQLFORM.factory) but You would not gain anything in your case. About AJAX. You could make something like def ajax_user(): return auth() # instead of dict(form=auth()) and then in a page

[web2py:38286] Re: SQLFORM.factory or a better way for custom forms

2010-01-03 Thread K.R.Arun
 pm, K.R.Arun the1.a...@gmail.com wrote: On Jan 3, 1:25 am, mdipierro mdipie...@cs.depaul.edu wrote: well, you can do it with FROM (not SQLFORM.factory) but You would not gain anything in your case. About AJAX. You could make something like def ajax_user(): return auth

[web2py:38227] SQLFORM.factory or a better way for custom forms

2010-01-02 Thread K.R.Arun
hi, I'm new to web2py and my first experience with it is fun. It's true that I can develop fast but for now customization is pain in some places. For example, I like css over tables. And I have to add some fieldsets to my form. Form is generated from a table and using SQLForm(because many tasks