[web2py:15383] routes.py and favicon on GAE not working

2009-01-24 Thread Markus Gritsch
Hi, when I create a routes.py file with the following content routes_in=( ('/favicon.ico', '/myapp/static/favicon.ico'), ) routes_out=() I get the following error message on Google App Engine: --- Error: Server Error The server encountered an error and could not complete your request.

[web2py:15384] Re: replacing file

2009-01-24 Thread BearXu
So I think a signal system is also needed here because if we have one, we can solve this problem easily for ourselves. 2009/1/24 Wes James > > If you delete a file or record it deletes the file. I just submitted > a file when there was already one in the record. Is this supposed to > delete th

[web2py:15385] Re: Best Authentication Practise with Web2Py !

2009-01-24 Thread Yannick
Thanks Massimo for a quick reply ! On Jan 23, 12:45 am, mdipierro wrote: > http://groups.google.com/group/web2py/browse_thread/thread/e624360e36... > > On Jan 22, 9:08 pm, Yannick wrote: > > > Hello mate, > > I'm building the authentication module and here is pretty much a > > sample of my code

[web2py:15386] Re: future of T2 is *almost* here

2009-01-24 Thread Yannick
Thanks for the note... I try this example and I have the following error message: " Traceback (most recent call last): File "/opt/web2py/gluon/restricted.py", line 62, in restricted exec ccode in environment File "/opt/web2py/applications/myapp/models/db.py", line 13, in from gluon

[web2py:15387] Re: future of T2 is *almost* here

2009-01-24 Thread Yannick
Thanks for the note... I try this example and I have the following error message: " Traceback (most recent call last): File "/opt/web2py/gluon/restricted.py", line 62, in restricted exec ccode in environment File "/opt/web2py/applications/myapp/models/db.py", line 13, in from gluon

[web2py:15388] Re: future of T2 is *almost* here

2009-01-24 Thread mdipierro
sorry it was renamed gluon.tools On Jan 24, 10:51 am, Yannick wrote: > Thanks for the note... > I try this example  and I have the following error message: > " >   Traceback (most recent call last): >   File "/opt/web2py/gluon/restricted.py", line 62, in restricted >     exec ccode in environme

[web2py:15389] Patch for missing HTML-helper LEGEND

2009-01-24 Thread Markus Gritsch
Hi, web2py has the FIELDSET HTML-helper, but it misses one for the associated LEGEND tag to set the caption of the fieldset. http://htmlhelp.com/reference/html40/forms/legend.html http://www.w3.org/TR/html401/interact/forms.html#h-17.10 The attached patch adds this helper. Markus --~--~---

[web2py:15390] Re: Patch for missing HTML-helper LEGEND

2009-01-24 Thread mdipierro
You know you can use TAG.LEGEND instead, right? On Jan 24, 8:20 am, Markus Gritsch wrote: > Hi, > > web2py has the FIELDSET HTML-helper, but it misses one for the > associated LEGEND tag to set the caption of the fieldset. > > http://htmlhelp.com/reference/html40/forms/legend.htmlhttp://www.w3.o

[web2py:15391] Google groups lost its place?

2009-01-24 Thread Joe Barnhart
The last couple of times I have visited the mailing list "forum", Google's software seems to have lost my "place" with respect to the messages I have read. It says, for instance, "8 new messages" at signon, but then shows me "4 new of 4", "8 new of 8", "30 new of 30", etc. for every message threa

[web2py:15392] submit_button

2009-01-24 Thread Julius Minka
submit_button is working in SQLFORM, but not int t2. Is this intentional? How to change the label on submit button using t2? Julius --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To p

[web2py:15393] Re: submit_button

2009-01-24 Thread Julius Minka
sorry, I found it in the archive: form.element(_type='submit').update(_value='click me!') On So, 2009-01-24 at 20:59 +0100, Julius Minka wrote: > submit_button is working in SQLFORM, but not int t2. > Is this intentional? How to change the label on submit button using t2? > Julius > > > > >

[web2py:15394] IS_IN_DB for long tables

2009-01-24 Thread Sebastian E. Ovide
Hi All, I'm using the IS_IN_DB to generate dropdown inputs in the forms and it is great for small tables (as the category in the cookbook) but for some other applications with long tables (say for example with few hundred raws) it is not really user friendly...(imagine if you need to choose who is

[web2py:15395] Re: Patch for missing HTML-helper LEGEND

2009-01-24 Thread Markus Gritsch
On Sat, Jan 24, 2009 at 6:43 PM, mdipierro wrote: > > You know you can use TAG.LEGEND instead, right? No, I must have overlooked the 'Custom Helpers' section in the Book, sorry. Thank you for the hint. So this makes my patch obsolete. On the other hand, why are there explicit classes for help

