[web2py:18484] Re: How to hide the console window?

2009-03-23 Thread Iceberg
had installed a windows > distribution of Python before I had web2py, and I the installation > process set this up. > > The extra 'w' on the Python file extension means 'don't open a console > window' > > Chris > > On Mar 22, 3:52 pm, Iceberg wro

[web2py:18474] Detect already running web2py

2009-03-22 Thread Iceberg
7;http://%s:%s'% (detectAddr, bindPort)).read() except IOError: pass # the bindAddr and bindPort is vacant else: sys.exit('%s:%s is occupied'%(detectAddr,bindPort)) .. # Go on to start web2py main process This code can let novice make fewer mistakes. Regards, Iceberg --~--~-

[web2py:18457] Re: How to hide the console window?

2009-03-22 Thread Iceberg
Tried but that does not help. :-P We need something similar to the effect of hstart.exe's: hstart /NOCONSOLE "web2py.exe -i 0.0.0.0 -a """" -t" On Mar22, 11:06pm, mdipierro wrote: > try > > web2py -a blah -p 8000 > > Not sure. > > On

[web2py:18447] Re: How to hide the console window?

2009-03-22 Thread Iceberg
eat and really helps, but users need to get permission for that at first. On Mar22, 12:13pm, Boris Manojlovic wrote: > Hi Iceberg, > > please try hstart program as it is created just for "problems" like > yours.http://www.ntwind.com/software/utilities/hstart.html > > hop

[web2py:18440] How to hide the console window?

2009-03-21 Thread Iceberg
s.org/showthread.php?t=728170 But I don't know how things go in current web2py world. Can we just have a web2py.exe as current situation, and one more web2pyw.exe that does not have a console window? Thanks for any hint. Regards, Iceberg --~--~-~--~~~---~--~~ Yo

[web2py:18344] Possible bug: cron doesn't work when deploy in a directory name with space inside

2009-03-19 Thread Iceberg
nsole: WARNING:root:WEB2PY CRON Call returned code 1: If I deploy it in C:\SOLID\web2py, everything runs smooth. So there might be some dir issue in cron's launcher. Please take a look. Thanks in advance! Regards, Iceberg --~--~-~--~~~---~--~~ You received this message becau

[web2py:17795] Bug: web2py 's compile does not generate enough myapp/modules/*.pyc

2009-03-10 Thread Iceberg
I found that web2py 's compile does not generate enough myapp/modules/ *.pyc This happens when there is only *.py but none of *.pyc in myapp/ modules. The compile just ignores those *.py at all. A forced import on each of *.py file in this directory should be the way to fix it. --~--~-

[web2py:17794] Re: SQLFORM.accepts(): onaccept,oncreate,onupdate

2009-03-10 Thread Iceberg
On Mar7, 7:40pm, Iceberg wrote: > On Jan10, 11:53pm, mdipierro wrote: > > > @Robin, > > > I propose I change and I already implemented in in trunk. > > > def f(form): > >      if form.vars.a!=form.vars.b: > >         form.errors.a='must be same as

[web2py:17747] Re: web2py 1.58 ?

2009-03-09 Thread Iceberg
On Mar9, 3:38am, mdipierro wrote: > I am planning to release 1.58 on Tuesday. I am waiting for > confirmation that we have DB2 support. > > Is there anything else that should be in and I have forgotten about? > If so, please email em personally. > > Massimo Just curious. You said in some post th

[web2py:17744] Re: Can hardcron work without being triggered by a request?

2009-03-09 Thread Iceberg
On Mar9, 7:17pm, AchipA wrote: > On Mar 9, 8:22 am, Iceberg wrote: > > > 1. In the crontab file, usually we write > >     #0-59/1     *       *       *       *       root > > /path/to/some/executable_file > > But I found that, on Windows platform, "/" ar

[web2py:17719] Re: Can hardcron work without being triggered by a request?

2009-03-09 Thread Iceberg
Hi Achipa, While waiting for the ultimate patch for hardcron, I manage to give the current web2py 1.56.4 's cron some other test. Some found issues are listed below. They are not necessarily to be fixed, but if you can somehow improve them, that is better. 1. In the crontab file, usually we writ

[web2py:17668] Re: What's the plan for supporting multi-level menus with response.menu?

