Re: Migrate from Cake 2.x

2015-05-25 Thread gersonfs
Thanks Mark! I believe it is very useful to add this functionality to the plugin. Em segunda-feira, 25 de maio de 2015 05:37:51 UTC-3, euromark escreveu: > > Let me know what you came up with > We should add this to the https://github.com/dereuromark/cakephp-shim > plugin to ease migration of t

Re: Migrate from Cake 2.x

2015-05-25 Thread gersonfs
Thanks José, compliments of OO! Em quarta-feira, 20 de maio de 2015 17:24:25 UTC-3, José Lorenzo escreveu: > > One way is to extend the form helper and override the _domId() function: > > > https://github.com/cakephp/cakephp/blob/09eb23891dc8134830f4e39e01a3a39f82935e41/src/View/Helper/IdGenerator

Re: Migrate from Cake 2.x

2015-05-25 Thread euromark
Let me know what you came up with We should add this to the https://github.com/dereuromark/cakephp-shim plugin to ease migration of those forms from 2.x to 3.x in general. The IDs generated in 3.x are too collision-likely for me too. Mark Am Mittwoch, 20. Mai 2015 13:39:35 UTC+2 schrieb gersonf

Re: Migrate from Cake 2.x

2015-05-20 Thread José Lorenzo
One way is to extend the form helper and override the _domId() function: https://github.com/cakephp/cakephp/blob/09eb23891dc8134830f4e39e01a3a39f82935e41/src/View/Helper/IdGeneratorTrait.php On Wednesday, May 20, 2015 at 1:39:35 PM UTC+2, gersonfs wrote: > > Hello! > > Is there a way to use the i

Migrate from Cake 2.x

2015-05-20 Thread gersonfs
Hello! Is there a way to use the input id attribute from CakePHP 2 in CakePHP 3? Like define a custom method for generate id attribute value? Or better yet, use the FormHelper 2.x version of CakePHP. CakePHP 3 break all my javascript files based on id attribute. I did not see any observations