You should see the stringified version of object as specified in
columns("Stringify" => qw/col1 col2 . ../) or
sub stringify_self { return shift->col2; } method if you want facier
stringification.
By default these just return the id so you probably haven't set any custom
stringification for you object.
--- raptor <raptor at tvskat.net> wrote:
> anyone using AsForm,
>
> The select-boxes which are created for fields that has has_a relationship are
> shown as ID's f.e.
>
> tableA : id, name
> tableB : id, tableA_id_fk , blah
>
> So in the select box I get list of ID's but I want a list of name's from
> tableA, instead of ID's.
> What I see from AsForm module there is no way to specify which field to be
> displayed,
> so it is normal to see ID's !?
> any idea how can I specify which field to be shown in the select box ?
>
> tia
>
=====
pjs
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:58 GMT