In my application I have to specify a title field as below
Field('title',
type='string',label=T('Title'),requires=IS_IN_DB(db,db.t_title.id,
'%(name)s',orderby=db.t_title.id))
all the title options are mentioned in the t_title table.
For example in t_title table I have values Mr. and Mrs. For
In my control I have an array with so many values.
I want to write a dal query to update a table rows which having ID not in
this array.
I want something like this.
db(db.table1.field1.notbelongs(array)).update(field2=False)
I have tried like this
db(db.table1.field1 not in(array)).update(field
I am facing a problem to allign SQLTABLE data properly. How can I specify
custom styles for SQLTABLE data.
--
How can I display a sequence number in the web2py SQLTABLE. I have tried to
display the database ID field. but if I am deleting any record. The
sequence number order is missing.
Please advice.
I am new to web2py.
form my view i am able to call web2py ajax as "
ajax("{{=URL(r=request,c='control2',f='function1')}}"['name'],'target');
". But the same command is not working from an external javascript.
How can i call a function (in another control file) using ajax from an
external JavaScript
ll your server machine is re-booted. If it has, it
> will terminate.
>
> Cheers, Rahul
>
>
> On Jun 6, 11:58 pm, danto wrote:
> > 2011/6/6 Pradeesh
> >
> > > I have installed web2py on a remote opensuse server 10.3 and I am
> > > using a Putty to s
I have installed web2py on a remote opensuse server 10.3 and I am
using a Putty to start the web2py server. But when i am closing the
Putty session in my machine, the web2py server is also closing. How do
I start web2py server permanantly.
7 matches
Mail list logo