[web2py:25140] Re: Web2Py - iPhone site (HTML5 / CSS / JS) sample code?

2009-06-27 Thread Jason Brower
If you thinking of making your own phone apps with web2py I see 2 ways: Client uses a webbrowser. Just like Joe said here, you can simply log into the site. As far as making an application, if you can get python for phone, you can actually make a little webserver in the phone itself, that run you

[web2py:25139] Re: sqlite and default - now() value for datetime column

2009-06-27 Thread mdipierro
Good idea. Massimo On Jun 28, 12:38 am, Hans Donner wrote: > Yes, can see the value of having some statement executed right before > the actual insert (or update). > Massimo, would it be possible wit the new DAL to provide some hooks > into the table that can do some pre insert, update etc stuf

[web2py:25138] Re: near term roadmap

2009-06-27 Thread Hans Donner
small fix needed: === modified file 'web2py/doc/source/conf.py' --- web2py/doc/source/conf.py 2009-05-07 14:32:05 + +++ web2py/doc/source/conf.py 2009-06-28 05:42:50 + @@ -92,7 +92,9 @@ # The short X.Y version. version = version_str[1] # The full version, including alpha/beta/rc tag

[web2py:25137] Re: sqlite and default - now() value for datetime column

2009-06-27 Thread Hans Donner
Yes, can see the value of having some statement executed right before the actual insert (or update). Massimo, would it be possible wit the new DAL to provide some hooks into the table that can do some pre insert, update etc stuff? (or provide a way to specify a new table instance where we can do s

[web2py:25136] Re: patch sql / sqlhtml

2009-06-27 Thread Hans Donner
Yep, this will only provide easy field labels for existing columns, and you can also override the the columnname youserself still. This is more for the quick and dirt SQLTABLE usage and for those simple cases that you provide only a simple table dump. In all other cases, you have to work witg it m

[web2py:25135] Re: How to write requires clause

2009-06-27 Thread mdipierro
sorry: db.define_table('y', db.Field('name','string') ) db.define_table('x', db.Field('y_id',db.y,requires=IS_IN_DB(db,'y.id','%(name)s')), db.Field('name','string'), ) db.x.name.requires=[ IS_NOT_EMPTY(), IS_NOT_IN_DB(db(db.x.y_id==request.vars.y_id),'x.name')

[web2py:25134] Re: patch sql / sqlhtml

2009-06-27 Thread mdipierro
This is not a problem on GAE but break a symmatry between GAE and non- GAE because on non GAE you cannot do it. what if you do db().select(db.table.field,db.table.otherfield.count (),groupby=db.table.field) The column called "db.table.otherfield.count()" cannot be relabled. This issue must be de

[web2py:25133] Re: how to have master file selected(dropdown menu)

2009-06-27 Thread mdipierro
Short answer: yes it is possible to read that Django model and read those data directly from the existing sqlite database. If you really want to I can send you instructions on how to do it or can arrange to do the conversion from you. Long answer: Don't. Export the data for example in

[web2py:25132] Re: patch sql / sqlhtml

2009-06-27 Thread Hans Donner
Just to let you know the patch I'm currently using: === modified file 'web2py/gluon/contrib/gql.py' --- web2py/gluon/contrib/gql.py 2009-06-15 20:35:28 + +++ web2py/gluon/contrib/gql.py 2009-06-21 20:44:14 + @@ -796,6 +796,8 @@ self.hooks = True self.compact = True +

[web2py:25131] Re: How to write requires clause

2009-06-27 Thread weheh
Massimo, unfortunately, the suggestion didn't work. I got a traceback that ends with: Traceback (most recent call last): File "gluon/restricted.py", line 107, in restricted File "C:/web2py/applications/test/models/test.py", line 8, in File "gluon/sql.py", line 525, in __getattr__ KeyError:

[web2py:25130] Re: Web2Py - iPhone site (HTML5 / CSS / JS) sample code?

2009-06-27 Thread Joe Barnhart
Perhaps you are concerned that web2py needs Python on the client side? It does not. All Python code resides server-side so the only technology needed on the client end is a standards-compliant browser. There is no reason why an iPhone web browser could not interact with a web2py site. On Jun 27

[web2py:25129] Re: near term roadmap

2009-06-27 Thread mdipierro
I am not the expert on this or I will have done it already. ;-) Here is summary of a response to the same question I got from Tim Michelsen, he is the expert. 1) we need to make sure that all docscring are conform to these specs: http://sphinx.pocoo.org/rest.html http://www.python.org/dev/peps/p