2009-03-08 Thread Iceberg
com/menu2/invitro.htm > > Massimo > > On Mar 8, 11:33 am, Iceberg wrote: > > > I would have agree with Massimo about "not to include too many this > > and that in the base distribution". But, when talking about the menu, > > I beg a reconsideration. --~--

[web2py:17657] Re: What's the plan for supporting multi-level menus with response.menu?

2009-03-08 Thread Iceberg
> > On Mar 8, 1:09 am, weheh wrote: > > > > I've read that this is possible with t2, but how about 1.57? I've > > tried it with 1.57 and it doesn't seem to work. Any suggestions for > > how to do nested multi-level menus with the current version? On Mar8, 11:38pm, mdipierro wrote: > The problem

[web2py:17623] Re: SQLFORM.accepts(): onaccept,oncreate,onupdate

2009-03-07 Thread Iceberg
On Jan10, 11:53pm, mdipierro wrote: > @Robin, > > I propose I change and I already implemented in in trunk. > > def f(form): > if form.vars.a!=form.vars.b: > form.errors.a='must be same as b' > form.errors.b='must be same as a' > > if form.accepts(,onvalidation=lambda for

[web2py:17574] The missing update_record() in DAL document

2009-03-05 Thread Iceberg
Hi Massimo, In old web2py versions, developers can update a single record by: # Suppose you have already inserted a record and then search it into a variable "me". >>> me.update_record(name="Max") >>> me.name 'Max' The feature still exists in latest web2py 1.57 but missing descriptions in DAL d

[web2py:17573] Re: How to know contents in request, response, etc

2009-03-05 Thread Iceberg
One more tips for new comers. You can find an example named "status" in here: http://mdp.cti.depaul.edu/examples/default/examples or just here: http://mdp.cti.depaul.edu/examples/simple_examples/status to know every available resources in request or response. Btw, by default recent versions o

[web2py:17481] Re: Scaffold application - day two

2009-03-04 Thread Iceberg
On Mar4, 9:45pm, mdipierro wrote: > On Mar 4, 6:45 am, Iceberg wrote: > > > The last problem is that out-of-box scaffold20090301b.tar on web2py > > 1.56.4 always reports: > >   TypeError: unsupported operand type(s) for %: 'lazyT' and 'dict' >

[web2py:17469] Re: Scaffold application - day two

2009-03-04 Thread Iceberg
On Mar2, 4:41am, Alexandre Andrade wrote: > Today I was fixed css and really put authentication to work. > > So, at this point, scaffold has: > > - a five spaces layout (logo, section menu, left column, center column, > right column and footer. > - a working authentication > - a secundary menu s

[web2py:17410] Re: web2py 1.57

2009-03-03 Thread Iceberg
On Mar3, 10:36pm, mdipierro wrote: > > On Mar 2, 8:33 pm, Iceberg wrote: > > > On Mar2, 12:22pm, mdipierro wrote: > > > > Lots of small bug fixes in the last week so I posted 1.57. Please give > > > it  a try and let me know. > > > > New featur

[web2py:17366] Re: web2py 1.57

2009-03-02 Thread Iceberg
On Mar2, 12:22pm, mdipierro wrote: > Lots of small bug fixes in the last week so I posted 1.57. Please give > it  a try and let me know. > > New features include: > 1) admin edit page via ajax and keepalive (thank you Boris) > 2) language translation page has [delete] buttons > 3) fixed (hopefull

[web2py:17297] Re: Can hardcron work without being triggered by a request?

2009-03-01 Thread Iceberg
On Feb26, 9:27pm, AchipA wrote: > > On Feb 26, 1:44 pm, Iceberg wrote: > > > On Feb26, 7:35pm, AchipA wrote: > > > > On Feb 26, 5:23 am, Iceberg wrote: > > > > > When I import > > > > this module and change it (indirectly), I still do n

[web2py:16968] Re: Can hardcron work without being triggered by a request?

2009-02-26 Thread Iceberg
On Feb26, 7:35pm, AchipA wrote: > On Feb 26, 5:23 am, Iceberg wrote: > > > I don't really understand how cron patch works but, since the global > > crontype equals to "Soft" by default, is there some reason causing the > > win distrib to detect it

[web2py:16951] Re: Can hardcron work without being triggered by a request?

2009-02-25 Thread Iceberg
off puzzled myself. I can confirm that the windows distrib runs > softcron, BUT, running it from the command line, from sources, DOES > result in default hardcron. I'm not sure what the difference is > between the distribution and source 'modes' are but apparently the two >

[web2py:16838] Re: Critical point in web2py

2009-02-24 Thread Iceberg
+1 for improving documents, of course. I am not sure what Achipa means about changelog, but I believe the developer of a new feature is the most appropriate person to write some description about: 1. what is it; 2. how to use it? 3. background info (if any) I am afraid that changelog can no

[web2py:16829] Re: Can hardcron work without being triggered by a request?

2009-02-23 Thread Iceberg
On Feb23, 0:19am, Iceberg wrote: > On Feb22, 8:37pm, AchipA wrote: > > I think I know what's causing the issue, try the following as your > > web2py.py instead of the original one: > > > #!/usr/bin/python > > # -*- coding: utf-8 -*- > > > import os

[web2py:16691] Re: Can hardcron work without being triggered by a request?

2009-02-22 Thread Iceberg
On Feb22, 8:37pm, AchipA wrote: > I think I know what's causing the issue, try the following as your > web2py.py instead of the original one: > > #!/usr/bin/python > # -*- coding: utf-8 -*- > > import os > import sys > > path = os.path.dirname(os.path.abspath(__file__)) > if not path in sys.path:

[web2py:16685] Re: Can hardcron work without being triggered by a request?

2009-02-21 Thread Iceberg
On Feb22, 7:53am, AchipA wrote: > On Feb 21, 9:12 pm, David Marko wrote: > > > I would also appreciate some working example/appliance for using > > *cron. Its very usefull thing!!! > > web2py comes with an example (cleaning sessions), see applications/ > admin/cron ! Do you think additional exam

[web2py:16684] Re: Can hardcron work without being triggered by a request?

2009-02-21 Thread Iceberg
2PY CRON done INFO:root:WEB2PY CRON Call returned: default applications appear to be installed already web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2009 Version 1.56.2 (2009-02-08 21:49:34) Database drivers available: SQLite3, MySQL On Feb22, 7:53am, AchipA wrote: &

[web2py:16656] Can hardcron work without being triggered by a request?

2009-02-21 Thread Iceberg
erved, does not guarantee execution precision". Did I miss something? Thanks in advance. Iceberg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group,

[web2py:16497] can web2py_win.zip 's DAL run with mssql?

2009-02-18 Thread Iceberg
kage targets to this world too. Besides, pyodbc claims that it supports "almost any database", and it uses MIT license. Comments are appreciated. Iceberg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "w

[web2py:16167] Re: cron patch

2009-02-11 Thread Iceberg
Hi gentlemens, web2py 1.56 with Achipa's cron patch is great. I just do a: copy applications/admin/cron applications/myapp/cron and then modify the applications/myapp/cron/crontab, replace the "admin" by "myapp", then the long time puzzle "old sessions" ( see http://groups.google.com/group/web2

[web2py:16160] Re: Abusing model files for common functionality

2009-02-10 Thread Iceberg
Thanks for all the meaningful discussion here. I did learn something. When talking about generating the menu, perhaps you will like my trick here. http://groups.google.com/group/web2py/browse_thread/thread/4988b16cb2787b57 You might already notice that, if your application have only one cont

[web2py:15798] Re: How to rollback a transaction

2009-02-02 Thread Iceberg
Hi Massimo, A further question for this topic. I remember one of the old topic in this forum group mentioned that, in every action we do not need an explicit db.commit() because web2py automatically does it when no exception is raised during the action. So I wonder whether web2py automatically

[web2py:15613] Re: db operations seems slow in a web2py on GAE

2009-01-30 Thread Iceberg
will be added to GQLDB eventually. > > Either way, to prepopulate a db on GAE, you have to do it over a > series of requests, because each request can only be 10 seconds max. > See bulk uploader:http://code.google.com/appengine/articles/bulkload.html > > Robin > > On Jan 2

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

2009-01-29 Thread Iceberg
Familiar discussion to me because I raised same topic before. :-) Glad to see LEGEND is in, it is not too late for me to quit the habbit of TAG.LEGEND. :-P Seriously speaking, I still suggest to make TAG. more noticeable (e.g. the first one in HTML helper section) in the builtin document as

