I had the same problem yesterday.  I don't use buttons regularly, but
wanted to on a form.  Got the same message that you did.  If you look
in the core in the form helper it dies before it processes any code.
I'm guessing they haven't worked out the bugs yet.

I would suggest if you want to use buttons and you want to use
1.2.0.5875 to create the buttons old school, by hand :p.

On Oct 25, 4:59 am, senser <[EMAIL PROTECTED]> wrote:
> Tonight I upgraded CakePHP to latest release - 1.2.0.5875-pre-beta ana
> all buttons in layouts of my currently developed application went away
> Untill now I used htmlHelpe to create buttons (because formHelper
> says: "Don't use me yet") with this code:
> print $html->input('CustomerDetail.id', array('type'=>'button',
> 'value'=>'Edit'));
>
> But now this code produces a text field. I tried with formHelper too
> but no success.
>
> Here is what I tried:
> print $html->input('CustomerDetail.id', array('type'=>'button',
> 'value'=>'Edit')); //Produces text field
> print $form->input('CustomerDetail.id', array('type'=>'button')); //
> Producess textarea field
> print $form->button('Edit', 'button'); //Error
>
> Am I missing something or what ???


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to