:: 03.09.2008 17:24:14
Actually you don't need to manually set your input options if you follow the var you passed to the view has the name equal to
Inflector::varName(Inflector::pluralize(preg_replace('/_id$/', '', $fieldName)))
wich means that, for Post.category_id you should have a "categories" var passed to the view, and for Employee.soccer_team_id you should have a "soccerTeams"
as shown in FormHelper's source line 607: http://api.cakephp.org/form_8php-source.html#l00607
BTW, I didn't like the fact that I can't post a comment while seeing other people comments, I can't cite them or use as reference... but that's my opinion of course...