Re: Cakephp is generating empty options to select the component

2013-07-12 Thread raj kumar Pustela
yes cakephp is generating empty options ?php echo $this-Form-input('role',array('options' = h(array(; ? On Fri, Jul 12, 2013 at 9:01 AM, salman farisi salmandr...@gmail.comwrote: try this one : echo $this-Form-input('situacao_venda_id', array('option'= $situacaoVendas)); On Wed,

Re: Cakephp is generating empty options to select the component

2013-07-12 Thread euromark
'options' = h(array()) what is that supposed to be? you cannot arrays as strings Am Freitag, 12. Juli 2013 08:10:40 UTC+2 schrieb raj kumar Pustela: hi your requirement like this right. pls found below attach file. ?php echo $this-Form-input('role',array('options' = h(array(; ?

Re: Cakephp is generating empty options to select the component

2013-07-11 Thread salman farisi
try this one : echo $this-Form-input('situacao_venda_id', array('option'=$situacaoVendas )); On Wed, Jul 10, 2013 at 4:47 PM, AD7six andydawso...@gmail.com wrote: Most likely this is an encoding problem, the labels that are blank contain non-utf8 characters. Investigating along those lines

Re: Cakephp is generating empty options to select the component

2013-07-10 Thread AD7six
Most likely this is an encoding problem, the labels that are blank contain non-utf8 characters. Investigating along those lines you'll probably find that the db data is not stored correctly as utf8. AD On Monday, 8 July 2013 21:47:56 UTC+2, Moacir Cardoso wrote: I'm having trouble creating

Cakephp is generating empty options to select the component

2013-07-09 Thread Moacir Cardoso
I'm having trouble creating combobox components. The cakephp is generating empty options to select the component. option value=1/option option value=2/option option value=3Visita/option option value=4Proposta/option option value=5/option option value=6/option In the Controller $situacaoVendas