[web2py:15504] db operations seems slow in a web2py on GAE

2009-01-27 Thread Iceberg
umors, such as: http://highscalability.com/google-appengine-second-look But I still can't believe the performance is as bad as what I mentioned above. Did I miss something? Do you guys encounter same problem when playing with GAE? Does your application successfully

[web2py:15057] Recipe: how to define "auto" menus in web2py app

2009-01-17 Thread Iceberg
Hi folks, After some refinement, I use this way to define menus in my default.py # At the beginning of my default.py response.automenu=[ # Such as [('func_name1','menu_name1',absolute_url1), ...] ('tutor0','Tutorial 0',URL(r=request,f='tutor0')), ('tutor1','Tutorial 1',UR

[web2py:15056] Hierachical menu in T2

2009-01-17 Thread Iceberg
Hi there, T2 is supposed to support hierachical menu. But I am not familiar enough to make it run perfectly. What I did: 1. download T3 package and only use it as a T2 2. In my db.py of my application I do: from applications.t3.modules.t2 import T2 t2=T2(request,response,session,cache,T,db)

[web2py:14715] Re: web2py 1.55 is out

2009-01-08 Thread Iceberg
ons. Besides, it would be nice if the following pattern will also be supported. {{=datetime.date(2009,1,8) # this trailing comment also causes error}} I guess this problem is caused by the new template engine. (Don't get me wrong, 6 times faster is awesome. ^_^) Iceberg --~--~-~--

[web2py:14703] Re: web2py.exe can not start as windows service

2009-01-07 Thread Iceberg
--- Original Message --- From:mdipierro > On Jan 5, 9:02 pm, Iceberg wrote: > > On Jan6, 5:26am, Fran wrote: > > > it's all working for me now with latest > > > src & your new winservice.py :) > > > Al

[web2py:14608] Re: web2py.exe can not start as windows service

2009-01-05 Thread Iceberg
--- Original Message --- Date:Mon, 5 Jan 2009 20:46:37 -0800 (PST) Subject: [web2py:14607] Re: web2py.exe can not start as windows service --- > I do not know what this means. Meanwhile I have incorporated Tim's > patch into > > http://

[web2py:14599] Re: web2py.exe can not start as windows service

2009-01-05 Thread Iceberg
382f8fcb7de0534/b7947df750e2a8de?lnk=gst&q=windows+service#b7947df750e2a8de "pythoncom will register a class, so if you use web2py.exe, it may cannot get the class file and run. . how to make a zipped python exe file into a windows service " Seems that is the proble

[web2py:14573] Re: web2py.exe can not start as windows service

2009-01-05 Thread Iceberg
rting as a service is only possible for a source distribution. So I think Fran's problem would be a little easier than mine. :-S Thanks for your concern. Iceberg On Jan5, 10:53pm, Timothy Farrell wrote: > Sorry guys.  I generally only watch the list at work.  Being it a holiday, > I

[web2py:14570] Issues about itemize() and search() in T2, mainly about pagination

2009-01-05 Thread Iceberg
hat it does not need i18n at all! nav=[TR(TD( # Iceberg at 21cn dot com prefers this style of page navigation :-) INPUT(_type='button',_value='| <',_onclick='javascript:location="%s"'%self.action (args=request.args,vars={'_page&#

[web2py:14558] How to custom form validation in T2?

2009-01-04 Thread Iceberg
eturn {'Oops':A('Try again',_href=URL(r=request,f='create'))} return {'Create':t2.create(db.config)} Thanks in advance. Iceberg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

[web2py:14555] Re: web2py.exe can not start as windows service

2009-01-04 Thread Iceberg
On Jan5, 4:22am, Fran wrote: > On Jan 4, 4:53 pm, mdipierro wrote: > > > could you try > > import gluon.winservice > > Yes, that works :) > Both 1.54 bin & 1.55rc4 src > > F Excuse me, but what do you mean "that works"? In my 1.55rc4 bin, I got: C:\DOWNLOAD\web2py>web2py -S welcome ... Versio

[web2py:14510] Using threads to do re-occuring jobs

2009-01-04 Thread Iceberg
tial nudge to trigger all the magic __trigger() return 'started' def usual_action(): # Just to show that normal requests are served as usual return {'foo':'bar'} Sincerely, Iceberg, 2009-Jan-04, 20:54(PM), Sun --~--~-~--~~~

[web2py:14456] web2py.exe can not start as windows service

2009-01-03 Thread Iceberg
/browse_thread/thread/8382f8fcb7de0534/b7947df750e2a8de?lnk=gst&q=windows+service#b7947df750e2a8de I am writing to ask whether situation changes since then. Too bad that web2py.exe can not be deployed on a customer's PC with windows XP but without python. :-S Thanks in advance

[web2py:14431] Helper for Custom Forms, inside controller

2009-01-02 Thread Iceberg
TE): return INPUT(_class='date',_type='text', _name=field.name,_id=field.name,_value=value,requires=field.requires,**kwargs) if field.type=='double': return INPUT(_class='double',_type='text', _name=field.name,_id=field.name,_value=value,requi

[web2py:14200] Re[2]: Bug in nesting cache?

2008-12-28 Thread Iceberg
gards, Iceberg, 2008-Dec-29, 01:29(AM), Mon --- Original Message --- From:Massimo Di Pierro To: Iceberg Date:Sun, 28 Dec 2008 10:52:43 -0600 Subject: Re: Bug in nesting cache? --- > ok &

[web2py:14128] Bug in nesting cache?

2008-12-26 Thread Iceberg
he_model=cache.ram) def annualStat(): teams=getAllRawData() result=doSomeComplexCalculationBasedOn( teams ) # I hope to cache the result of this too. return result Eliminate the nesting cache usage may be an option, but it will be more intuitive if I do not have to do so. Can web2py support nesting cache style? Than

[web2py:13885] Re: Suggestion about using IS_IN_SET to deal with order-less set

2008-12-19 Thread Iceberg
I know you are a reasonable man. :-) Thanks! On Dec20, 2:02am, mdipierro wrote: > Sorry I misunderstood. No objection. I will put it in. Thanks. > > Massimo > > On Dec 19, 11:59 am, Iceberg wrote: > > > Thanks for the quick feedback, but I don't understand. The h

[web2py:13882] Re: Suggestion about using IS_IN_SET to deal with order-less set

2008-12-19 Thread Iceberg
hough the doc said it can). We shall not keep the bug for backward compatibility, shall we? On Dec20, 1:26am, mdipierro wrote: > sorry. it breaks backward compatibility. > > Massimo > > On Dec 19, 4:53 am, Iceberg wrote: > > > Hi Massimo, > > > According to doc

[web2py:13881] Re: Edit multiple records at once

2008-12-19 Thread Iceberg
On Dec20, 12:05am, fja wrote: > Hello, is there a way to edit multiple records at once in a form? > > Say you have a table > > StudentName (string) > Term1 (string) > Term2 (string) > > I would like to have a form similar to this. > > Student Name         Grade Term 1       Grade Term2 > Roger  

[web2py:13858] Suggestion about using IS_IN_SET to deal with order-less set

2008-12-19 Thread Iceberg
;Come on, Sushi sucks!', 'unknown': 'What is Sushi?' } )) # In case you want to ask, why a hack inside validators.py is the only way to do this? I tried to define a subclass of IS_IN_SET in my own model.py, it almost works, but fails when a record is going to be sa

[web2py:13850] Re: Request for "Legend"

2008-12-18 Thread Iceberg
the end of the section under > "Custom Helpers". > > On Thu, Dec 18, 2008 at 8:38 PM, Iceberg wrote: > > > It seems LEGEND does not qualify for either of the excluding criteria > > mentioned by Massimo. So I think it should be in. > > > Denesl's soluti

[web2py:13841] Re: Request for "Legend"

2008-12-18 Thread Iceberg
; > specification. > > > -Marko > > > On 17 joulu, 17:42, DenesL wrote: > > > > You can create it using the TAG helper. > > > > t=TAG.LEGEND('a','b',_c='d') > > > t.xml() produces > > > 'ab'

[web2py:13734] Request for "Legend"

2008-12-17 Thread Iceberg
Hi Massimo, Why there is a definition of FIELDSET in html.py, but there is not a LEGEND? They usually show up together. Would you please append this in next version of web2py? class LEGEND(DIV): tag='legend' Regards, Iceberg --~--~-~--~~~---~--~~ Yo

[web2py:13542] Re: Not-so-intuitive behavior when search in boolean field

2008-12-14 Thread Iceberg
f you do not rely on this if it is part of > a logical expression. > > For your specific example that would mean something along the lines of > db.( ~ (db.Orders.special==True)) > > If I'm cardinally wrong, please correct me. > > On Dec 12, 12:59 pm, Iceberg wrote: > &

[web2py:13449] Not-so-intuitive behavior when search in boolean field

2008-12-12 Thread Iceberg
elect all non-True records? Is this an intended design, or a unexpected flaw? Thanks in advance. Iceberg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group,

[web2py:13173] Re: SCRIPT() helper

2008-12-09 Thread Iceberg
Can web2py's XML(...) help you? On Dec 8, 11:24 pm, achipa <[EMAIL PROTECTED]> wrote: > I just noticed that by default it escapes some chars that it probably > shouldn't - for example 'if x < y' becomes 'if x < y'. You can of > course work around this, but is probably not what most users would >

[web2py:12861] Re: web2py 1.52 posted

2008-12-03 Thread Iceberg
On Dec 3, 6:29 am, mdipierro <[EMAIL PROTECTED]> wrote: > please check it out. Very minor changes. The major change is caching > of bytecode on GAE. Is there any latest whatsnew.txt or changes.txt which comes with every version of new web2py? I could not find any in web2py_win.zip neither web2py_

[web2py:12840] Re: What is "input.delete" for?

2008-12-02 Thread Iceberg
's default db record delete function. But I suggest a more generic scenario: how about a radio button that can be "un- choose"? Though I know how to do that manually, I am still glad to see it becomes "battery included" of web2py, say, a "input.deletable" clas

[web2py:12783] What is "input.delete" for?

2008-12-01 Thread Iceberg
radio button with "_class='delete'", then click it again and again, but nothing special happened. Besides, I guess there should not be an excalmatory mark in front of the "confirm(...)". But I can not test it anyway. Yours, Iceberg --~--~-~--~~~---

[web2py:12664] Re: Log rotation

2008-11-30 Thread Iceberg
Thanks in advance. Regards, Iceberg On Oct1, 9:26pm, voltron <[EMAIL PROTECTED]> wrote: > You are right Achipa :-) I was thinking of something crossplatform. > And this would rotate the log files created by web2py? Ill try it out > > Thanks! > > On Oct 1, 2:55 pm, achipa <

