Hi, the follow model is rigth to crud:
db.define_table('category',iObj,
Field('parent','reference category'),
Field('name'),
format='%(name)s')
db.category.parent.requires = IS_EMPTY_OR(IS_IN_DB(db,
db.category.id, '%(name)s'))
db.category.name.requires = IS_NOT_IN_DB(db,
Have a mode to do this work? Or a other solution?
://web2pyslices.com/main/slices/take_slice/103
2010/12/13 Savio Sabino savi...@gmail.com
Have a mode to do this work? Or a other solution?
--
Bruno Rochahttp://about.me/rochacbruno/bio
This exists?
On Dec 13, 5:53 pm, Savio Sabino savi...@gmail.com wrote:
The best solution to this is a widget to insert multi record of a
referenced table like:
db.define_table('post',
Field('title'),
Field('content'))
db.define_table('comment',
Field('post_id', db.post
and they should appear in jqgrid
On Oct 20, 9:35 am, Savio Sabino savi...@gmail.com wrote:
Thanks this is nice solution. And very thanks for the great
framework.
And now... How do I add the two fields (deposit and withdraw) that no
store data and be used only in the view?
Must create a virtual
Complementing the line:
db.produto.virtualfields.append(VirtualFields())
causes error in creating the tables below it.
On Oct 21, 9:00 am, Savio Sabino savi...@gmail.com wrote:
Hello.
I did the following test with virtual fields:
db.define_table('product',
Field ('type
Hello.
I did the following test with virtual fields:
db.define_table('product',
Field ('type', db.tp_produto)
Field ('manufacturer', db.fabricante)
Field ('qt', 'integer', default = 0),
Field ('qt_min', 'integer', default = 0)
prodEnt field in any situation.
On Oct 21, 10:13 am, mdipierro mdipie...@cs.depaul.edu wrote:
I assume this is a typo:
VirtualFields class:
should be
class VirtualFields:
What is the error? Can you show the traceback?
On Oct 21, 8:09 am, Savio Sabino savi...@gmail.com wrote:
Hello.
I
this. It is not a but, it
just that virtual fields and not listed an must be retrieved
explicitly.
On Oct 21, 12:25 pm, Savio Sabino savi...@gmail.com wrote:
The version is 1.87.3
Ok, I found the problem.
More this method shows the query in console ok?
More this do not send virtual field to crud methods
Hello again.
I have a new question.
The current way of using jqgrid is with plugin_wiki? Even in the view
or controller?
How would I do to implement a grid like this:
Table user
id, name, email, money, deposit, withdraw
The id field must have a link for editing the user.
Add and drop fields
newbie to web2py (I think
it already has to see it) and running of java and .net.
On Oct 20, 11:18 am, mdipierro mdipie...@cs.depaul.edu wrote:
In model:
db.table.field.represent=lambda value:A('click me',_href=value))
and this will be used by jqgrid
On Oct 20, 6:41 am, Savio Sabino savi
going to test.
Thanks.
On Oct 20, 11:40 am, mdipierro mdipie...@cs.depaul.edu wrote:
I never tried but you can try define virtualfields:
http://www.web2py.com/book/default/chapter/06?search=virtualfield
and they should appear in jqgrid
On Oct 20, 9:35 am, Savio Sabino savi...@gmail.com wrote
Hi.
What is best choose to use datagrid in web2py? Webgrid or jqgrid?
What the comparision be do with this tools?
Or is the best use the two to interoperate? If is this, how?
:37 am, Savio Sabino savi...@gmail.com wrote:
Hi.
What is best choose to use datagrid in web2py? Webgrid or jqgrid?
What the comparision be do with this tools?
Or is the best use the two to interoperate? If is this, how?
You can see the alternatives to agile frameworks in Java:
Grails;
Spring Roo;
Scooter Framework;
Play Framework;
Next Framework.
But none compares to Python Web Frameworks or Rails in respect to
simplicity, amount of features and the maturity in the field of agile
frameworks.
And I think beyond
15 matches
Mail list logo