Log message #4159885

# At Username Text
# Jul 18th 2018, 09:24 josbeir https://book.cakephp.org/3.0/en/views/helpers/form.html#creating-post-links
# Jul 18th 2018, 09:24 saeideng limitation in Html
# Jul 18th 2018, 09:23 josbeir forms inside forms wont work thats why it wont work
# Jul 18th 2018, 09:23 mr.mjsm @josbeir the default, didn't touch that.
# Jul 18th 2018, 09:23 josbeir you need to pass the block option so that the generated forms are echo'd outside your main form
# Jul 18th 2018, 09:22 josbeir @mr.mjsm are you using postLink or postButton in formHelper
# Jul 18th 2018, 09:21 saeideng note from cookbook : Be careful to not put a postLink inside an open form. Instead use the block option to buffer the form into a view block
# Jul 18th 2018, 09:21 mr.mjsm i dont see the nested part !
# Jul 18th 2018, 09:20 neon1024 Yeah, don’t nest forms.
# Jul 18th 2018, 09:20 mr.mjsm my code is just like <form> .... </form>
# Jul 18th 2018, 09:18 saeideng I did not see your code
# Jul 18th 2018, 09:18 saeideng `<form> main form .....<form> delete btn</form> </form>`
# Jul 18th 2018, 09:17 saeideng `postLink()` is useful in this case
# Jul 18th 2018, 09:17 mr.mjsm is it within though?
# Jul 18th 2018, 09:16 saeideng you can not use a `form` within another `form`
# Jul 18th 2018, 09:14 mr.mjsm File uploaded https://cakesf.slack.com/files/UBN7KUDRA/FBS9MK56G/-.html / https://slack-files.com/T053DPNCM-FBS9MK56G-e3c8086faa
# Jul 18th 2018, 09:10 alexdd55 @mr.mjsm can you show the html code from the delete button, which is rendered on the website?
# Jul 18th 2018, 09:09 saeideng :+1:
# Jul 18th 2018, 09:08 alexdd55 @saeideng thanks. works perfectly
# Jul 18th 2018, 09:08 alexdd55 i used exactly that on xmlandjson downloads.. was wondering why i should use it…
# Jul 18th 2018, 09:08 mr.mjsm File uploaded https://cakesf.slack.com/files/UBN7KUDRA/FBTS4HWBG/_companies_view_ctp.php / https://slack-files.com/T053DPNCM-FBTS4HWBG-2cbaeada5f - here is the code for the form and the delete button. any idea how to solve ?
# Jul 18th 2018, 09:07 saeideng with `with*()` methods , yes , always
# Jul 18th 2018, 09:06 alexdd55 ah
# Jul 18th 2018, 09:06 saeideng those are immutable
# Jul 18th 2018, 09:06 alexdd55 i always have to use ´=´?
# Jul 18th 2018, 09:06 saeideng and finally `return $this->response`
# Jul 18th 2018, 09:05 saeideng you have to do like this ``` $this->response = $this->response->with*()->$this->response->with*(); ```
# Jul 18th 2018, 09:05 saeideng hi @alexdd55
# Jul 18th 2018, 09:02 mr.mjsm File uploaded https://cakesf.slack.com/files/UBN7KUDRA/FBS9F336G/pasted_image_at_2018_07_18_12_00_pm.png / https://slack-files.com/T053DPNCM-FBS9F336G-9d1bbf51a0 - so guys i made an add form inside a view of another controller. the adding functionality works perfect. how ever the delete button is not clickable for some reason. when i clear the code for the adding form. the delete buttons start working. weird af
# Jul 18th 2018, 09:00 alexdd55 to stupid to format
# Jul 18th 2018, 09:00 alexdd55 :man-facepalming:
# Jul 18th 2018, 08:59 alexdd55 ´´´$this->response->withType(‘zip’); $this->response->withDownload($this->path . $zipfile);```
# Jul 18th 2018, 08:59 alexdd55 question: i want to offer a download wich returns a zip file… i do pretty much the same, like any other file format (xml, json) but its not doing a download
# Jul 18th 2018, 08:57 alexdd55 good morning boys and girls
# Jul 18th 2018, 08:47 neon1024 How many associations is it worth traversing before it’s worth swapping to loadModel() ?
# Jul 18th 2018, 08:41 neon1024 Ahok, underscore js is like lodash
# Jul 18th 2018, 08:41 neon1024 @bogdan I find getting templates from files into Handlebars frustrating really
# Jul 18th 2018, 08:36 madbbb @neon1024 I have the same approach but with underscore js
# Jul 18th 2018, 08:21 tim Thanks, that works!
# Jul 18th 2018, 08:21 tim But I forgot it there
# Jul 18th 2018, 08:21 tim Ah yes it's type hinted in the main scope