Field('issue_volume','integer'),
Field('artist','string'),
Field('feature','string'),
Field('description','text'),
Field('approved_by', db.auth_user, default=None),
timestamp,
format=l
I just downloaded 1.63.5 from web2py.com and could not find release/
change notes for this version in the README file or here. Maybe it
should be version 1.63.4 ?
Keep up the great work!
Hans
On 4 Jun., 06:03, mdipierro wrote:
> I just posted 1.63.4 because I patch in 1.63.3 had broken Pyt
I tried to define a global logging for a web2py app. The problem with
that is that if I place the following code in my default.py controller
or db.py model then in both cases its executed more than
once...resulting into having every log line written multiple times
into the log file.
either starti
upposed to also call the general controller stuff or
only directly the redirection target function ?
Thanks,
Hans
On Jun 4, 10:48 pm, mdipierro wrote:
> Odd I think your controller is being called 3 times. Is that possible?
> I would add a print statement to check.
>
> On Jun 4, 2:29 pm, H
r?
Thanks,
Hans
On Jun 5, 2:34 pm, Hans
wrote:
> yes confirmed, the controller is called multiple times. the reason I
> found is that the redirect() statements I use cause this. every
> redirect() seems to call the controller, not only the redirection
> target function.
>
> for
executed only once here
global done_once
done_once=true
because the variable done_once is undefined each time the controller
is executed again.
How can a code in the controller be executed only once?
Also completely different approach suggestions are welcome!
Thanks,
Hans
On Jun 5, 4:36
executed only once here
global done_once
done_once=true
because the variable done_once is undefined each time the controller
is executed again.
How can a code in the controller be executed only once?
Also completely different approach suggestions are welcome!
Thanks,
Hans
On Jun 5, 4:36
user.
Can you provide a link or example code for execution only once per
application (e.g. initialization function) ?
On Jun 5, 10:19 pm, mdipierro wrote:
> can you store it into a session?
>
> On Jun 5, 2:11 pm, Hans
> wrote:
>
> > The problem I have with my code for generati
cache are working,
but I assume it could be a viable option.
what do you think?
On Jun 8, 2:43 pm, mdipierro wrote:
> You are right. Not in session. You can store an application wide var
> in cache but I would suggest using the db for this. Anyway, I will
> post an example.
>
> On
> logger.addHandler(handler)
> > > > return logger
> > > > logging=cache.ram('once',lambda:_init_log(),time_expire=)
>
> > > > Then, in any of your controller, you can just do the usual:
> > > > logging.warn('blah blah'
file through your application works as follows:
def show_log():
return get_log()
If required the GAE solution needs work.
A BIG thank you to Iceberg!
Feedback and usage is welcome ;-)
Hans
Here is the log.py model version I use to enable logging for web2py
apps.
import logging
def
Important note: do *not* 'import logging' in your controller if you
use log.py. its done for all your controllers already in the log.py
model and it would break the log.py magic.
On Jun 15, 7:46 pm, Hans
wrote:
> Log file usage in Web2py is now simpler than ever!
> You wan
db.table.truncate() on a table with migrate=False produces a error. Is
that only allowed on table with migrate on?
Hans
Using web2py 1.64.1 with MySQL
Traceback (most recent call last):
File "F:\Documents and Settings\Hans\Desktop\web2py\", line
1, in
File "F:\Documents an
I'm glad that its useful also to you Richard.
Massimo, maybe you want to check if you want it in one of the next
versions.
On Jun 17, 2:23 am, Richard wrote:
> this looks useful - thanks!
>
> On Jun 16, 3:53 am, Hans
> wrote:
>
> > Important note: do *not* 'imp
ld be and due to that its more difficult
to maintain the code. See example below.
It would be great also for me if future wep2by versions do automatic
drop-down on combinations of IS_IN_DB and IS_NOT_IN_DB.
Hans
# vv the following construct replaces the broken dropdown
function of the 1
Richard,
the following solution works for me in production without any
problems. I use it for periodic, unattended functions (cron). I've
send Massimo the code in case he wants to include it into web2py or
make it available as optional add-on download.
Hans
'''
To use the
...
--~--~-~--~~~---~--~~
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 to
web2py+unsubscr...@googlegr
ing ?
app + data attached in the next reply.
Hans
--~--~-~--~~~---~--~~
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 f
here your web2py related code...
print 'code executed in Web2py %s' % request.env.web2py_version
except:
# put here your not Web2Py related code
print 'code NOT executed in Web2py environment'
#put here your general code
print 'this part is always e
more struggling with AJAX/scripting languages or browser
incompatibilities'
would go on my x-mas wish list to Santa Massimo ;-)
Hans
On 1 Jul., 19:13, mdipierro wrote:
> right now you can do
>
> requires=IS_IN_DB(...) # options or
> requires=[IS_IN_DB(...)] # no options
> both cases
great stuff massimo!!!
how can the size of the cells be adjusted? Basically I want wider
cells.
Thanks,
Hans
On Jul 3, 4:16 am, mdipierro wrote:
> Do you need to embed an ajax spreadsheet in you app. Now you have it:
>
> http://www.vimeo.com/5432441http://www.web2py.com/appliance
27;%(r,c)].xml())}}
> >
> > {{pass}}
> >
> > {{pass}}
> >
> >
> >
>
> >
> > function update_formula(t) {
> > if(t) {
> > jQuery('#selected_cell').html(jQuery(t).attr(&
it
> copies it in the cell and informs the sever. Doable in about 10 lines
> of code but a bit tricky. If you do it let me know.
>
> On Jul 4, 8:31 am, Hans
> wrote:
>
> > very nice!
>
> > how can a cell be made a drop down selection with values from db
the problem.
the folder ips does not exist on linux any more after the uninstall
via admin interface. also changing the name of the file ips.w2p does
not make a difference.
are (old) application names in web2py stored somewhere else too?
any other idea?
both systems are on web2py 1.65.1
dev
odd. tehcnically uploaded files go in web2py/deposit/ before being
> unpacked
>
> On Jul 9, 2:39 pm, Hans
> wrote:
>
> > This has low priority for me because of possible workaround below -
> > don't spend much time on this.
>
> > I use pack-all on a windows develop
on application %
(response.title)s requires your approval'
Does that make sense?
Thanks,
Hans
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email
quired. Please
approve user %s asap.' % form.email)
So the from me requested feature is there already and working well ;-)
Hans
On Jul 27, 2:25 am, mdipierro wrote:
> Yes but you can do already
>
> auth.settings.registration_requires_approval = False
> auth.settings.register_onaccept = lamb
pment WinXP+MySQL+WingIDE Professional
WingIDE Professional is fantastic. If you develop open source you can
get a free Professional license.
Hans
On Jul 29, 12:02 am, Fran wrote:
> On Jul 28, 10:52 pm, rb wrote:
>
> > I'm not crazy about having to modify code in
> > web2py.py in o
re a working
example of how to implement such a basic enterprise requirement in
web2py code.
Beyond that I would appreciate help on how a good code for a 3 column
unique key would be implemented (a good example would be shapename
+colorname+month below).
Thanks,
Hans
db=SQLDB('sqlite://test.db
ough. Is there a fix or workaround? like self submitting
form? example code would be greatly appreciated on both
1) how to make a form self submitting and
2) a even better solution to the t2.search() next/previous page
problem, if it exists
Thank you,
Hans
--~--~-~--~~~--
Is there a more practicable temporary workaround than changing the
development framework?
Can a form submit itself or something similar, how ?
Hans
On Mar 30, 8:14 pm, mdipierro wrote:
> Yes it is a bug. It will not be resolved too soon since first we need
> to merge t2.search with crud.
table instead?
code example below.
Hans
db.define_table('model_category',
SQLField('code','string',length=3,required=True,
requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB
(db,'model_category.code')],unique=True),
SQLField('text','stri
For me it looks like http://mdp.cti.depaul.edu/ and http://www.web2py.com
are down. http://depaul.edu/ is working.
Can someone confirm or is the problem on our network side ?
Hans
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
now for me its working again.
hans
On Apr 10, 7:17 pm, Boris Manojlovic
wrote:
> it really didn't worked today so it was not just you :)
>
> On Fri, Apr 10, 2009 at 7:16 PM, Álvaro Justen [Turicas] <
>
>
>
> alvarojus...@gmail.com> wrote:
>
> > On Fri,
7;None' if the field2 value is None
How can this be achieved?
Thanks,
Hans
db.table.id.represent = lambda value: A('%s' % (db
(db.table.id==value).select(db.table.field2)),_href=URL
(r=request,f='edit',args=value))
records=SQLTABLE(db(query).select(
db.table2.cod
,_href=URL
(r=request,f='create',args='None'))
On Apr 20, 4:23 pm, mdipierro wrote:
> I think you just need
>
> db.table.id.represent = lambda value: A(db.table
> [value].field2,_href=URL(r=request,f='edit',args=value))
>
> On 20 Apr, 08:55, Hans
es on
db.alias2.field2.represent, db.alias3.field2.represent and so on ?
On Apr 20, 7:10 pm, Hans
wrote:
> Thanks Massimo!
>
> The following code worked for me
>
> db.table.id.represent = lambda value: A(db
> (db.table.id==value).select(db.table.field2)[0].field2,_href=URL
Persons.P_Id=Orders.P_Id
Thanks,
Hans
--~--~-~--~~~---~--~~
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, sen
how do I get my_exporter() into csv? is there a web2py function which
can be called?
On Apr 21, 4:17 pm, mdipierro wrote:
> def my_exporter():
> return str(db(...).select(...))
>
> On 21 Apr, 08:52, Hans wrote:
>
> > I would like to make a controller function that
cally save it in a file you may
> want to add two lines:
>
> def my_exporter():
> response.headers['Content-Type']='text/x-csv'
> response.headers['Content-Disposition']='attachment;
> filename=yourpreferredfilename.csv" '
>
Thanks Fran for your good hint.
Unfortunately in my case I need different field.represents within one
select, that's why I use the aliases.
Looks like I need to alter the SQLTABLE columns content before passing
it on.
Hans
On Apr 20, 9:46 pm, Fran wrote:
> On Apr 20, 6:38 pm, mdipierr
We provide tailored IT-Solutions, Consulting and Services.
http://www.easytouch-edv.com
On Apr 27, 7:42 am, mdipierro wrote:
> I added the link.
>
> On 27 Apr, 00:37, SergeyPo wrote:
>
> > My company Zarealye develops personal loans data mining application
> > with web frontend, uses web2py. L
I'm experiencing a strange behavior within the code below. I tried to
split the problem in the smallest pieces which I'm able to debug. My
interpretation of the findings is that most likely I run into a web2py
internal variable length issue/limitation. Let me tell you why I think
that:
The tables
Update: I've found that its a mysql issue not a web2py one.
On Apr 28, 4:52 pm, Hans
wrote:
> I'm experiencing a strange behavior within the code below. I tried to
> split the problem in the smallest pieces which I'm able to debug. My
> interpretation of the findings i
ows_ips5)
],
orderby=db.model_master.code|db.subsidary.line),
headers=headers)
Here db.subsidary is not a comma join any more but a join with ON
clause - making it SQL 2003 compliant.
Hans
On Apr 29, 4:42 pm, Yarko Tymciurak wrote:
> I'd be interested to hear a l
So the limitation was my capability to write a SQL 2003 compliant
select statement ;-)
On Apr 29, 11:59 pm, Hans
wrote:
> Yarko,
>
> deep down in the reference manual of mysql 5.1 I've found the reason
> for the issue,http://dev.mysql.com/doc/refman/5.1/en/join.html.
>
>
I'm having a similar problem. Last time I solved it by deleting the
database and setting it up new. With more data it gets a pain. I read
about setting 'migrate=False' to avoid the issue. I could use that for
'own' tables, but I get the same error for tables created by the T2
plugin.
Like TheDude
how to apply this for T2 tables like t2_person?
would this workaround survive version updates of T2?
hans
On May 4, 4:23 pm, mdipierro wrote:
> This is complex. Currently the way to avoid the problem is to name
> the .table files via
>
> db.define_table('someth
h_ tables in a way that it survives framework updates?
Hans
On May 4, 4:54 pm, mdipierro wrote:
> T2 is dead. I will be no longer be supported. In fact much of the T2
> functionality is in gluon.tools
> T3 will survive but will be rebuilt on top of tools and events
>
> Massimo
>
&
le(migrate=False), this app will not work any more.
Same for app #3, #4, ... Those apps can also be non web2py apps which
automatically create non existing tables, like web2py does it by
default.
my 2 eurocents
Hans
I understand that throwing the default assumption 'the application
owns the
Massimo
>
> On May 5, 2:09 pm, Hans
> wrote:
>
> > IMO one more thing to consider is that a database is not necessarily
> > exclusively owned by one application. I would even go further and say
> > default should be a database is NOT exclusively owned by one app and
an this be achieved?
Hans
P.S. I'm using the xlrd module from http://pypi.python.org/pypi/xlrd
### viewer ###
{{extend 'layout.html'}}
excel_read.html template
{{=t2.T('Select File')}}
{{=FORM('File: ',INPUT(_type='file',_name='filename'),I
wow, very cool!
how can it (or something similar) be integrated into a web2py app?
hans
On May 7, 9:44 pm, mdipierro wrote:
> http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/
--~--~-~--~~~---~--~~
You received this message because you
to solve that issue with the corrupt file (=getting a
exact copy) ?
thanks,
hans
On May 7, 10:56 pm, mdipierro wrote:
> This should do
>
> def excel_read():
> result={}
> if request.vars.filename != None:
> try:
> import xlrd
>
t on windows xp.
Any other ideas how this can be achieved?
Hans
On May 8, 10:29 pm, mdipierro wrote:
> It may be an issue with buffer size. Try
>
> import shutil
> shutil.copyfileobj(request.vars.filename,open(path,'w'))
>
> Massimo
>
> On May 8, 2:56 pm, H
t on windows xp.
Any other ideas how to solve this?
Hans
On May 8, 10:29 pm, mdipierro wrote:
> It may be an issue with buffer size. Try
>
> import shutil
> shutil.copyfileobj(request.vars.filename,open(path,'w'))
>
> Massimo
>
> On May 8, 2:56 pm, H
t but still in the same view
table a manually consolidated total from a query of a different table.
Ideally would be if also a blank row/record could be inserted between
the detail records and the total row(s).
How can this be best achieved?
hans
On Apr 26, 4:07 pm, Álvaro Justen [Turicas]
wrote:
Has anyone managed to implement a editable grid into web2py, something
like http://datatables.net/examples/example_editable.html ?
If so could you share a full (working!) example ?
Hans
On 8 Mai, 14:46, mdipierro wrote:
> http://www.ajaxline.com/10-best-jquery-plugins-for-working-with-tab
Wing really rocks! And if you are a open source developer you can get
a free license.
On 9 Mai, 22:32, dlypka wrote:
> Yes, I intend to purchase Wing, however I still wish to gain some
> experience with the core debuggers.
>
> On May 9, 2:53 pm, Yarko Tymciurak wrote:
>
> > You could try an eva
ave used dataTable but I never tried jEditable. Should be easy to
> do.
>
> On May 9, 12:03 pm, Hans
> wrote:
>
> > Has anyone managed to implement a editable grid into web2py, something
> > likehttp://datatables.net/examples/example_editable.html?
> > If so could you sha
let me run some tests.
>
> Massimo
>
> On May 8, 5:05 pm, Hans
> wrote:
>
> > > shutil.copyfileobj(request.vars.filename,open(path,'w'))
>
> > raises exception: (, AttributeError
> > ('read',), )
>
> > tried also
> >
web2py 1.61.4
WinXP Pro SP3
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)]
If there is anything I can do to mail it down on my side then let me
know!
Thanks,
Hans
On May 13, 9:40 pm, mdipierro wrote:
> The problem is not so much to solve it but to reproduce
corrupt for excel and bigger than the original.
Massimo, I sent you an email with a web2py mini app and small .xls
sample files.
can you reproduce the problem?
thanks,
hans
my test environment:
web2py 1.61.4
WinXP Pro SP3
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)]
On
shutil.copyfileobj(request.vars.filename.file,open(path,'w'))
>
> should be
>
> shutil.copyfileobj(request.vars.filename.file,open(path,'wb'))
>
> else when you read it back some of the binary info in the file will be
> messed up.
>
> Massimo
>
> On May 20, 10:18 am
I need a list of
sales.product, sales.date, continent.name, sales.amount.sum()
with just one summed row per sales.product, sales.date,
continent.name !
basically a sales total per product, day and continent.
something like
Banana 20090520 Europe123
Apple 20090520 Europe234
Ap
.amount.sum
> > (),orderby=db.sales.product|db.product.date,db.product.country)
> > for row in rows:
> > print row.sales.product, row.sales.date, row.country.name,
> > row._extra[db.sales.amount.sum()]
>
> > BUT 'date' is not a field name in SQL. m
could you reproduce it on your side?
On May 18, 4:34 pm, mdipierro wrote:
> Thank you. I will look into this later today.
>
> On May 18, 7:35 am, Hans
> wrote:
>
> > diff did not help since excel files are considered binary format.
> > the copies are bigger than the
ng it to grandmaster
massimo directly ;-)
Hans
--~--~-~--~~~---~--~~
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
see the docstring in gluon.Winservice
it needs the win32 lib, to be installed seperately.
--- Original Message ---
From: mdipierro
To: web2py Web Framework
Sent: 03/06/2009, 06:37:07
Subject: [web2py:23165] Re: windows service problem in 1.63 (source)
I have no idea. You may have to he
Currently SQLFORM renders a complete table for the fields provided (or
all) for a db.table, and does some other magic as well.
Would love to reuse the magic, but be in more control of the
rendering. Eg, would like to specify what fields are placed where, and
if they should include labels or not e
Seems to be it, thanks.
2009/6/4 David Marko :
>
> Do you mean something like this? http://web2py.com/AlterEgo/default/show/205
>
> David
>
> On 4 čvn, 11:12, Hans Donner wrote:
>> Currently SQLFORM renders a complete table for the fields provided (or
>> all)
:
self['hidden'] = {}
self['hidden']['id'] = record['id']
+
+form = Storage()
+(form.start, form.close) = self._xml()
+form.start = XML("<%s %s>" % (self.tag, form.start))
+form.c
appreciate that, still learning python so I'm looking forward what I
can learn from your fix.
On Thu, Jun 4, 2009 at 11:16 PM, mdipierro wrote:
>
> I know what to do. I will fix it.
>
> On Jun 4, 3:27 pm, HansD wrote:
>> not yet sure how to fix this, but fields of this type results in:
>>
>> cla
the foundation of the expanded example i've provided in my posting
before the patch. feel free to update alterego (works probable even
better, because a second pair of eys/hands might fight some issues or
unclarities. :-)
On Fri, Jun 5, 2009 at 7:56 PM, DenesL wrote:
>
> Nice patch
yes, master :-)
i noticed there needs to be secuirty code entered
what must this be?
On Fri, Jun 5, 2009 at 8:52 PM, mdipierro wrote:
>
> Can you please update the AlterEgo entry instead?
>
> Massimo
>
> On Jun 5, 1:05 pm, Hans Donner wrote:
>> the foundation of t
bals and import from there?
any reason why frequently reused keynames are not provided as CONST?
Esp when used in different parts of web2py.
This might also prevent the 'Postgre' (missing s?) in sql.py
I've only been using python for a short time, so this migh
key, while later it looks like it is referred to as 'Postgres'
On Fri, Jun 5, 2009 at 10:29 PM, mdipierro wrote:
>
> I do not understand. I am sure it is because of lack of sleep and
> headache due to broken glasses (waiting for a replament).
>
> Massimo
>
> On
09 at 6:37 AM, Yarko Tymciurak wrote:
> On Fri, Jun 5, 2009 at 3:46 PM, Hans Donner wrote:
>>
>> what is it you do not understand? perhaps I can exaplin it better.
>
> Hans -
>
> I get the general idea you are trying to convey --- for web2conf, we put
> many configu
consider it fixed.
On Sat, Jun 6, 2009 at 6:07 PM, mdipierro wrote:
>
> I think this is now fixed but I have not tried. Can you please try it?
>
> On Jun 5, 12:49 pm, Hans Donner wrote:
>> appreciate that, still learning python so I'm looking forward what I
>> can
running locally works fine?
did you check index.yaml?
On Sat, Jun 6, 2009 at 8:41 PM, Tito Garrido wrote:
> Hi Folks,
>
> I've been receiving Index Errors when I try to run my web2py on gae
> application:
>
> 189.115.246.131 - - [06/Jun/2009:11:37:39 -0700] "GET / HTTP/1.1" 500 251
> "http://appe
yep,
add requires=IS_NOT_IN_DB(db,db.some_table.field1)
in the SQField() statement as an argument
On Sat, Jun 6, 2009 at 9:17 PM, vihang wrote:
>
> Very interesting mod.
>
> @Massimo, as mentioned about the requires statement, is there a way to
> address the following directly in the field de
for me it works fine...
On Sun, Jun 7, 2009 at 10:27 PM, mdipierro wrote:
>
> Now I cannot access web2py.com either. I cannot look into this until
> tomorrow morning.
>
> Massimo
>
> On Jun 7, 3:15 pm, "mr.freeze" wrote:
>> Yes.
>>
>> On Jun 7, 3:13 pm, mdipierro wrote:
>>
>> > can you accessww
>> I use Eclipse/Pydev but find the admin interface handy for quick, one-
>> off changes.
> +1
+1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web
you might have a look at the current makefile for web2py, there you
can see how the current w2p files are generated.
On Mon, Jun 8, 2009 at 9:21 PM, Sebastian E.
Ovide wrote:
> Hi Massimo,
>
> I was wondering if there is an easy way to compile and package an
> application from command line. The q
Got:
**
File "html.py", line 841, in __main__.FORM
Failed example:
form.xml()
Expected:
''
Got:
''
**
1 items had failures:
1 of 2 in __main__.F
yep, just did a trunk upgrade
2009/6/9 mdipierro :
>
> BTW,... I am sure I fixed that a few days ago. Can you double check
> you upgraded the tests?
>
> On Jun 9, 1:23 pm, Hans Donner wrote:
>> Got:
>>
>> **
anyway to run all the doctests in one go?
On Tue, Jun 9, 2009 at 8:59 PM, Hans Donner wrote:
> yep, just did a trunk upgrade
>
> 2009/6/9 mdipierro :
>>
>> BTW,... I am sure I fixed that a few days ago. Can you double check
>> you upgraded the tests?
>>
>>
Alexey,
custom.widget is already in trunk
On Tue, Jun 9, 2009 at 2:14 PM, Alexey Nezhdanov wrote:
> Finally, I started migration (before I was just slapping sql.py, checked out
> of the trunk over my ancient 1.61.4 install).
> Migration is not easy, I've been bending source for my needs so now I
Gary,
how dows your model look like?
And how does it show when you are just using SQLFORM?
On Tue, Jun 9, 2009 at 9:40 PM, Gary wrote:
>
> Thank you Fran and Massimo for the info.
>
> I downloaded the trunk using:
>
> bzr branch lp:~mdipierro/web2py/devel web2py-devel
>
> and installed the applic
3) provide a patch, so it might end up in SQLTABLE ?
On Tue, Jun 9, 2009 at 6:57 PM, mdipierro wrote:
>
> There is no may to make a SQLTABLE taht fits everybody's taste and
> needs. I think you should
>
> 1) define your own SQLTABLE2, or
> 2) loop over rows explicitly
>
> Massimo
>
> On Jun 9, 11
Maybe somebody can make an example page displaying the various pickers
out there with some descriptions etc.
On Wed, Jun 10, 2009 at 2:27 AM, DenesL wrote:
>
> OK, but I am not the only one overlooking features ;-)
>
> There is a new version of www.dynarch.com/projects/calendar/
> with a demo at
Not quite, but has the same effect (hence the copy)
for every component processed, it 'adds' the child components to the
end of the processing que.
So it searches layer by layer
On Wed, Jun 10, 2009 at 10:29 AM, AchipA wrote:
>
> @massimo: thanks for the clarification, I just remember seeing
> c
> You only need widgets
>
>
> {{=form.custom.widget.field1}}
> {{=form.custom.widget.field2}}
> {{=form.custom.widget.field3}}
>
> {{=form.hidden_fields()}}
>
better is to use {{=form.start}} in stead of , this will take
over any actions/methods etc that are used in the SQLFORM,
and for now {{
.custom.widget.field2}}
> {{=form.custom.widget.field3}}
>
> {{=form.custom.form.end}} includes hidden fields!
>
> Massimo
>
> On Jun 10, 11:27 pm, Hans Donner wrote:
>> > You only need widgets
>>
>> >
>> > {{=form.custom.widget.fie
nd better error codes (thanks Hans)
> - better LDAP support (thanks Fran and Mr. Freeze)
>
> Massimo
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" g
Hi,
is the sourcecode for the web2py.com/appliances also available in a
verison control system like web2py itself?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group,
db.define_table(
'test',
SQLField('unique', 'string', unique = True,
requires = IS_NOT_IN_DB(db, 'test.unique')),
)
def pseudo():
db.table.field.writable = False
db.table.field = 'some invalid value for the requires[]'
form = crud.create(db.table)
the form doesn't r
sorry, should be db.table.field.default = ''
On Sat, Jun 13, 2009 at 3:54 PM, mdipierro wrote:
>
> I am not what you mean by:
>
> db.table.field = 'some invalid value for the requires[]'
>
> It seems to be redefining the field. It should give an error.
>
e only
> validate visitor provided input.
>
> Massimo
>
> On Jun 13, 9:02 am, Hans Donner wrote:
>> sorry, should be db.table.field.default = ''
>>
>> On Sat, Jun 13, 2009 at 3:54 PM, mdipierro wrote:
>>
>> > I am not what you mean by:
>&g
def as_list(self,
compact=True,
storage_to_dict=True,
datetime_to_str=True):
so you can prevent the conversion by providing the datetime_to_str = False
On Sat, Jun 13, 2009 at 5:57 PM, weheh wrote:
>
> Massimo, this is great and it works. Thank
1 - 100 of 242 matches
Mail list logo