[web2py:30418] Re: initial data to CRUD forms

2009-09-08 Thread Julio Monteiro
Works perfectly Massimo, I will try and stop bothering you about old code. Will probably rewrite the code for vanilla web2py and not T3. Thanks, Julio Monteiro mdipierro wrote: try {{db.delivery.exposes=[...list of field names that should be visible...]}} ATTENTION. THIS IS A T3

[web2py:30414] Re: initial data to CRUD forms

2009-09-08 Thread Julio Monteiro
Thanks, Massimo, Your first hint worked perfectly, however making it hidden didn't work. Any other possibility for that? Cheers, Julio Monteiro mdipierro wrote: My mistake: {{db.delivery.student_id.default=self.id}} You can make it hidden (I think)

[web2py:30405] Re: initial data to CRUD forms

2009-09-08 Thread Julio Monteiro
a page: {{=self.read(db.student)}} {{=self.itemize(db.delivery)}} {{=self.create(db.delivery)}} If I pass the student id to request.args[0], the read form works allright, but the create form does not set its student_id to the id that came from the request. Is there a way to pass this student_id

[web2py:29974] Re: T3 rocks!

2009-09-03 Thread Julio Monteiro
That would be very nice, indeed! Having a killer CMS application will undoubtfully benefit the web2py community and attract more users. Is thera a way others can help or is it too soon? Julio Monteiro mdipierro wrote: I just finished the book. As far as web2py is concerned my interest

[web2py:29961] Re: T3 rocks!

2009-09-03 Thread Julio Monteiro
Hello Massimo, I didn't realize T3 was old, nice to know that it has been merged with web2py code! Is that a way I can start coding from the t3_wiki in web2py out of the box? What are the current web2py projects that you are working on? Thanks a lot! Julio Monteiro mdipierro wrote: