Log message #4142940

# At Username Text
# May 22nd 2018, 14:04 neothermic and while I could go inject these with JS, that's just a horrible hack :P
# May 22nd 2018, 14:03 neothermic I want to pass autocomplete= [bday-day/bday-month/bday-year] to the right elements, but I can't seem to see any way to do this
# May 22nd 2018, 14:02 neothermic I don't suppose, in Cake2, there's a way of injecting the autocomplete vars to each of the select elements a date input generates?
# May 22nd 2018, 14:00 spriz No worries :tada:
# May 22nd 2018, 14:00 bravo-kernel Sorry but I am not able to check anything right now,
# May 22nd 2018, 14:00 bravo-kernel Hmmm
# May 22nd 2018, 13:59 spriz but if I debug the event in the `beforeRedirect` crud callback it still has status => 302 @bravo-kernel :thinking_face:
# May 22nd 2018, 13:56 spriz I see it :thinking_face:
# May 22nd 2018, 13:56 bravo-kernel I can’t paste it now unfortunately
# May 22nd 2018, 13:56 spriz Ooh
# May 22nd 2018, 13:55 bravo-kernel JsonApiListener
# May 22nd 2018, 13:55 spriz which listener?
# May 22nd 2018, 13:55 bravo-kernel @spriz it could very well be because we disabled the redirect, see line 185 of the listener
# May 22nd 2018, 13:54 itmpls and if that doesn't fly i'll check the extending method you did
# May 22nd 2018, 13:53 itmpls since I don't need to deal with it at the app/controller level
# May 22nd 2018, 13:52 itmpls thanks for pointing me in the right direction @flavius
# May 22nd 2018, 13:52 itmpls I probably need this :slightly_smiling_face: just set the template array in the config and set that in the view
# May 22nd 2018, 13:52 itmpls https://stackoverflow.com/a/26151381/145190
# May 22nd 2018, 13:48 flavius if you dd in the controller, obviously it wont reach the view rendering logic
# May 22nd 2018, 13:48 flavius but it has to get to the view rendering part i think
# May 22nd 2018, 13:48 flavius yeah but the plugin is in the application, and you're loading the plugin through your application... so if its on application level it should still work
# May 22nd 2018, 13:46 itmpls so '/foo/' is plugins/Foo/src/Controller/FooController::index()
# May 22nd 2018, 13:46 itmpls but I mean my route is through a plugin
# May 22nd 2018, 13:46 itmpls right. that's where I have it
# May 22nd 2018, 13:46 flavius `app/src/View/AppView.php`
# May 22nd 2018, 13:46 itmpls gotcha
# May 22nd 2018, 13:46 flavius its part of the application
# May 22nd 2018, 13:45 itmpls @flavius so that's within a plugin, right?
# May 22nd 2018, 13:45 spriz Darn, so if use JsonApi in CRUD it works …. :P
# May 22nd 2018, 13:45 itmpls since it isn't dumping
# May 22nd 2018, 13:44 itmpls right - so I merged the app skeleton incorrectly then
# May 22nd 2018, 13:44 flavius File uploaded https://cakesf.slack.com/files/U75U0UMR9/FAU1Y6Z50/image.png / https://slack-files.com/T053DPNCM-FAU1Y6Z50-fe8c951fd5 - it works for me :slightly_smiling_face:
# May 22nd 2018, 13:44 flavius File uploaded https://cakesf.slack.com/files/U75U0UMR9/FAUU6E1L6/image.png / https://slack-files.com/T053DPNCM-FAUU6E1L6-ed75294540
# May 22nd 2018, 13:43 itmpls actually all of my views are through a plugin
# May 22nd 2018, 13:43 itmpls well, plugin for now
# May 22nd 2018, 13:43 itmpls anywhere
# May 22nd 2018, 13:43 flavius in a plugin?
# May 22nd 2018, 13:43 flavius not dumping where?
# May 22nd 2018, 13:42 itmpls .. and it's not dumping obviously
# May 22nd 2018, 13:42 itmpls I manually merged the app skeleton since I started with 3.5 - if this is global , what would be missing since I put a dd('1') in AppView::initialize() ?
# May 22nd 2018, 13:42 flavius yeah, because it belongs to the application