[web2py:15396] Re: future of T2 is *almost* here

2009-01-24 Thread Yannick
Thanks for the note... I still have the same type of error message here it is: " Traceback (most recent call last): File "/opt/web2py/gluon/restricted.py", line 62, in restricted exec ccode in environment File "/opt/web2py/applications/myapp/models/db.py", line 13, in from gluo

[web2py:15397] Customize form return by T2

2009-01-24 Thread Yannick
Hello mate, Anyone knows how to customize the form ( Register, Login, etc...) return by T2 application Plug-in ? Thanks for your help ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. T

[web2py:15398] Is chart in T3 will be Google Chart?

2009-01-24 Thread BearXu
T3 has a function to write a bar graph. Will it support Google Chart to write a complex graph? --~--~-~--~~~---~--~~ 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@

[web2py:15399] Re: IS_IN_DB for long tables

2009-01-24 Thread BearXu
Maybe you can write an AJAX_autocomplete widget here. 2009/1/24 Sebastian E. Ovide > Hi All, > > I'm using the IS_IN_DB to generate dropdown inputs in the forms and it is > great for small tables (as the category in the cookbook) but for some other > applications with long tables (say for examp

[web2py:15400] Re: Is chart in T3 will be Google Chart?

2009-01-24 Thread BearXu
there is some 3rd library like http://code.google.com/p/google-chartwrapper/ 2009/1/24 BearXu > T3 has a function to write a bar graph. > Will it support Google Chart to write a complex graph? > --~--~-~--~~~---~--~~ You received this message because you are subs

[web2py:15401] GAE self reference

2009-01-24 Thread Sebastian E. Ovide
Hi All, I have a model that works well with SQLite but it doesn't with GAE db.define_table('person', SQLField('name'), SQLField('email'), SQLField('phone'), SQLField('foto','upload'), SQLField('manager','reference person') ) db.person.name.requires=[IS_NOT_EMPTY(),IS_NOT_I

[web2py:15402] Re: Google groups lost its place?

2009-01-24 Thread achipa
I could not access this group several times this week at all, so I guess some technical issue was at stake. Google is big but not infallible :) On Jan 24, 8:32 pm, Joe Barnhart wrote: > The last couple of times I have visited the mailing list "forum", > Google's software seems to have lost my "

[web2py:15403] Re: Customize form return by T2

2009-01-24 Thread jlegler
There are many ways to do it depending on what you want to do. Can you give us an example of what you would like to do? On Jan 24, 1:50 pm, Yannick wrote: > Hello mate, > Anyone knows how to customize the form ( Register, Login, etc...) > return by T2 application Plug-in ? > > Thanks for your h

[web2py:15404] Re: GAE self reference

2009-01-24 Thread Robin B
It is certainly a bug. Either the person table is not initialized yet since it is referencing itself, or there is something funny going on with getitem. What revision of what repository is the source code? Robin On Jan 24, 5:23 pm, "Sebastian E. Ovide" wrote: > Hi All, > > I have a model t

[web2py:15405] Re: GAE self reference

2009-01-24 Thread Wes James
On Sat, Jan 24, 2009 at 4:23 PM, Sebastian E. Ovide wrote: > Hi All, > > I have a model that works well with SQLite but it doesn't with GAE > > db.define_table('person', > SQLField('name'), > SQLField('email'), > SQLField('phone'), > SQLField('foto','upload'), > SQLField('mana

[web2py:15406] Re: GAE self reference

2009-01-24 Thread Sebastian E. Ovide
I-m using the last stable> Version 1.55.2 (2009-01-08 08:38:01) On Sat, Jan 24, 2009 at 11:31 PM, Robin B wrote: > > It is certainly a bug. > > Either the person table is not initialized yet since it is referencing > itself, or there is someth

[web2py:15407] Re: future of T2 is *almost* here

2009-01-24 Thread mdipierro
sorry. trunk only for now. There will be a new version in 1-2 weeks. On Jan 24, 3:47 pm, Yannick wrote: > Thanks for the note... > I still have the same type of error message here it is: > > " >    Traceback (most recent call last): >    File "/opt/web2py/gluon/restricted.py", line 62, in restri

[web2py:15408] Re: IS_IN_DB for long tables

2009-01-24 Thread mdipierro
I have a pending patch from Denes for this. On Jan 24, 4:15 pm, BearXu wrote: > Maybe you can write an AJAX_autocomplete widget here. > > 2009/1/24 Sebastian E. Ovide > > > Hi All, > > > I'm using the IS_IN_DB to generate dropdown inputs in the forms and it is > > great for small tables (as th