Basically the steps are :

1. Load the container definition you want to use
2. Create the container in memory
3. Save it a first time to create the objects Jahia needs for the next steps, and this will also create the ACL needed for the object.
4. Set the field values
5. Save the container
6. If you want to activate it immediately you need to call the activation code.


All this is done in the org.jahia.taglibs.form.FormContentMapperHandler tag.

Regards,
 Serge Huber.

Mokrinsky Alexey wrote:

Hi!
I will be very pleased to receive an advice from you concerning container saving 
procedure.
What steps to be performed necessarily in order to save the container.
Lets say container is a bookmark, that concrete user wants to save for himself for 
future navigation.
This bookamrk is a container with fields "name" and "URL" and may be others. It should 
be saved already in state=1.

I am afraid to miss something while saving it with 
JahiaContainerService.saveContainer()...

Thank you
__________
www.newmail.ru -- всегда что-то новое.






Reply via email to