Nevermind, just found the thread below which describes a similar issue:

http://www.mail-archive.com/html-formfu@lists.scsys.co.uk/msg00917.html



----- Original Message ----
> From: Petar Shangov <pshan...@yahoo.com>
> To: html-formfu@lists.scsys.co.uk
> Sent: Thursday, 30 April, 2009 17:11:40
> Subject: [html-formfu] has_many relationship represented by a select
> 
> 
> Hi,
> 
> I am using HTML::FormFu with HTML::FormFu::Model::DBIC in Catalyst.
> 
> I have "articles" and "categories" tables, with each article belonging to a 
> single category via a "cat_id" field, with the respective "belongs_to" and 
> "has_many" relationships defined in the schema classes. In the "articles" 
> form, 
> I want to display a select input with the category names as options (the 
> "categories" table has a "name" field, and may also have other fields as 
> well, 
> but I do not care about them in the "articles" form). What is the best way to 
> do 
> this? I have tried several approaches and I could not get either to work (can 
> post details if necessary).
> 
> regards,
> 
> Petar Shangov
> 
> 
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu@lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu


_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to