This is like the channel API in the app engine.
Hope that rocket can support long pool in the future.
On 22 May 2011 08:47, Massimo Di Pierro wrote:
> There is something new and potentially very important for web2py.
> Example:
>
> @auth.requires_login()
> def index():
> link = A('click me',_
Thanks Massimo.
Fantastic! It works;
Thank you so much; I was scratching my head trying to figure it out;
Have a great night;
By the way do you have any Ajax polling examples anywhere?
Thanks.
On 5/21/11 10:46 PM, Massimo Di Pierro wrote:
My bad. I introduced a bug in 1.95.1. I just fixed
My bad. I introduced a bug in 1.95.1. I just fixed it in trunk. You
need replace line 522-3 in main.py with
http_response.headers['web2py-component-
command'] = \
response.js.replace('\n','')
On May 21, 9:27 pm, "David J." wrote:
> I made a po
I made a post on Friday regarding some inter-component communications;
I see I had few responses; so I thought maybe to try again.
I was following the video on how to use web2py for components;
It seems like after the form is submitted; the table is not updated.
I think the problem is with the
There is something new and potentially very important for web2py.
Example:
@auth.requires_login()
def index():
link = A('click me',_href=URL('callback',user_signature=True))
return dict(link=link)
@auth.requires_signature() # NEW!!
def callback():
return dict(hello='hello world')
disculpa amigo.
siempre escribo a la lista correspondiente o en tal caso tradusco con
google..
sorry friend.
always write to the list or in this case Translates to google ..
2011/5/21 pbreit :
> This is the best answer I've seen:
>
http://stackoverflow.com/questions/117514/how-do-i-use-timezones-with-a-datetime-object-in-python
>
> It can get complicated so make sure you need it.
i thought i would be easy when I read massimo saying something about it
massimo@
https:/
I agree but what web2py provides a built-in distributed spreadsheet.
You can have unlimited number of cells, and you can use python in the
cells. The spreadsheet lives in cache ram but can be stored in db. It
is not an app but a tool you can use to build apps.
On May 20, 12:04 pm, António Ramos w
No, maximo said
Do you know you can can do it with web2py, right?
That is not right!
Just want to get your atention to that great tool.
The best tools i have found are made with python
do you know GNS3 for CISCO routers emulators?
its also a great tool! like resolversystems and of course
WEB2
I happy 2y. with linode.
2011/5/19 Carlos :
> Hi,
> What do you recommend for vps hosting?.
> I was pretty sure going with vps.net, but there have been several bad
> experiences out there that make me nervous.
> For reference: http://thepcspy.com/read/why-i-cant-recommend-vpsnet/
> I am now undeci
"If you are serving your app off of a Google Apps domain, you must
direct all secure traffic through your app's appspot domain."
I'd like to be able to do this on a per page or a per controller
basis. I'm assuming I'd need to put something in routes.py for this?
An example of how I might do this w
For this, I need to a record from a DB to a page using AJAX so that it
populates an existing form
I can do it already if i just have to return a value such as dog.name
but I need to return a row like "dog"
would can I return a full row from the controller ?
Example:
def ajaxgetissue():
name =
What's the actual code you are using to call a web2py json-rpc service?
On Sat, May 21, 2011 at 4:23 AM, Matt wrote:
> Anyone using web2py as the web service and then consuming the service
> via json-rpc in C#? I imagine this is possible, but seem to have quite
> some time trying to get this to
Can you do everything using CRUD that you can do with SQLFORM?
Under what circumstances would you choose SQLFORM rather than CRUD?
I put the following code and it works fine:
=== controller ===
class MyClass(object):
z = 2
def __init__(self, a, b):
self.x = a
self.y = b
def add(self):
return self.x + self.y + self.z
def index():
myinstance = MyClass(3, 4)
add = myinstance.add()
hi,
here's my problem.
I have a database with security issues I found in the past and I want
to be able to fill new ones based on it.
the idea was to fill one input field "title" with a word that could
exist in a previous inserted item. A select box would show up with top
5 possibilities, just lik
On 5/20/2011 1:04 PM, António Ramos wrote:
Sorry maximo but resolversystems product is much more than your
spreadsheet.
They are in the business of making spreadsheet related products,
therefore there product does lots of spreadsheet related goodies.
web2py being able to emulate a spreadsheet
On Saturday, May 21, 2011 3:56:13 AM UTC-4, max wrote:
>
> I am using the list string to enter data where the number of input
> texts.
> Can I customize the size of the input boxes in one form because i am
> inserting large texts?
> Can't use the type 'text' because the number of entries is
Excelent!
I saved here. =)
# ---
# Bruno Barbosa
# Web Developer - Linux user and Free Software Enthusiast
# http://algoritmizando.com
# http://twitter.com/bruninbsb
# ---
2011/5/21 Bruno Rocha
> Hi all, I just installed
I think you want:
self.x,self.y = a,b
When you get a Python error, try the code in a Python shell first so you can
easily see whether the problem is web2py-specific or just a Python issue.
Anthony
On Saturday, May 21, 2011 6:00:02 AM UTC-4, 黄祥 wrote:
> hi,
>
> is there any class example
thank you for your replied luifran, but, it's not working, any example or
url maybe?
thank you very much before
On Sat, May 21, 2011 at 7:26 PM, luifran wrote:
> In the view must be for example {{=add}}
>
> On 21 mayo, 12:00, 黄祥 wrote:
> > hi,
> >
> > is there any class example on book or appli
hi,
is it possible to use jquery id using python variable?
e.g.
{{=DIV(A(T('Post a Comment'),
_href = '#'),
_id = '%s' % page.id)}}
=== 1 ===
jQuery('#%s' % page.id).click(function()
{
jQuery('.form').slideToggle('slow');
});
=== 2 ===
jQuery('#{{=page.id
In the view must be for example {{=add}}
On 21 mayo, 12:00, 黄祥 wrote:
> hi,
>
> is there any class example on book or appliances, so that i can learn
> from it?
> i've already tried the simple things what written on book, but got an
> error. do you have any hints or solutions?
> thank you so much
Estimado Luis: esta es una lista de correo en inglés, para que puedan
entender lo que dices debes dirigirte en ese idioma.
Dear Luis: this is an english mail list. You have to use english to be
understood by the list members.
Regards.
El día 21 de mayo de 2011 02:18, Luis Díaz escribió:
> sal
I can use visual report generator with web2py?
which?
Great!.
2011/5/21 Jason (spot) Brower
> Fun thanks!
>
>
> On Sat, May 21, 2011 at 10:55 AM, Bruno Rocha wrote:
>
>> Hi all, I just installed a fresh Ubuntu 11.04 and finished the
>> customization (I will give a chance to Unity). I missed some web2py
>> wallpaper, so I created a very simple one b
hi,
is there any class example on book or appliances, so that i can learn
from it?
i've already tried the simple things what written on book, but got an
error. do you have any hints or solutions?
thank you so much before
e.g.
=== controller ===
class MyClass(object):
z = 2
def __init__(s
Hi,
I have an id field which is not named 'id'. Here's a part of
definition:
Category = db.define_table('category',
Field('myid', 'id'),
Field('id', 'integer'),
Field('parent_id', 'integer') ...
I want to make SQ
On Sat, May 14, 2011 at 6:49 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> No and it will not.
>
> That does not mean there will not a web3py that is not backward
> compatible and has major redesign. No hurry anyway.
>
>
>
I look forward for it. Any plans ?
--
Sebastian E. Ovide
Fun thanks!
On Sat, May 21, 2011 at 10:55 AM, Bruno Rocha wrote:
> Hi all, I just installed a fresh Ubuntu 11.04 and finished the
> customization (I will give a chance to Unity). I missed some web2py
> wallpaper, so I created a very simple one based on the new Ubuntu's
> wallpaper.
>
> If it int
Hi all, I just installed a fresh Ubuntu 11.04 and finished the customization
(I will give a chance to Unity). I missed some web2py wallpaper, so I
created a very simple one based on the new Ubuntu's wallpaper.
If it interest for someone, here is a screenshot
http://is.gd/zmNnlh
Download High res
I am using the list string to enter data where the number of input
texts.
Can I customize the size of the input boxes in one form because i am
inserting large texts?
Can't use the type 'text' because the number of entries is not
previuosly known.
Thanks Bruno, I'll give it a try. regards, james
On May 20, 10:50 am, Bruno Rocha wrote:
> I recommend you to set your own names for migration files, it will turn it
> easy to migrate.
>
> db_define_table('tablename',Field('...'), migrate='mycustomname.table')
> --
> Bruno Rocha
> [ About me:http
33 matches
Mail list logo