you can pass it as var with a json dict then convert it back to a
python dict
from gluon.contrib import simplejson
a = {'a': 'foo', 'b': 'bar'}
redirect(URL(r=request,
f='scmView.html',vars=dict(mydict = simplejson.dumps(a))
def scmView():
a = simplejson.loads(request.vars.mydict) if request.vars
The error is with 'reference person'?
You have to define 'person' previously.
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
2010/11/11 Mirek Zvolský :
> I have simplest model:
>
> db.define_table('company',
> Field('name'),
> Field('created
I have create a database 'new' for one of my applicaiton. And also
added some tables and records to it via the administrative interface.
I can see it on mysql client. But when i start the web2py shell on my
terminal and do
this :
db = DAL('mysql://user:passw...@localhost/new')
and do
>> print db.t
Has anyone used the Rating plugin from web2py.com/plugins ? Seems that
i install it and apply it to my application in the view as :
{{=plugin_rating('activity',activity.id)}} and it does not show the
correct rate when visiting the page. Thus, when I look into the admin
table to see what's happening
yes, all is in simpletable.py
2010/11/11 Bruno Rocha
> The whole implementation is in "simpletable.py" or it depend on another
> changes?
>
> I think it is a good idea to post the simpletable in web2pyslices.com
>
> 2010/11/11 Martín Mulone
>
> https://bitbucket.org/mulonemartin/tablediv/src
>
The whole implementation is in "simpletable.py" or it depend on another
changes?
I think it is a good idea to post the simpletable in web2pyslices.com
2010/11/11 Martín Mulone
> https://bitbucket.org/mulonemartin/tablediv/src
>
> 2010/11/10 rochacbruno
>
> Nice! I want to use it.
>>
>> I am t
https://bitbucket.org/mulonemartin/tablediv/src
2010/11/10 rochacbruno
> Nice! I want to use it.
>
> I am thinking in a way to create a inline editable table.
>
> Enviado via iPhone
>
> Em 10/11/2010, às 20:08, "Martin.Mulone"
> escreveu:
>
> > I decided to start to make my own implementation o
Thank you once more,
My goal with this topic was to more to know if you are interested on
something in web2py...
These operations integrated with web2py, so that
(e.g.) you could do web2py.py uninstall MyApp
instead of:
>>> from gluon.admin import app_pack: print app_pack('myapp',request)
> unins
Here's a link to the section in the book:
http://www.web2py.com/book/default/chapter/06#Self-Reference-and-Aliases
On Nov 11, 8:44 am, Mirek Zvolský wrote:
> I have simplest model:
>
> db.define_table('company',
> Field('name'),
> Field('created_by', 'reference person'))
> db.define_tabl
Hi Massimo,
Thank you for your attention, the last questions have already been
resolved. But now I´ve got a new question :-)
I noticed the JqGrid when calling the URL already passing the
Parameter "nd: 1289404767209", which is a Timestamp value, it calls
JavaScript "new Date (), getTime ().", whi
Cross reference between tables, see this post
http://groups.google.com/group/web2py/browse_thread/thread/b3cb1ce223649e0f/14688d53b3d88857?lnk=gst&q=table+cross+reference#14688d53b3d88857
On Nov 11, 12:44 am, Mirek Zvolský wrote:
> I have simplest model:
>
> db.define_table('company',
> Fie
Hello ty for the reply
You wouldn't by chance be able to help me with a patch. Your talking about
the paginate.py file to patch set_links in there or with in the set_links
value in my code?
Your the developer of Web2py Utils is that correct?
Nice work on it :D
*cheers
Andrew
On Wed, Nov 10,
I have simplest model:
db.define_table('company',
Field('name'),
Field('created_by', 'reference person'))
db.define_table('person',
Field('last_name'),
Field('company_id', 'reference company'))
but I receive error:
File "C:\Python27\Lib\site-packages\web2py\gluon\sql.py", line 1
Hi Massimo,
The problem in appadmin still persists.
Thanks.
On Nov 6, 4:34 am, mdipierro wrote:
> fixed. please check it.
>
> On Nov 5, 8:27 am, Seeker wrote:
>
>
>
> > Sorry, that was a bit cryptic.
>
> > - Generate a test app with the wizard (with a few test tables).
> > - Click on the '...
101 - 114 of 114 matches
Mail list logo