() -- it does not apply to update
forms (in that case, the field's widget controls what is displayed).
Anthony
On Monday, January 19, 2015 at 10:26:26 PM UTC-5, americandewd wrote:
How would one go about troubleshooting represent?
I am at the point where the ID matches the data I am looking
).
Anthony
On Monday, January 19, 2015 at 10:26:26 PM UTC-5, americandewd wrote:
How would one go about troubleshooting represent?
I am at the point where the ID matches the data I am looking for however
it is not showing the title for the matching ID.
Specifically I have categories held
I have a form that was created by CRUD, I also update this form by CRUD.
In another thread I was told by Anthony about a field widget controlling
what is seen (he stated this is for: read-only forms, SQLTABLE,
SQLFORM.grid, and when calling rows.render()) however per the book it says
that to
this was driving me bonkers!!!
On Tuesday, January 20, 2015 at 9:08:50 AM UTC-6, Anthony wrote:
On Tuesday, January 20, 2015 at 6:07:47 AM UTC-5, americandewd wrote:
I have not set any widget controls per what the book specifies shows me
can be done for the field.
Could you please explain since if I did
which holds what I want represented).
On Tuesday, January 20, 2015 at 6:55:30 AM UTC-6, americandewd wrote:
I have a form that was created by CRUD, I also update this form by CRUD.
In another thread I was told by Anthony about a field widget controlling
what is seen (he stated this is for: read
I have a dropdown list of categories I have created for users to select
from, when I remove formcontrol.category.requires =
IS_IN_SET(catwanted,zero=None) it shows the existing data the user has
already chosen, when I put back the formcontrol.category.requires =
IS_IN_SET(catwanted,zero=None)
forms (in that case, the field's widget controls what is displayed).
Anthony
On Monday, January 19, 2015 at 10:26:26 PM UTC-5, americandewd wrote:
How would one go about troubleshooting represent?
I am at the point where the ID matches the data I am looking for however
it is not showing
How would one go about troubleshooting represent?
I am at the point where the ID matches the data I am looking for however it
is not showing the title for the matching ID.
Specifically I have categories held in this table:
db.define_table('category',
Field('title'),
I have tried adding directly to the model:
represent = lambda f: db.category[f].title
this did not work either, (also ignored)
Any one have any ideas? OR how I can troubleshoot this?
On Monday, January 19, 2015 at 8:08:45 PM UTC-6, americandewd wrote:
I noticed that in the places where I
calling rows.render() -- it does not apply to update
forms (in that case, the field's widget controls what is displayed).
Anthony
On Monday, January 19, 2015 at 10:26:26 PM UTC-5, americandewd wrote:
How would one go about troubleshooting represent?
I am at the point where the ID matches
, americandewd wrote:
I have a dropdown list of categories I have created for users to select
from, when I remove formcontrol.category.requires =
IS_IN_SET(catwanted,zero=None) it shows the existing data the user has
already chosen, when I put back the formcontrol.category.requires
I noticed that in the places where I used represent it wasn't a dropdown
selection plus I also made the field non-writable. I cannot follow these
conditions because it needs to be a list the user can select.
Any ideas?
On Monday, January 19, 2015 at 7:57:22 PM UTC-6, americandewd wrote:
Ok
Does anyone know what would cause represent to be ignored?
On Monday, January 19, 2015 at 8:33:15 PM UTC-6, americandewd wrote:
I have tried adding directly to the model:
represent = lambda f: db.category[f].title
this did not work either, (also ignored)
Any one have any ideas? OR how
I attempted to copy/paste what you have so I can modify it for my needs.
However it immediately errors out with:
AttributeError: 'Table' object has no attribute 'parent'
So I thought I would comment out everything for the menu except
response.menu = [] and populate the database (have done
Hi all,
I have been trying for a little over 2 weeks to figure this out...
I'm trying to generate a menu that drops down, I have been able to
statically create it by overwriting sample app that has the same drop down
menu like the web2py.com site.
I have this in my db.py:
15 matches
Mail list logo