Hi users,
In my java component I am handling the creation of spaces and pages. The
point is to write a java method that can create and update spaces and
terminal pages contained in them according to some data structure.
I already have created XClasses, XObjects and Sheets to handle the content
representations of both spaces and terminal pages, but the problem is that
I can´t put the pages inside the correct spaces.
I thought that the space´s Webhome page is a document like any other page,
thus I´ve managed it like the other terminal pages. Terminal pages creation
is ok, meaning that the content are diplayed properly, but the they are
contained in spaces that haven´t a page (if I go in the space´s page I am
asked to create it because it doesn´t exist), meanwhile there are other
pages which have the content that should be displayed in the space page.
Example of the structure that I have:
Space
Space(with no content/xobject)
Terminal Page
Terminal Page
.
.
.
Page with space´s content/xobject
Space(with no content/object)
Terminal Page
Terminal Page
.
.
.
Page with space´s content/object)
.
.
.
So my question is how do I have to create the space´s page if I want to
associate an XObject for the content representation? I used resolver for
both spaces and document, so I think that the references are handled
correctly...
Sorry for the long post and thank you for your answers.
Giordano.