AEM 6.4 form to store and read from jcr
Hi, I'm a new user of AEM.
As an exercise I want to simulate an e-commerce in which I can write and read from jcr ...
In an "insert" page I am using a form container component (start / end) where there are some form text components:
id
brand
model
type
image
and at the end there is send button to refer (after completing all the fields) to the "display" page.
In the "display" page i want to show added products.
I followed these articles
create an AEM project 6.4 Maven archtype 13
https://helpx.adobe.com/experience-manager/using/maven_arch13.html
create a custom action
https://helpx.adobe.com/experience-manager/using/form_component_customaction.html
I have watched default option "store action" how to work, but my problem is how to work its java class to store data. I don't understand it.
I want to store my products in a specific folder, not in a "usergenerated" folder like do "store action".
Alternatively, someone suggest a java script code works effectively to add to jsp file of my custom action.
Thaks to the support
Sorry for my bad english