[web2py:25128] Re: how to have master file selected(dropdown menu)

2009-06-27 Thread jayvandal
I have this model.py in Django. -- from django.db import models from django.contrib import admin class Patient(models.Model): first_name = models.CharField(max_length=30) mid_name = models.CharField(max_length=3) last_name = models.CharField

[web2py:25127] Re: how to have master file selected(dropdown menu)

2009-06-27 Thread jayvandal
I meant I have them in sqlite3. I would hope data would be in mysql eventually or a better db. On Jun 27, 9:59 pm, mdipierro wrote: > You say: > > > I have a file of people. I have a file of jobs and relate the file by the > > ID of people. > > You can do it but you need to move the data from

[web2py:25126] Re: near term roadmap

2009-06-27 Thread Hans Donner
"At the same time we need to change the docstrings to make them reST/ Sphinx compliant. I would very much appreciate help with this part." If you can provide more info regarding this: what/how do you want to see the docstrings, and what makes the (non)complaint? On Sat, Jun 27, 2009 at 10:52 PM,

[web2py:25125] Re: how to have master file selected(dropdown menu)

2009-06-27 Thread mdipierro
You say: > I have a file of people. I have a file of jobs and relate the file by the ID > of people. You can do it but you need to move the data from the files into the database. In which format are those files? Can you provide an example? Can those files be imported once for all or are they upd

[web2py:25124] how to have master file selected(dropdown menu)

2009-06-27 Thread jayvandal
. I started in IBM 7080 in assembly, COBOL in IBM7080, IBM 1401, IBM1410, IBM360 series, Basic in DEc, HP, 4th gen in IBM special,language, HP COGNOS,, C language PC, Delphi in , Visual Basic, Euphoria, etc I have wrritten system in php, tried some Rails, then went to Grails, then Django, an

[web2py:25123] Re: Web2py Version 1.64.4: Reporting possible bug in SQL.py

2009-06-27 Thread mdipierro
Did you install MySQLdb? If so, make sure you are running from source since the binary versions will not be able to find it. massimo On Jun 27, 10:05 pm, Yannick wrote: > Hello mate, > When using database like MySql with the most recent release of Web2py > there is an error coming from sql.py

[web2py:25122] Web2py Version 1.64.4: Reporting possible bug in SQL.py

2009-06-27 Thread Yannick
Hello mate, When using database like MySql with the most recent release of Web2py there is an error coming from sql.py saying "global name 'MySQLdb' is not defined". Basically all DB connection link other than Sqlite doesn't work. db=SQLDB( 'mysql://username:passw...@localhost:3306/database', 1

[web2py:25121] Re: possible bug(?) in sql.py

