[web2py:20413] Re: javascript proxy issue

2009-04-24 Thread Fran
On Apr 23, 8:03 pm, Tim Michelsen wrote: > Hello!>> javascript has a problem fetching external urls. > >> They created a proxy.cgi script [3]. > > Yup, I have the same issue :) > Thanks for confirming this. Such a short time I am working with > Openlayers (OL)... This is the bit that I'm more co

[web2py:20414] Re: debuggers for ajax in web2py

2009-04-24 Thread Fran
On Apr 24, 7:11 am, Nazgi wrote: >         I'm new to web2py. Can some1 tell me how to debug javascript > code in web2py? Same as you debug JavaScript in other environments: http://getfirebug.com F --~--~-~--~~~---~--~~ You received this message because you are s

[web2py:20415] Re: debuggers for ajax in web2py

2009-04-24 Thread newbie
thanks for the reply... On Apr 24, 12:27 pm, Fran wrote: > On Apr 24, 7:11 am, Nazgi wrote: > > >         I'm new to web2py. Can some1 tell me how to debug javascript > > code in web2py? > > Same as you debug JavaScript in other environments:http://getfirebug.com > > F --~--~-~--~~-

[web2py:20416] unique constraint violation

2009-04-24 Thread annet
I have the following table definition: db.define_table('superactiviteit', SQLField('superactiviteit', length=48, default='', notnull=True, unique=True), migrate=False) db.superactiviteit.superactiviteit.requires=[IS_LENGTH (48,error_message=T('length exceeds 48')), IS_NOT_EMPTY(), IS_NO

[web2py:20417] Re: SQLFORM

2009-04-24 Thread jmvermeer
Massimo, After adding col3=dict() my form reads like: def contact(): response.functionname=T('Contact') response.image=URL(r=request,c='static',f='media/core/banner.png') form=form_factory(SQLField('bedrijfsnaam'),\ SQLField('u_bent',label='U bent',requires=IS_IN_SET(['de heer',

[web2py:20418] Re: SQLFORM

2009-04-24 Thread jmvermeer
Denes, > Strictly speaking only reset is valid HTML. > But you can create any button you want. > How? it depends on what do you want to do with it. > In your case, what is "Cancel" going to do?. > > To add a reset button: > form[0].append(TR(TD(),TD(INPUT(_type="reset",_value="Reset form"))) > >

[web2py:20421] Re: Tip of the day: impersonation

2009-04-24 Thread Francisco Gama
it's nice to have more power to do the things users want, go for it but please mind me asking... why would anyone want to impersonate a different user while logged in? Isn't that what a good authentication system isn't trying to avoid as a possibility? Thank you On Apr 24, 5:27 am, mdipierro wr

[web2py:20423] Re: unique constraint violation

2009-04-24 Thread mdipierro
This IntegrityError: duplicate key value violates unique constraint "superactiviteit_pkey" is a DB error, not web2py's. There is another record with the same key. Perhaps inserted before the constraint was added. Massimo On 24 Apr, 03:14, annet wrote: > I have the following table definition:

[web2py:20424] Pretty book printing

2009-04-24 Thread Angelo Compagnucci
Hi list and hi Massimo, I bought the pdf book version, is there a way to pretty print the book without crop markers?? Thank you for the answers and the beautiful framework!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

[web2py:20422] Re: Integrated Development Environment with web2py

2009-04-24 Thread Francisco Gama
They were kind enough to offer me a professional license for open source projects dev. I even't yet configured it for web2py but I know Wing very well and I love it. I use to work with a very advanced configuration on Emacs and Eclipse with pydev and pydev extensions. For a time, I used Komodo (an

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

2009-04-24 Thread miguel
Hi, I also have a couple of problems: * How to configure RemoteObject for web2py? * I suppose the flex files go on the static folder. But where goes the crossdomain.xml? I can do this with PyAMF using the SQLAlchemy example or the Twisted how-to, but I would much rather do this with web2py. My r

[web2py:20419] Re: SQLFORM

2009-04-24 Thread jmvermeer
Denes, > Strictly speaking only reset is valid HTML. > But you can create any button you want. > How? it depends on what do you want to do with it. > In your case, what is "Cancel" going to do?. > To add a reset button: > form[0].append(TR(TD(),TD(INPUT(_type="reset",_value="Reset form"))) > f

[web2py:20425] Re: Compliments

2009-04-24 Thread Omar Munk
I have my book! Im gonne start learning W2P in a few hours =D! 2009/4/23 waTR > > No, it is a webapp being developed using web2py. Think Drupal/Jumla + > Plug-ins. > > > > On Apr 22, 7:51 am, Pynthon Pynthon wrote: > > So also a web-framework :$? > > > > 2009/4/22 mdipierro > > > > > > > > > T1

[web2py:20426] Re: Compliments

2009-04-24 Thread Pynthon
Lol, I posted with my wrong account! On Apr 24, 2:45 pm, Omar Munk wrote: > I have my book! Im gonne start learning W2P in a few hours =D! > 2009/4/23 waTR > > > > > No, it is a webapp being developed using web2py. Think Drupal/Jumla + > > Plug-ins. > > > On Apr 22, 7:51 am, Pynthon Pynthon wr

[web2py:20427] Re: Pretty book printing

2009-04-24 Thread Timmie
I would also like to print it. May I ask you to put the cover page (http://eu.wiley.com/WileyCDA/ WileyTitle/productCd-0470432322.html) on the website so that I can print it with the Lulu PDF. Thanks. --~--~-~--~~~---~--~~ You received this message because you are

[web2py:20428] Re: Pretty book printing

2009-04-24 Thread Pynthon
I think it has too much pages to print it :(. I putt the eBook on my PSP. On Apr 24, 3:21 pm, Timmie wrote: > I would also like to print it. > May I ask you to put the cover page (http://eu.wiley.com/WileyCDA/ > WileyTitle/productCd-0470432322.html) > on the website so that I can print it with t

[web2py:20429] Re: debuggers for ajax in web2py

2009-04-24 Thread Nithin Kumar M
Hi, I've tried firebug debugger. I'm getting 400 BAD REQUEST error. can anyone help me out??? regards, Nithin Kumar M. On Fri, Apr 24, 2009 at 1:16 PM, newbie wrote: > > thanks for the reply... > > On Apr 24, 12:27 pm, Fran wrote: > > On Apr 24, 7:11 am, Nazgi wrote: > > > > >

[web2py:20430] problem with datetime type (misleading msg "SyntaxError: invalid table name")

2009-04-24 Thread Jurgis Pralgauskis
hello, I generated initial db structure with wwwsqldesigner, now I get Traceback (most recent call last): File "/home/www/web2py/gluon/restricted.py", line 98, in restricted exec ccode in environment File "/home/www/web2py/applications/all_ways_wui/models/db.py", line 35, in SQLField

[web2py:20431] Re: Pretty book printing

2009-04-24 Thread Francisco Gama
well well well... What PDF Reader do you have on PSP? On Apr 24, 2:31 pm, Pynthon wrote: > I think it has too much pages to print it :(. I putt the eBook on my > PSP. > > On Apr 24, 3:21 pm, Timmie wrote: > > > I would also like to print it. > > May I ask you to put the cover page (http://eu.w

[web2py:20432] Re: Bug in admin/default/design

2009-04-24 Thread DenesL
auch? where? I am not saying this is not true, I just want to understand. Several of my views use extend with double quotes and they don't have the problem (or I haven't noticed it). I also tested using Kodos and the regex seems fine. --~--~-~--~~~---~--~~ You rece

[web2py:20433] Re: Pretty book printing

2009-04-24 Thread Pynthon Pynthon
Bookr, you need to have a modified PSP. And don't use version 8! It lags! 2009/4/24 Francisco Gama > > well well well... > > What PDF Reader do you have on PSP? > > On Apr 24, 2:31 pm, Pynthon wrote: > > I think it has too much pages to print it :(. I putt the eBook on my > > PSP. > > > > On Ap

[web2py:20434] Re: Bug in admin/default/design

2009-04-24 Thread Álvaro Justen [Turicas]
On Fri, Apr 24, 2009 at 10:59 AM, DenesL wrote: > auch? where? > I am not saying this is not true, I just want to understand. > Several of my views use extend with double quotes and they don't have > the problem (or I haven't noticed it). > I also tested using Kodos and the regex seems fine. Mas

[web2py:20435] Re: Tip of the day: impersonation

2009-04-24 Thread Yarko Tymciurak
management function for an application. Imagine someone asking for help to check some information on their form, and you have dozens of even managers to help people... Admin view of tables is not so safe, or so useful (how can someone at a desk help if they do not see what the end user sees, or ev

[web2py:20436] Many to many implementation performance, integrity - for production site?

2009-04-24 Thread dvid
I know, there is a "multiple=True" way to do it, which leads to representation like |4|5|7| in the textual db field. The solution seems to be straightforward and there is handy widget to deal with. But I am concerned about scalability, performance and referential integrity. Should I use this for

[web2py:20437] Re: SQLFORM

2009-04-24 Thread DenesL
About the asterisks in col3, you have to use your form's field names as in: col3=dict(initialen='*', naam='*', ...) On Apr 24, 5:49 am, jmverm...@xs4all.nl wrote: > Denes, > > > Strictly speaking only reset is valid HTML. > > But you can create any button you want. > > How? it depends on what do

[web2py:20438] Re: debuggers for ajax in web2py

2009-04-24 Thread Yarko Tymciurak
The client (javascript) is doing something wrong; start by looking at what the request was (in the source web2py localy, there should be a httpserver.log file that will help; if you are running under apache, apache has similar logs). On Fri, Apr 24, 2009 at 8:35 AM, Nithin Kumar M wrote: > Hi, >

[web2py:20439] Re: problem with datetime type (misleading msg "SyntaxError: invalid table name")

2009-04-24 Thread Wes James
On Fri, Apr 24, 2009 at 7:39 AM, Jurgis Pralgauskis wrote: > > hello, > > and don't get the error, if I do > > db.define_table("items", >      SQLField("progwww", "string", ), >      SQLField("importance", "integer"), >      SQLField("about", "text", ), >      #SQLField("timestamp", "date"),

[web2py:20440] Re: problem with datetime type (misleading msg "SyntaxError: invalid table name")

2009-04-24 Thread DenesL
Any name in dir(db) produces the error. This is a restriction due to the way we can access tables using the dot notation: db.table; it is also a restriction in other constructs. But I agree that it can be misleading. Maybe the code in sql.py should be split up: if tablename in dir(self): ra

[web2py:20441] What does request.vars and session mean?

2009-04-24 Thread Pynthon
Hello I got this in my controller: def index(): return("Hallo Wereld") def first(): form = FORM(INPUT(_name = 'naam', requires = IS_NOT_EMPTY()), INPUT(_type = 'submit')) if form.accepts(request.vars, session): session.naam = form.vars.naam redirect(UR

[web2py:20442] cache.ram with mod_wsgi/apache does not work?

2009-04-24 Thread Mark Larsen
Web2py-ers, Does cache.ram not work with mod_wsgi/apache? Is it because of the multiple apache processes? Sample code: result = cache.ram(response.session_id,lambda: cacheFunc(),600) def cacheFunc(): file("/home/www/test.txt","a").write(str(time.time())+"\n") return True Reloading the pa

[web2py:20445] Re: Pretty book printing

2009-04-24 Thread JohnMc
Angelo, Put it on a USB memory stick and take it to a professional copy shop. If they have a Canon or Ricoh machine the device actually looks for the framing marks and prints the interior content full page. Your ability to do it at home will depend on the printer you have access to. If it suppor

[web2py:20444] Re: What does request.vars and session mean?

2009-04-24 Thread Pynthon Pynthon
Thanks, I understand that already but when I only do: if form.accepts(): Then I can't go to the view. 2009/4/24 Yannick > > Hello Pynthon, > > Request.vars : It is used to get the values of the form you send from > the view in the server side > Session: it is used to access values stored in you

[web2py:20447] Re: What does request.vars and session mean?

2009-04-24 Thread Pynthon
I already got the book the full PDF. On Apr 24, 5:48 pm, Yannick wrote: > Also take a look in this > file:http://mdp.cti.depaul.edu/examples/static/web2py_manual_cut.pdf > You will get a good and complete introduction to the framework... > > Enjoy! > > On Apr 24, 11:12 am, Pynthon wrote: > > >

[web2py:20446] Re: What does request.vars and session mean?

2009-04-24 Thread Yannick
Also take a look in this file: http://mdp.cti.depaul.edu/examples/static/web2py_manual_cut.pdf You will get a good and complete introduction to the framework... Enjoy! On Apr 24, 11:12 am, Pynthon wrote: > Hello I got this in my controller: > > def index(): >     return("Hallo Wereld") > > def

[web2py:20443] Re: What does request.vars and session mean?

2009-04-24 Thread Yannick
Hello Pynthon, Request.vars : It is used to get the values of the form you send from the view in the server side Session: it is used to access values stored in your session (If any) in the server side I hope it helps, Yannick P. On Apr 24, 11:12 am, Pynthon wrote: > Hello I got this in my cont

[web2py:20448] AttributeError in Model

2009-04-24 Thread Pynthon
Hello This is my model (db.py): http://dpaste.com/37436/ And this is the error: http://dpaste.com/37439/ Do someone know the problem? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework"

[web2py:20449] Re: cache.ram with mod_wsgi/apache does not work?

2009-04-24 Thread Mark Larsen
> Is it because of the multiple apache processes? OK, I answered my own question, setting apache/mod_wsgi to 1 process fixes this. In fact it's mentioned (subtly) in Example 39 at: http://www.web2py.com/examples/default/examples#cache_examples I might look into using mem-cached instead. Thanks

[web2py:20450] Re: AttributeError in Model

2009-04-24 Thread Wes James
On Fri, Apr 24, 2009 at 10:42 AM, Pynthon wrote: > > Hello > > This is my model (db.py): > http://dpaste.com/37436/ db = ('sqlite://storage.db') should be db = SQLDB('sqlite://storage.db') > > And this is the error: > http://dpaste.com/37439/ > > Do someone know the problem? > --~--~---

[web2py:20451] Re: AttributeError in Model

2009-04-24 Thread DenesL
db = ('sqlite://storage.db') should be db = SQLDB('sqlite://storage.db') --~--~-~--~~~---~--~~ 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@googlegroups.com To

[web2py:20452] Re: What does request.vars and session mean?

2009-04-24 Thread Yannick
Oups sorry if i did understand your original question... I still don't see what it is that you don't understand... The view doesn't display ?? Yannick P. On Apr 24, 11:45 am, Pynthon Pynthon wrote: > Thanks, I understand that already but when I only do: > if form.accepts(): > > Then I can't go

[web2py:20453] Re: Pretty book printing

2009-04-24 Thread waTR
Umm... copyright? You need to check if you have the right to print the PDF... often that is not permitted by the author due to their contract with a publisher... On Apr 24, 8:46 am, JohnMc wrote: > Angelo, > > Put it on a USB memory stick and take it to a professional copy shop. > If they have

[web2py:20454] Re: if..else not working

2009-04-24 Thread jmvermeer
Pynthon, Indeed, a bit off-topic, but you're right, I'm Dutch too. Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To

[web2py:20455] Re: unique constraint violation

2009-04-24 Thread jmvermeer
Massimo, Indeed, it is a DB error. It had something to do with the Sequences in PostgreSQL. Annet. --~--~-~--~~~---~--~~ 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:20456] Re: How to use the CRUD functions?

2009-04-24 Thread Gary
OK. So I've studied a little more and tried some stuff like a custom form, which loses the ability to enforce restrictions and read the source code, which is beyond my newbie comprehension and downloaded Wing IDE to step through the code hoping that it would be easier to understand what's happeni

[web2py:20457] Re: Pretty book printing

2009-04-24 Thread bsnipes
On Apr 24, 6:17 am, Angelo Compagnucci wrote: > Hi list and hi Massimo, > I bought the pdf book version, is there a way to pretty print the book > without crop markers?? > One way to do this is to use Inkscape and pdftk. Open Inkscape and change the page type to Letter. Draw a rectangle the size

[web2py:20460] Re: What does request.vars and session mean?

2009-04-24 Thread Pynthon
Hahaha, sorry for my bad English. The if form.accepts(request.vars): means if the sended information passed the validation right? But what does the session mean? I know what sessions are but why here? Thanks On Apr 24, 7:30 pm, Yannick wrote: > Oups sorry if i did understand your original quest

[web2py:20461] Validators

2009-04-24 Thread Pynthon
Hello Sorry for all the questions :$. I've got this validator: data.comment.image.id.requires = IS_IN_DB(db, db.image.id, '%(title) s') It says it needs to be in the db. What what does (db, db.image.id, '% (title)s') mean? And: IS_NOT_IN_DB(db, db.image.title). That means that the value of imag

[web2py:20459] Re: SQLFORM

2009-04-24 Thread jmvermeer
Denes, > About the asterisks in col3, you have to use your form's field names > as in: > col3=dict(initialen='*', naam='*', ...) > form[0][-1][1].append(INPUT(_type='reset',_value='Reset')) > form[0][-1][1].append(INPUT(_type='button',_value='Cancel')) This all works. The form[0][-1][1] code is

[web2py:20458] Re: AttributeError in Model

2009-04-24 Thread Pynthon
Thanks! Works like a charm right now! On Apr 24, 7:20 pm, DenesL wrote: > db = ('sqlite://storage.db') > > should be > > db = SQLDB('sqlite://storage.db') --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web

[web2py:20462] Re: Using local CAS provider with app in the same web2py instance

2009-04-24 Thread mdipierro
In one of the model files you need to setup HOST, this is something like "http://hostname:port"; as visible by your authentication provider. web2py does not always gets it right because may be running behind a proxy. Massimo On Apr 23, 5:49 pm, dvid wrote: > I added the CAS service provider as

[web2py:20463] Re: ENUM field

2009-04-24 Thread mdipierro
I am not really fond of them. If you want to try for sun you can look at the code linked from here http://www.web2py.com/AlterEgo/default/show/189 On Apr 24, 1:39 am, Álvaro Justen [Turicas] wrote: > On Wed, Apr 22, 2009 at 11:47 AM, mdipierro wrote: > > It is our philosophy that web2py DAL sh

[web2py:20464] Re: routes.py improvement

2009-04-24 Thread mdipierro
No. This code is dangerous because does not always work. It only work for simple mappings that do not use regex and domainname. On Apr 24, 1:51 am, Álvaro Justen [Turicas] wrote: > On Fri, Apr 10, 2009 at 10:28 AM, mdipierro wrote: > > Good point! I can add this. > > > Massimo > > > On Apr 10,

[web2py:20465] Re: Tip of the day: impersonation

2009-04-24 Thread mdipierro
I am doing this in trunk and actually I am allowing A to impersonate B (if A has permission) which can impersonates C (if B has permission) etc etc recursively. Needs a little bit more work and testing. Massimo On Apr 24, 9:19 am, Yarko Tymciurak wrote: > management function for an application.

[web2py:20466] Re: Many to many implementation performance, integrity - for production site?

2009-04-24 Thread mdipierro
This solution is ok if you do not have too many (<1000) records that can be referenced. It has no problems with referential integrity in the sense a record A may reference a record |5| that does not exist but it does not break the system, it does not show and the broken reference is eliminated aut

[web2py:20467] Re: debuggers for ajax in web2py

2009-04-24 Thread mdipierro
In this line $.ajax({type: "POST", url: u, data: query, success: function(msg) what is u? On Apr 24, 1:11 am, Nazgi wrote: > Hi, > > I'm new to web2py. Can some1 tell me how to debug javascript > code in web2py? I've written the following code and am not able to > debug it...can som

[web2py:20468] Re: problem with datetime type (misleading msg "SyntaxError: invalid table name")

2009-04-24 Thread mdipierro
timestamp is a reserved keywork in SQL and cannot be used as a field name. On Apr 24, 9:53 am, Wes James wrote: > On Fri, Apr 24, 2009 at 7:39 AM, Jurgis Pralgauskis > > wrote: > > > hello, > > > > > > > and don't get the error, if I do > > > db.define_table("items", > > SQLField("progwww

[web2py:20469] Re: cache.ram with mod_wsgi/apache does not work?

2009-04-24 Thread mdipierro
would you write an AlterEgo entry about this? On Apr 24, 11:48 am, Mark Larsen wrote: > > Is it because of the multiple apache processes? > > OK, I answered my own question, setting apache/mod_wsgi to 1 process > fixes this. In fact it's mentioned (subtly) in Example 39 > at:http://www.web2py.

[web2py:20470] Re: How to use the CRUD functions?

2009-04-24 Thread mdipierro
On Apr 24, 1:27 pm, Gary wrote: > OK. So I've studied a little more and tried some stuff like a custom > form, which loses the ability to enforce restrictions and read the > source code, which is beyond my newbie comprehension and downloaded > Wing IDE to step through the code hoping that it w

[web2py:20471] Documentation

2009-04-24 Thread JohnMc
I note that I am not the only newbie on the group. And not the only one struggling with some of the finer points of web2py. (I have the book, its great for starters.) Thing is as I watch the discussion the docs for most of the details are out there. Is there some kind soul that could do a table o

[web2py:20472] Re: SQLFORM

2009-04-24 Thread mdipierro
Mind that you can also access TAGs by attribute form.element(_id='someid').append(.) Massimo On Apr 24, 1:59 pm, jmverm...@xs4all.nl wrote: > Denes, > > > About the asterisks in col3, you have to use your form's field names > > as in: > > col3=dict(initialen='*', naam='*', ...) > > form[0][

[web2py:20473] SQLFORM.accepts() method

2009-04-24 Thread ae88...@gmail.com
If I create an object of type SQLFORM specifying the 'record' keyword and then call sqlform.accepts(...), accepts seems to update the database correctly, but it doesn't seem to update it's own data. When I redisplay the sqlform after a successful .accepts() call, the resulting form contains the o

[web2py:20474] Re: What does request.vars and session mean?

2009-04-24 Thread mdipierro
It is optional. If it is there is associate a unique ID to each form to prevent double form submission. Massimo On Apr 24, 2:02 pm, Pynthon wrote: > Hahaha, sorry for my bad English. The if form.accepts(request.vars): > means if the sended information passed the validation right? But what > doe

[web2py:20475] Re: Validators

2009-04-24 Thread mdipierro
db.table.field.requires = IS_NOT_IN_DB(db, db.othertable.otherfield) means each table.field value has to be unique db.table.field.requires = IS_IN_DB(db, db.othertable.otherfield, '% (othefield2)s') means that table field stores a db.othertable.otherfield that must be in the DB but dropboxes sh

[web2py:20476] Re: SQLFORM.accepts() method

2009-04-24 Thread mdipierro
By default it displays the default values for the field unless form.accepts(...,keepvalues=true) Massimo On Apr 24, 3:12 pm, "ae88...@gmail.com" wrote: > If I create an object of type SQLFORM specifying the 'record' keyword > and then call sqlform.accepts(...), accepts seems to update the > da

[web2py:20477] Re: problem with datetime type (misleading msg "SyntaxError: invalid table name")

2009-04-24 Thread Jurgis Pralgauskis
ok, thanks, seems it was double error :) by the way > timestamp is a reserved keywork in SQL and cannot be used as a field > name. it would be good for folks in my situation to see similar exeption :) by the way, how I assign now() as default value in datetime type? didn't find this in examples

[web2py:20478] Re: Tip of the day: impersonation

2009-04-24 Thread Yarko Tymciurak
as Massimo shows here, the kind of thing this does is implement a heirarchy of permissions - allowing one with more permission to (attempt) to operate at a lower level (certainly a different level). In general, this is a useful facility for an application writer to have at their disposal to use in

[web2py:20479] Re: How to use the CRUD functions?

2009-04-24 Thread Gary
Massimo, I'm not sure what you are referring to by 'said that'. I'm just confused. Could you please review the entire thread and see if you could help? Thanks so much, Gary On Apr 24, 4:10 pm, mdipierro wrote: > On Apr 24, 1:27 pm, Gary wrote: > > > OK.  So I've studied a little more and t

[web2py:20480] Re: problem with datetime type (misleading msg "SyntaxError: invalid table name")

2009-04-24 Thread Yarko Tymciurak
On Fri, Apr 24, 2009 at 4:18 PM, Jurgis Pralgauskis < jurgis.pralgaus...@gmail.com> wrote: > > ok, thanks, seems it was double error :) > by the way > > > timestamp is a reserved keywork in SQL and cannot be used as a field > > name. > > it would be good for folks in my situation to see similar ex

[web2py:20481] Re: routes.py improvement

2009-04-24 Thread Álvaro Justen [Turicas]
On Fri, Apr 24, 2009 at 4:57 PM, mdipierro wrote: > No. This code is dangerous because does not always work. It only work > for simple mappings that do not use regex and domainname. I was talking about get full URL in request... Even if I have a rewrite, I want to know what URL user requested:

[web2py:20482] Re: Documentation

2009-04-24 Thread waTR
I think if you are willing to collect a few articles/posts and submit them, someone will be willing to organize them into a table of contents. Not sure how fair it is to ask a bunch of volunteers to do something like this all by themselves. On Apr 24, 1:11 pm, JohnMc wrote: > I note that I am

[web2py:20483] Re: SQLFORM

2009-04-24 Thread jmvermeer
Denes, > About the asterisks in col3, you have to use your form's field names > as in: > col3=dict(initialen='*', naam='*', ...) > form[0][-1][1].append(INPUT(_type='reset',_value='Reset')) > form[0][-1][1].append(INPUT(_type='button',_value='Cancel')) This all works. The form[0][-1][1] code is

[web2py:20484] Auth works on local host, doesn't work on remote server

2009-04-24 Thread Alexei Vinidiktov
Hello, I'm beginning to learn user authentication. I've implemented a very basic authentication using the Auth module that works fine on my local machine: I can register a user, a confirmation email is sent out, the user can confirm his email, login and logout. I copied the app to a remote serve

[web2py:20485] Re: SQLFORM

2009-04-24 Thread Yarko Tymciurak
On Sat, Apr 25, 2009 at 1:24 AM, wrote: > > Denes, > *snip!* > > > > See this recent thread: > http://groups.google.com/group/web2py/browse_thread/thread/ec7d941c8d... > > This link appears to be broken ... Your link is; Denes's works; search the group with this: feature request Jason smtp