> I have only one more question: in which cases is right to define this in the controller?
There is no rule, when the thing is global define in model, when is specific to an action define it in the action. represent works for crud,read ans crud.select forms, and some widgets also uses it. -- -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] [ Aprenda a programar: http://CursoDePython.com.br ] [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ] [ Consultoria em desenvolvimento web: http://www.blouweb.com ]