2009-06-27 Thread mdipierro
I think the issue is that they changed the behavior of the cgi module (http://bugs.python.org/issue1817) so that if the same variable appears both in the URL and in the submitted form it gets parsed twice. This creates an ambiguity because the application (in this case web2py) cannot tell if the f

[web2py:25120] Re: possible bug(?) in sql.py

2009-06-27 Thread Jędrzej Nowak
OK, I've checked on 2.5.2 and it works. I cannot check it on >2.6.0. On Jun 28, 2:39 am, Jędrzej Nowak wrote: > hey! sorry for "spamming" on list, but Groups definitely doesn't works > for me... > > anyway thats output that you requested: > - > /manager/default/edit_elem > - > project_id

[web2py:25119] Re: possible bug(?) in sql.py

2009-06-27 Thread Jędrzej Nowak
hey! sorry for "spamming" on list, but Groups definitely doesn't works for me... anyway thats output that you requested: - /manager/default/edit_elem - project_id=2&elem=forms&id=2 - - - - "id" field is list... the question is WHY ? On Jun 28, 2:02 am, mdipierro wro

[web2py:25118] Re: Web2Py - iPhone site (HTML5 / CSS / JS) sample code?

2009-06-27 Thread mdipierro
Not sure what do you mean using only HTML / CSS/ JS? perhaps this will help: http://www.web2py.com/AlterEgo/default/show/110 Massimo On Jun 27, 6:35 pm, gluegl wrote: > Any Web2Py GAE site sample code (using only HTML / CSS / JS)? > > THANKS in advance, > -G --~--~-~--~~---

[web2py:25117] Web2Py - iPhone site (HTML5 / CSS / JS) sample code?

2009-06-27 Thread gluegl
Any Web2Py GAE site sample code (using only HTML / CSS / JS)? THANKS in advance, -G --~--~-~--~~~---~--~~ 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@googlegro

[web2py:25116] Re: render a vew inside a view

2009-06-27 Thread mdipierro
{{=XML(response.render('default/search.html', form=search_form(), rows= []))}} On Jun 27, 6:57 pm, Brian wrote: > Does anyone know if there's a way to render a view inside another > view?  This method gives me the html I would like: > > {{ > form=search_form() > rows=[]}} > > {{include 'default

[web2py:25115] Re: possible bug(?) in sql.py

2009-06-27 Thread mdipierro
2.6 and 2.6.1 seem to have a cgi module that behave strangely. This will work for sure with 2.5. and should work fine with 2.6.2. Massimo On Jun 27, 6:09 pm, Yarko Tymciurak wrote: > You want to have at least 2.6.2... > > 2009/6/27 Jędrzej Nowak > > > > > Wrrr... I'm trying to post 5th time...

[web2py:25114] render a vew inside a view

2009-06-27 Thread Brian
Does anyone know if there's a way to render a view inside another view? This method gives me the html I would like: {{ form=search_form() rows=[] }} {{include 'default/search.html'}} But I'd really rather do something like this because it seems more correct: {{=response.render('default/search.

[web2py:25113] Re: possible bug(?) in sql.py

2009-06-27 Thread Yarko Tymciurak
You want to have at least 2.6.2... 2009/6/27 Jędrzej Nowak > > Wrrr... I'm trying to post 5th time... Maybe now... > > I'm using 2.6, but as I know 2.6 is compatible with 2.5... > > On Jun 27, 4:26 pm, mdipierro wrote: > > Are you using Python 2.5 or Python 2.6? > > > > Massimo > > > > On Jun 2

[web2py:25112] Re: Idea... Thumbnailing...

2009-06-27 Thread Joe Barnhart
There is the Python Imaging Library (PIL) that lets you open and manipulate images from Python applications. Maybe it would be useful in this context? (I'm getting "bad gateway" errors trying to pull up the PIL website at this moment. Hopefully a problem only for my geography.) On Jun 27, 3:17

[web2py:/] How to customize default authentication DB fields?

2009-06-27 Thread Md.Mahbubur Rasheed
Hi,I want to add more fields to the default authentication system. Like the DB should have a username (rather than email address as user name). Also I want to add country age etc. But I couldn't find any clue other than the following line in documentation- *"**You can change the table name, defin

[web2py:25111] Re: sqlite and default - now() value for datetime column

2009-06-27 Thread mdipierro
You can do it with a trick but I cannot promise it will work with the new DAL from gluon.sql import SQLXorable db.define_table( SQLFIELD('add_date', 'datetime', default=SQLXorable("any SQL code here")) ) Anyway, I think it works but I am not 100% sure. Massimo On Jun 27, 3:24 pm, kuba

[web2py:25110] near term roadmap

2009-06-27 Thread mdipierro
> I've been meaning to dig deeper into this; will do as well. Is there a > thread on how the new DAL functions? Not yet but I am hoping to post it within one week. This is my current queue: - finish review and include Hans and Alexey patches for tickets on GAE (*) - finish review and include Hans

[web2py:25109] Re: sqlite and default - now() value for datetime column

2009-06-27 Thread kuba
On 27 Cze, 22:09, Hans Donner wrote: > Have you tried the 'default'  keyword for SQLField? > > SQLFIELD('add_date', 'datetime', default=)? > yes, I thought also about it. The problem is that it accepts datetime type (or what ever it is) not string i can only pass request.now to it - and if u

[web2py:25108] Re: sqlite and default - now() value for datetime column

2009-06-27 Thread Hans Donner
Have you tried the 'default' keyword for SQLField? SQLFIELD('add_date', 'datetime', default=)? On Sat, Jun 27, 2009 at 9:54 PM, kuba wrote: > > > I will try to explain it better: > > for example one of my tables looks like this > > db.define_table("active_task", >    SQLField('parameters', 's

[web2py:25107] Re: Using GAE DB model Directly into web2py?

2009-06-27 Thread Cory Preus
> ... making a list of those GAE expression that you would > like to be supported by web2py, provide an example of GAE syntax and a > proposed web2py syntax Great. Will do. > The new DAL will have lots more room for customization so we should > focus on design before implementation. I've been m

[web2py:25106] Re: sqlite and default - now() value for datetime column

2009-06-27 Thread kuba
I will try to explain it better: for example one of my tables looks like this db.define_table("active_task", SQLField('parameters', 'string'), SQLField('add_date', 'datetime'), SQLField('state', 'integer')) What I'm trying to achieve is that every time someone inserts a row - colum

[web2py:25105] Re: How to customize default authentication DB fields?

2009-06-27 Thread Captain___nemo
Thanks a lot Massimo. I am looking into it. On Jun 28, 1:38 am, mdipierro wrote: > Look at the slides inwww.web2py.com, page 125. > > You can add any field you want but you cannot remove the fields in the > example. If you add a field "username" it will be be used for login > instead of email. >

[web2py:25104] Re: Using GAE DB model Directly into web2py?

2009-06-27 Thread Hans Donner
As stated, I do not think web2py is the issue here, but more that people want to force a relation design onto the bigtable. And yes, there are perhaps some small improvements that could be made to web2py to provide better support - but i'm awaiting the new DAL. Also the examples provided now are

[web2py:25103] Re: How to customize default authentication DB fields?

2009-06-27 Thread mdipierro
Look at the slides in www.web2py.com, page 125. You can add any field you want but you cannot remove the fields in the example. If you add a field "username" it will be be used for login instead of email. massimo On Jun 27, 2:24 pm, "Md.Mahbubur Rasheed" wrote: > Hi,I want to add more fields t

[web2py:25102] Re: Using GAE DB model Directly into web2py?

2009-06-27 Thread mdipierro
I would start by making a list of those GAE expression that you would like to be supported by web2py, provide an example of GAE syntax and a proposed web2py syntax. Possibly maintain a wiki page about this so information does not get lost. The new DAL will have lots more room for customization so

[web2py:25100] Re: Using GAE DB model Directly into web2py?

2009-06-27 Thread Cory Preus
I'm in agreement with Hans about how GAE is fundamentally different from relational databases. There are few threads on this and Yarko's proposal is something I'm a fan of. Maybe not the most correct approach, but continuing the discussion is valuable, methinks. http://groups.google.com/group/web

[web2py:25097] Re: sqlite and default - now() value for datetime column

2009-06-27 Thread mdipierro
I do not understand the question On Jun 27, 1:48 pm, kuba wrote: > is there any way to achive it on database level ?  I thought about > db.sqlexecute()  but sqlite doesn't support alter column. > > Thx for help --~--~-~--~~~---~--~~ You received this message becau

[web2py:25099] Re: How to write requires clause

2009-06-27 Thread weheh
Great. Makes sense. If I could think a little straighter I might have figured it out myself. --~--~-~--~~~---~--~~ 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@go

[web2py:25096] Re: Announcing my first web2py app

2009-06-27 Thread weheh
On Jun 27, 2:47 pm, vihang wrote: > any chance you would know what was used for compiling the js and css > scripts together ? > > 'fraid not. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" gr

[web2py:25093] Re: Announcing my first web2py app

2009-06-27 Thread vihang
any chance you would know what was used for compiling the js and css scripts together ? On Jun 27, 10:40 pm, weheh wrote: > I'm working on trying to get a link to web2py or a mention. But like I > said, I don't fully own the site. --~--~-~--~~~---~--~~ You receive

[web2py:25098] Re: How to write requires clause

2009-06-27 Thread mdipierro
you can do db.define_table('x', db.Field('y_id',db.y,requires=IS_IN_DB(db,'y.id','%(name)s'), db.Field('name','string',requires=[ IS_NOT_EMPTY(), IS_NOT_IN_DB(db(db.x.y_id==request.vars.y_id),'x.name') ] ), ) Assuming the validator is only executing when a for

[web2py:25090] Re: Announcing my first web2py app

2009-06-27 Thread weheh
I'm working on trying to get a link to web2py or a mention. But like I said, I don't fully own the site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email

[web2py:25094] sqlite and default - now() value for datetime column

2009-06-27 Thread kuba
is there any way to achive it on database level ? I thought about db.sqlexecute() but sqlite doesn't support alter column. Thx for help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group.

[web2py:25091] Re: possible bug(?) in sql.py

2009-06-27 Thread Jędrzej Nowak
Wrrr... I'm trying to post 5th time... Maybe now... I'm using 2.6, but as I know 2.6 is compatible with 2.5... On Jun 27, 4:26 pm, mdipierro wrote: > Are you using Python 2.5 or Python 2.6? > > Massimo > > On Jun 27, 9:16 am, pigmej wrote: > > > > > traceback: > > Traceback (most recent call l

[web2py:25088] Re: possible bug(?) in sql.py

2009-06-27 Thread Jędrzej Nowak
Hmmm it's 2.6 On Jun 27, 4:26 pm, mdipierro wrote: > Are you using Python 2.5 or Python 2.6? > > Massimo > > On Jun 27, 9:16 am, pigmej wrote: > > > traceback: > > Traceback (most recent call last): > >   File "/home/pigmej/moje/web2py/gluon/restricted.py", line 107, in > > restricted > >  

[web2py:25095] How to write requires clause

2009-06-27 Thread weheh
db.define_table('x', db.Field('y_id',db.y,requires=IS_IN_DB(db,'y.id','%(name)s'), db.Field('name','string',requires=[ IS_NOT_EMPTY(), IS_NOT_IN_DB(???,'x.name') ] ), ) The question is this: How to write the requires clause such that the x.name field is uni

[web2py:25089] Re: Announcing my first web2py app

2009-06-27 Thread weheh
I'm not fully in charge of the site. The site came together lightning fast. The other guys working on the site are ROR experts. They were responsible for the front end and content. So we all stuck with what we knew. --~--~-~--~~~---~--~~ You received this message be

[web2py:25092] Re: Let's play...How did I break it?!!!

2009-06-27 Thread mr.freeze
Scratch that, It's a problem i created in layout.html. On Jun 27, 1:02 pm, "mr.freeze" wrote: > I seem to have broken the db portion of appadmin on my app somehow. > It throws this error: > > Traceback (most recent call last): >   File "C:\web2py\gluon\restricted.py", line 107, in restricted >  

[web2py:25086] Re: possible bug(?) in sql.py

2009-06-27 Thread Jędrzej Nowak
Hmmm 2.6 On Jun 27, 4:26 pm, mdipierro wrote: > Are you using Python 2.5 or Python 2.6? > > Massimo > > On Jun 27, 9:16 am, pigmej wrote: > > > traceback: > > Traceback (most recent call last): > >   File "/home/pigmej/moje/web2py/gluon/restricted.py", line 107, in > > restricted > >     ex

[web2py:25085] Re: Announcing my first web2py app

2009-06-27 Thread Fauché JM
Wonderfull work Weheh ! Just a comment: I don't see any link to web2py ...and you should (cf licence) Jean-Marc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send

[web2py:25084] Re: dataTables and date

2009-06-27 Thread Sebastian E. Ovide
Is it possible to do it on a field not associated to any db ? say that for example I have one input with the format "/mm/dd" an another input field in another page with the format "25th Jun, 1990"... is it possible to do that using the date picker provided by web2py ? On Mon, Apr 20, 2009

[web2py:25087] Re: possible bug(?) in sql.py

2009-06-27 Thread Jędrzej Nowak
Hmmm 2.6 On Jun 27, 4:26 pm, mdipierro wrote: > Are you using Python 2.5 or Python 2.6? > > Massimo > > On Jun 27, 9:16 am, pigmej wrote: > > > traceback: > > Traceback (most recent call last): > >   File "/home/pigmej/moje/web2py/gluon/restricted.py", line 107, in > > restricted > >     ex

[web2py:25083] Let's play...How did I break it?!!!

2009-06-27 Thread mr.freeze
I seem to have broken the db portion of appadmin on my app somehow. It throws this error: Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 107, in restricted exec ccode in environment File "C:/web2py/applications/web2pyslices/views/appadmin.html", line 248, in

[web2py:25082] Re: possible bug(?) in sql.py

2009-06-27 Thread Jędrzej Nowak
2.6 ... But as I know 2.6 is compatible with 2.5... On Jun 27, 4:26 pm, mdipierro wrote: > Are you using Python 2.5 or Python 2.6? > > Massimo > > On Jun 27, 9:16 am, pigmej wrote: > > > traceback: > > Traceback (most recent call last): > >   File "/home/pigmej/moje/web2py/gluon/restricted.py",

[web2py:25081] Re: possible bug(?) in sql.py

2009-06-27 Thread mdipierro
If you are using python 2.6 (as I think) please do a test for me. print request.env.path_info print request.env.query_string print request.vars print request.get_vars print request.post_vars before the error occurs and send me the output. Massimo On Jun 27, 9:26 am, mdipierro wrote: > Are you

[web2py:25080] Re: amf-rpc and Flex 3

2009-06-27 Thread mdipierro
I do not know about the non-ascii text. On the web2py side just call pyamf so if there is any bug in implementing the protocol it is there. It should be possible to change amf0 to amf3. Try change gluon/ tools.py line 2083 context = pyamf.get_context(pyamf.AMF0) Perhaps you can help me

[web2py:25079] Re: possible bug(?) in sql.py

2009-06-27 Thread mdipierro
Are you using Python 2.5 or Python 2.6? Massimo On Jun 27, 9:16 am, pigmej wrote: > traceback: > Traceback (most recent call last): >   File "/home/pigmej/moje/web2py/gluon/restricted.py", line 107, in > restricted >     exec ccode in environment >   File "/home/pigmej/moje/web2py/applications/

[web2py:25078] possible bug(?) in sql.py

2009-06-27 Thread pigmej
traceback: Traceback (most recent call last): File "/home/pigmej/moje/web2py/gluon/restricted.py", line 107, in restricted exec ccode in environment File "/home/pigmej/moje/web2py/applications/manager/controllers/ default.py", line 167, in File "/home/pigmej/moje/web2py/gluon/globals.py

[web2py:25077] possible bug(?) in sql.py

2009-06-27 Thread pigmej
traceback: Traceback (most recent call last): File "/home/pigmej/moje/web2py/gluon/restricted.py", line 107, in restricted exec ccode in environment File "/home/pigmej/moje/web2py/applications/manager/controllers/ default.py", line 167, in File "/home/pigmej/moje/web2py/gluon/globals.py

[web2py:25076] Re: communication error and socket error

2009-06-27 Thread todor_k
It's done http://groups.google.com/group/cherrypy-users/browse_thread/thread/3fab93a24037b91c Regards, T. On 27 Юни, 11:17, todor_k wrote: > Thanks, > > I will try to do it with reference to this thread. > > Regards, > Todor > > On 27 Юни, 08:33, mdipierro wrote: > > > This is an issue with the

[web2py:25075] Attatchments in email...

2009-06-27 Thread Jason Brower
Noticed this dead end. http://groups.google.com/group/web2py/browse_thread/thread/3250ef91619c7c19 I would love to have attatchments in email. (I will be sending a users avatar in the email.) Regards, Jason --~--~-~--~~~---~--~~ You received this message because

[web2py:25074] Re: Announcing my first web2py app

2009-06-27 Thread vihang
@weheh, Great job with the website ! looks good.. I had one question.. what did you use to compile the js and css scripts together? I have been looking for a solution whihc I can use with web2py/python but most of them are php based... Thanks for any direction Vihang On Jun 27, 9:51 am, md

[web2py:25073] Idea... Thumbnailing...

2009-06-27 Thread Jason Brower
I wonder if there is a nice way to implement thumbnailing. I am working with a lot of images in my website and it would be nice to have a way to scale them before they get to the user. That way my big images scale to the need of the view. Regards, Jason Brower --~--~-~--~~

[web2py:25072] Re: communication error and socket error

2009-06-27 Thread todor_k
Thanks, I will try to do it with reference to this thread. Regards, Todor On 27 Юни, 08:33, mdipierro wrote: > This is an issue with the cherrypy wsgiserver. I suggest you bring it > up on the cherrypy mailing list. > > Massimo > > On Jun 26, 1:13 pm, todor_k wrote: > > > I have the same issu

[web2py:25071] Re: amf-rpc and Flex 3

2009-06-27 Thread Alexei Vinidiktov
You can use this code from Flex. I did and it worked with a caveat of not being able to send non-ASCII text. Here's the code I used. It's ugly, but it was put together with the sole purpose of doing some tests. http://www.adobe.com/2006/mxml"; horizontalAlign="cen

[web2py:25070] Re: amf-rpc and Flex 3

2009-06-27 Thread Alexei Vinidiktov
I tested this some time ago I got problems with sending non-ASCII text. Other than that the code worked fine. Is it a limitation of web2py or of pyamf? It appears to use amf0. Is it possible to switch to amf3? On Sat, Jun 27, 2009 at 1:53 PM, mdipierro wrote: > > This could be a bug. Could you

[web2py:25069] Re: amf-rpc and Flex 3

2009-06-27 Thread Nano Surbakti
Hi Massimo, I couldn't try that code, cause I don't have Adobe Flash MX. I am using Flex, trying something quite similar to Alexei's code. It's actually adapted from: http://pyamf.org/browser/examples/trunk/helloworld/flex/remoteobject/src/helloworld.mxml For the controller, I'm following : http:

[web2py:25068] Re: form_factory focus

2009-06-27 Thread annet
Hi Denes, > What do you mean by the calendar breaks? > I just had a little time to test and Firefox does not have a problem > focusing on a date field. In both Safari and Firefox, when I request a page with a field of type date as the first field visible it has the focus, however, when I click i