I tried {{=form.custom.widget.town_id}} in 1.63.5 and got an error
"AttributeError: 'NoneType' object has no attribute 'town_id'".
Using {{=form.custom.inpval.town_id}} returns a '1', the value of the
id in the 'Location' file pointing to the 'Town' file.

For clarification, does 'new trunk' mean something other than the
current release?

Thanks.



On Jun 9, 12:38 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> with the new trunk you can do
>
> {{=form.custom.widget.fieldname}}
>
> On Jun 9, 11:06 am, Gary <gary.k.ma...@gmail.com> wrote:
>
> > I'm using crud to interact with a custom view.
> > form.custom.inpval.fieldname and form.custom.dspval.fieldname display
> > the proper value for most field types, but not files, select boxes and
> > checkboxes.  The download easily fixes the file display, but I've been
> > unable to find a similar solution to displaying the 'lookup' value of
> > the select rather than the 'id' of the target?  Ditto for the checkbox
> > rather that 'True/False'.
>
> > Thanks in advance for any help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to