THanks for this update Massimo. That sounds great, and it sounds like a
platform with lots of potential. I just hope there is a way to
incrementally feed in the improvements.
On Tuesday, 10 June 2014 12:14:03 UTC+10, Massimo Di Pierro wrote:
>
> Good questions.
>
> Web2py has changed less in the
See from Massimo:
https://groups.google.com/d/msg/web2py/lvdb6d9QlRE/HFcXC_cMdSYJ
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this mess
The "action" attribute of the form is "#", which means the form will submit
to the URL of the parent page. Instead, your form must submit to the
edit_posts action, which means you need to trap the form submission and
submit it via Ajax as well. The easiest way to do this is to instead put
the f
when using default 'list:reference mytable' all the entries from mytable
are shown in the dropdown (when using SQLFORM.grid)
I want to show the list in the drop down after applying some filters
Here is an example :
db.define_table('parent',
Field('fname', 'string'),
The first argument to IS_IN_DB must be a DAL object or a Set object -- it
cannot be a function.
Anthony
On Tuesday, June 10, 2014 10:05:21 AM UTC-4, Mandar Vaze wrote:
>
> when using default 'list:reference mytable' all the entries from mytable
> are shown in the dropdown (when using SQLFORM.gr
Yes I do it all the time. Here is the config I use on Ubuntu in
/etc/apache2/conf.d
START OF FILE
# most people use /home/www-data I just happend to use /home/web2py instead
this time
# I put this file in /etc/apache2/conf.d/, This makes it global to the
apache install.
# the key here is t
Hi Massimo,
Would you recommend to setup anything on routes.py? I have the same
question of Carlos...
In my application all users will select a username and a subdomain will be
available
user1.example.com
user2.example.com
Every time that they use this URL it would go to a specific controller
fun
On Tue, Jun 10, 2014 at 7:53 PM, Anthony wrote:
> The first argument to IS_IN_DB must be a DAL object or a Set object -- it
> cannot be a function.
>
Right, but is there a way to achieve what I am trying to do ? an example
would help.
Can/should I use IS_IN_SET ? (I got different error mentioned
I'd love to see a DAL-only Python 3.4 release, I could use that in my web
framework. I think it would be good to steal an idea from Pyramid, make
your framework piecemeal. Dal, Forms (with built-in protections and
validations), routing (hopefully simpler than it is now). , In any case, I
love
On Tuesday, June 10, 2014 1:47:55 PM UTC-4, Derek wrote:
>
> I'd love to see a DAL-only Python 3.4 release, I could use that in my web
> framework. I think it would be good to steal an idea from Pyramid, make
> your framework piecemeal. Dal, Forms (with built-in protections and
> validations), r
Assuming you have a particular parent last name, it would be:
IS_IN_DB(db(db.parent.lname == last_name), 'parent.id', db.parent._format,
multiple=True)
Anthony
On Tuesday, June 10, 2014 12:51:20 PM UTC-4, Mandar Vaze wrote:
>
>
> On Tue, Jun 10, 2014 at 7:53 PM, Anthony wrote:
>
>> The first a
There's nothing preventing you from using freewall. What troubles have you
had with it?
On Monday, June 9, 2014 10:41:46 AM UTC-7, Spokes wrote:
>
> Is anyone aware of a web2py plugin which can take a bunch of divs (let's
> say, of the same class name) and lay them out, in sequence, in a neat gr
Anthony, many thanks!
Can this be achieved also with setting SQLFORM( _action="") attribute?
Best,
Kristjan
On Tuesday, 10 June 2014 15:42:17 UTC+2, Anthony wrote:
>
> The "action" attribute of the form is "#", which means the form will
> submit to the URL of the parent page. Instead, your form
On Tuesday, June 10, 2014 2:18:18 PM UTC-4, Najtsirk wrote:
>
> Anthony, many thanks!
>
> Can this be achieved also with setting SQLFORM( _action="") attribute?
>
In that case, it would submit to the correct action, but then the page
returned by that action would replace the entire page in the br
you just have to figure out a logic where big-super-users can deal only
with their own smaller-super-users, and another one where
smaller-super-users can deal with their regular users. If this "logic"
needs a mapping in a table or not, it's entirely up to you.
On Tuesday, June 10, 2014 12:09:5
there's no such thing around. Every browser has its own rendering engine
and albeit they "should" render everything as "expected", small differences
exists. That's why the only way to manage it is in javascript, that can
accomodate dinamically those differences because the environment where it
http://sentibol.com/
Congratulations http://sentibol.com/ourteam
Universidade de Lavras - Minas Gerais - Brasil.
Ovidio Marinho Falcao Neto
ITJP.NET.BR
ovidio...@gmail.com
itjp.net...@gmail.com
Brasil
--
Resourc
Nossa, parabéns a toda a equipe! Eles estão na comunidade?
Em 10/06/2014 16:43, "Ovidio Marinho" escreveu:
> http://sentibol.com/
>
> Congratulations http://sentibol.com/ourteam
>
> Universidade de Lavras - Minas Gerais - Brasil.
>
>
>
>
>
> Ovidio Marinho Falcao Neto
>
I would love to see DAL as an independent persistence API
just like socket.io we could have a DAL.io
2014-06-10 18:49 GMT+01:00 Anthony :
> On Tuesday, June 10, 2014 1:47:55 PM UTC-4, Derek wrote:
>>
>> I'd love to see a DAL-only Python 3.4 release, I could use that in my web
>> framework.
Any ideias?
Em quinta-feira, 5 de junho de 2014 16h37min55s UTC-3, Júlia Rizza escreveu:
>
> Hello everybody,
>
> I have an app with app specific routes and I have a function that allows
> any user to see a project by passing the project's owner username and the
> project's slug as args. I wan
Very temporarily :-) I check it out by inspecting session every step of the
way before, during and after the ajax call.
Now, one new thing I noticed is that my number of sessions has exploded,
which makes no sense at all. The ajax call to the default controller is
happening from within an anony
Well, you're making two Ajax calls simultaneously, so I would think there
could be a race condition with the sessions, but with file based sessions,
access to the session should be serialized.
Anthony
On Tuesday, June 10, 2014 9:15:37 PM UTC-4, weheh wrote:
>
> Very temporarily :-) I check it o
Hello,
I am new to web2py. Somebody sent me a tgz file which contained the source
code.
I am trying to upload thar code in my admin interface but first i have to
convert that into w2p extension...
Help
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http:/
I am looking for a paid developer for project that goes from
concept-to-completion.
1. Database driven
2. Functionality similar to yelp, craiglist, angieslist
3. We will have at least 5 different user-types: visitors, authenticated
users, business users, moderators, administrators
4. Users a
Hello,
I am having some issues with signature - TypeError: define_tables() got an
unexpected keyword argument 'signature'
I initially though it was my code (because I am new to Python & web2py) but
then installed the EStore appliance & and had the same error code. A
screenshot is attached.
Yo
It's a good plugin, and it seems to work fine with a page that is being
loaded or refreshed in a standard sense. However, my page has a scroll
feature in which the #content div's contents are updated (i.e. replaced
through an ajax call to a controller function that performs db queries and
retur
Thanks, Niphlod. Seems like such a simple task to arrange divs into a grid
with approximately even column heights, but I guess it does appear fairly
unfeasible to do this in the controller. Guess I'll have to optimize my
jquery solution to this issue...
On Tuesday, June 10, 2014 2:07:18 PM UTC-
so i have an SQLFORM and if i drill down enough i get the INPUT object:
uform[0][0][1]
where uform is an SQLFORM object.
but how can i read the value of the value attribute?
thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/
omg, i figured it out. i had to drill down one more layer.
uform[0][0][1][0]['value']
where, form is the form element itself, the first [0] is the table, the
second [0] is the first TR line of the table, the [1] is the TD element of
the TR line, and the last [0] is the INPUT element under the
Can some one please conform if it would be possible to use multiple grids
in single view using web2py as LOAD doesn't seems to give the expected
results.
-Sarbjit
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https:
Name the grids.
grid = SQLFORM.grid(db.table, formname='cadd', formstyle="bootstrap")
On Monday, June 9, 2014 3:47:37 AM UTC-5, Sarbjit wrote:
>
> I am using two grids in my application but I have observed that when I use
> Edit/View button for GRID1 and return back (i.e. submit any changes from
A more robust way to do this is to use the element search helper. Use the
id (or whatever) to find the INPUT like this:
element = form.element(_id='table_field')
and then the value will be:
element['_value']
See the book for all the other cool things you can do:
http://www.web2py.com/books/de
that's right, please use formname, for example you can check out this
discussion :
https://groups.google.com/forum/#!topic/web2py/4CvyTR_y_kE
niphlod give an example for multiple grid using load
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- h
33 matches
Mail list logo