Hello guys,

I have upgraded from cakephp 1.2.0.4451alpha  to  1.2.7 , so that my
application works with php 5.3.
Now some of the forms no longer work. It looks as if the behavior of
FormHelper->create has significantly changed.


For example, one of the controllers is called 'Intretinere'  and has
actions 'index'  and 'cautareProduseVechi'.

The index.ctp has this line :
<?php echo $form-
>create('CautareProduseVechi',array('action'=>'cautareProduseVechi'));?
>

This generated html code is :
<form id="CautareProduseVechiCautareProduseVechiForm" method="post"
action="/new_admin/cautare_produse_vechis/cautareProduseVechi">

The old 1.2.0 was generating :
<form id="CautareProduseVechiAddForm" method="post" action="/new_admin/
intretinere/cautareProduseVechi">


Please help me understand how should I rewrite the form->create()   so
that I can get the same url that was generated in 1.2.0.


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to