# |
Jul 18th 2018, 09:37 |
mr.mjsm |
@josbeir i am planning to make an upload center in my project. can I use your plugin ? if so can you gimme the link |
# |
Jul 18th 2018, 09:36 |
neon1024 |
So if I’ve changed the `propertyName` it won’t persist? |
# |
Jul 18th 2018, 09:36 |
neon1024 |
https://book.cakephp.org/3.0/en/orm/saving-data.html#saving-hasmany-associations |
# |
Jul 18th 2018, 09:35 |
mr.mjsm |
@josbeir ok good, i will try to work it out somehow, just relieved that the problem is not in the code |
# |
Jul 18th 2018, 09:35 |
josbeir |
setup* |
# |
Jul 18th 2018, 09:35 |
josbeir |
i'm currently using it in an elasticsearch setu |
# |
Jul 18th 2018, 09:35 |
josbeir |
maybe i'll make a behavior in the future as a seperate plugin |
# |
Jul 18th 2018, 09:35 |
josbeir |
the plugin itself doesn't implement any orm persistence though, you need to do that stuff yourself |
# |
Jul 18th 2018, 09:34 |
josbeir |
you can actually switch out the entity class with an ORM one |
# |
Jul 18th 2018, 09:34 |
madbbb |
@josbeir tried your plugin yesterday - great work. how do you keep information about file in database after file is uploaded? |
# |
Jul 18th 2018, 09:34 |
josbeir |
yeah me too, seems to be ok |
# |
Jul 18th 2018, 09:34 |
saeideng |
it is clickable |
# |
Jul 18th 2018, 09:34 |
saeideng |
I tested in local |
# |
Jul 18th 2018, 09:32 |
madbbb |
I think its a css problem |
# |
Jul 18th 2018, 09:31 |
mr.mjsm |
and no error message on console |
# |
Jul 18th 2018, 09:30 |
mr.mjsm |
no. the button is not clickable |
# |
Jul 18th 2018, 09:30 |
madbbb |
@mr.mjsm do you have "are you sure" message box? |
# |
Jul 18th 2018, 09:29 |
josbeir |
@mr.mjsm are you getting a js error in your dev console when clicking the faulty button ? |
# |
Jul 18th 2018, 09:29 |
mr.mjsm |
https://paste.ofcode.org/gWspuC5CXzeEmHLfSj4yMa |
# |
Jul 18th 2018, 09:28 |
alexdd55 |
yes it is… :) |
# |
Jul 18th 2018, 09:28 |
josbeir |
ah wait it is :) |
# |
Jul 18th 2018, 09:27 |
mr.mjsm |
just a sec |
# |
Jul 18th 2018, 09:27 |
mr.mjsm |
you know what i will post the whole source |
# |
Jul 18th 2018, 09:27 |
josbeir |
the one above is wrapping around all others |
# |
Jul 18th 2018, 09:27 |
josbeir |
no |
# |
Jul 18th 2018, 09:27 |
alexdd55 |
can not see the problem |
# |
Jul 18th 2018, 09:27 |
alexdd55 |
all forms are closed |
# |
Jul 18th 2018, 09:27 |
josbeir |
no ? |
# |
Jul 18th 2018, 09:27 |
josbeir |
is wrapping around your list of edit items |
# |
Jul 18th 2018, 09:27 |
josbeir |
your main form above |
# |
Jul 18th 2018, 09:26 |
mr.mjsm |
File uploaded https://cakesf.slack.com/files/UBN7KUDRA/FBS0MLQ9X/pasted_image_at_2018_07_18_12_26_pm.png / https://slack-files.com/T053DPNCM-FBS0MLQ9X-cb12c11526 - <@U51A5M2DS> |
# |
Jul 18th 2018, 09:26 |
madbbb |
@mr.mjsm check onclick event is firing. |
# |
Jul 18th 2018, 09:26 |
neon1024 |
There are also no validation errors in the entity! |
# |
Jul 18th 2018, 09:26 |
madbbb |
I can't find nested form in his source |
# |
Jul 18th 2018, 09:26 |
neon1024 |
I am saving a Customer with multiple Addresses. I can marshall the Addresses just fine, the data changes, and it’s marked dirty. However the changes are never persisted to the database. What am I missing? |
# |
Jul 18th 2018, 09:25 |
saeideng |
probably you forgot to close a tag |
# |
Jul 18th 2018, 09:25 |
saeideng |
see source of page |
# |
Jul 18th 2018, 09:24 |
mr.mjsm |
can you clarify this, to me. I don't see how the forms are nested, i closed the first form then created another form. how is that considered nesting ? |
# |
Jul 18th 2018, 09:24 |
josbeir |
if you set |
# |
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 |