2009/7/24 Antônio Marco <[email protected]>: > > Hi, folks! > > FACTS: > > [1] I'm using scaffolding; > [2] I have a table wich contains a INT2 column named LEVEL. This > column accepts only values IN (0, 1, 2, 3, 4, 5, 6); > [3] When the scaffold form is shown, the LEVEL field is a simple * > TEXT type * field. > > My question is: > > Would be possible to change a * TEXT type * field to a * SELECT type * > field by manipulating the $this->viewVars OR setting up something in > the related model OR something else?
I'm not sure, but I think is not possible. Flexibility is the price to pay when using scaffold. Best regards. -- MARCELO DE F. ANDRADE Belem, PA, Amazonia, Brazil Linux User #221105 http://mfandrade.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
