I succed to make my document works fine with only zope models.
I use a DTML document (name list) that list other DTML documents with the fields i want (named ASO-1234-01 for example). I add a submit button that call a python script wich create others DTML Documents, and refresh the list document.
Now i want to integrate that in CPS. I want this List to appear in the main content of a folder in CPS.
For example if i go to cps/chronos i want to see the CPS decoration (navigation bar, header, breadcrumb, etc) and the list as main content of the folder.
How can i do that?
thank you,
Adrian
On 5/2/06, lopez adrian <[EMAIL PROTECTED]> wrote:
Hello,
I want to have a page wich can allow a user to reserve a chrono number
(for indexing documents like that XXX-nnnn-vv-dd : ASO-12358-01-A) and
to list all the chrono numbers taken before:
ASO-12358-01-A
ASO-12359-01-A
ASO-12360-01-A
etc...
I make a dtml document that list a folder contening others dtml
documents with this attributes : year-type-chrono-author.
In this dtml document i also include a form that permits to reserve
the next chrono number of the list. The form call a python script wich
role is to create a new chrono dtml document in the folder with the
good chrono number.
After the action, the list page is refresh.
Now i want to include this page in the intranet with CPS theme added behind.
Is this the good solution o do i have to take an other way to make what i want?
If its the good solution how can i add the CPS theme to the dtml document?
Thank you,
Adrian Lopez
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