[web2py:12624] Is there a best way to do doctest for models?

2008-11-29 Thread Iceberg
anks in advance. Regards, Iceberg --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email

[web2py:11942] Bugfix and improvement for CAS

2008-11-16 Thread Iceberg
EMAIL_USER="[EMAIL PROTECTED]" EMAIL_PASS="blah" then later: server = smtplib.SMTP(EMAIL_SERVER) server.login(EMAIL_USER,EMAIL_PASS) # Add this line server.sendmail(fromaddr, toaddrs, msg) Sincerely, I

[web2py:11100] Re: A little modification to generic.html

2008-11-04 Thread Iceberg
all_is_ok: # instead of return dict(msg="ok", partA=dataA, partB=dataB), now I do: return dict(DIV(partA,partB)) else: # instead of return dict(msg="oops", partA=dummyA, partB=dummyB), now I do: return dict(whatever="oops") On Nov4, 21:57, Iceberg <[EM

[web2py:11068] A little modification to generic.html

2008-11-04 Thread Iceberg
Hi Massimo and all pals, This post is about a tiny trick. Hopefully you will like it and include it in the next version of web2py. I used to do this in controller: def foo(): # do something return dict(partA=some_words_in_a_table, partB=major_part_as_a_form) so I need to write a foolish fo

[web2py:10764] Re: Can SQLFORM accept TABLE() as its first parameter?

2008-10-28 Thread Iceberg
) > > or you can use a factory (to pretend you have a database table > > from gluon.sqlhtml import form_factory > form=form_factory(SQLField('name','string',requires=IS_NOT_EMPTY(),label='Y > our > Name'),SQLField('birth','date')) > &

[web2py:10726] Can SQLFORM accept TABLE() as its first parameter?

2008-10-28 Thread Iceberg
advance! Sincerely, Iceberg, 2008-Oct-29, 01:18(AM), Wed --~--~-~--~~~---~--~~ 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 uns

<    2   3   4   5   6   7