After some more poking around with winpdb (a marvelously useful tool,
IMO), it looks like the cleanest way to get the web2py mangled id of a
form.custom.widget named 'foo' is:
id = form.custom.widget.foo.['_id']
or equivalently,
id = form.custom.widget['foo']['_id']
The following do *not* work:
i
Solved the problem, though I'm still not quite sure what was wrong to
begin with. I did away with using a custom widget to install the
ckeditor and handled it in the view instead:
{{=form.custom.widget.edited}}
CKEDITOR.replace("no_table_edited", {
toolbar : 'Basic',
});
Do you get the same behavior when removing the ckeditor widget from
the field? Your validator worked for me and the __call__ method was
hit.
On Jul 16, 5:07 pm, MikeEllis wrote:
> I've got a controller that presents the user with a ckeditor field
> that lets them use a limited set of html markup.
3 matches
Mail list logo