Thanks. For the record I know what I did wrong. The error is caused by my
installing
sudo pip install pydal
first, and then installing web2py. Apparently the pip version is behind the
current version of pydal, and as web2py was using the pip version, there
were errors.
In the first case, where
Team
I am redirecting to a view using {{redirect(URL('ShowData')) the menu is
not working as both the views got "extend layout.hml" it is overwriting and
blocking the menu to work
I have a menu with 5 menu items in it, when the first view loads it works
fine but after redirecting to another vi
OK, i figure it out by adding a hidden function to generate the form.
On Wednesday, June 22, 2016 at 1:23:56 PM UTC-4, Jing Lu wrote:
>
> Hi Web2py developers,
>
> I have a trivial question, but I don't know how to solve. My index.html
> has a form with some default parameters. I get the input fr
Dear Web2py developers,
The admin is blocked by the apache config. If I still want to use admin
account to check error information, what should I do?
Thanks,
Jing
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
arghh ... this one was a pain. For the record:
I had created a listener on the modal's show event to load the component
(using the code below). Datepicker also triggers an event it calls show.
Since it was loading within the scope of the modal, it would trigger the
show listener when it was o
download a stable release first and foremost there's no way to tell
what
On Thursday, June 30, 2016 at 6:42:59 AM UTC+2, Ben Lawrence wrote:
>
> Wait, no, I just downloaded the web2py software from the original
> raspberry pi that I installed and functioned ok. I get the same error. Let
>
Aside from that approach, there are two other options if you don't want to
have to create a custom form in the view. First, you can define a custom
widget for a given field:
db.define_table(...,
Field('myfield', ..., widget=lambda f, v: SQLFORM.widgets.radio.widget(f
, v, _accesskey='x')),
Thank you for the replies! I am going to try being more explicit and see
if that cleans things up
On Wednesday, June 29, 2016 at 5:53:36 PM UTC-4, Dave S wrote:
>
>
>
> On Wednesday, June 29, 2016 at 11:59:23 AM UTC-7, Niphlod wrote:
>>
>> you need to be explicit everywhere if you are not in a w
Try use custom.form, and you add some property:
form.custom.widget.field_name["_accesskey"] = "some_key"
Em quinta-feira, 30 de junho de 2016 10:22:58 UTC-3, ahz...@gmail.com
escreveu:
>
> How do I define HTML accesskeys (keyboard shortcuts) for a form, so the
> user can quickly enter data wit
How do I define HTML accesskeys (keyboard shortcuts) for a form, so the
user can quickly enter data without the mouse?
I want to enable shortcuts for two elements: a list:string (rendered as
RADIO) and the submit button. The list always has exactly three choices,
and the form is rendered simpl
10 matches
Mail list logo