Hi Jürgen,
Juergen Ragaller schrieb:
[...]
do you think your changes are generic enough to be committed? I guess
editing DB content with CForms using the usecasedocument module is
quite a common scenario, and would add a lot of value to Lenya.
I'm not a 100% shure. What I do not understand (yet) is the purpose of
the xhtml2xhtml.xsl transformation step in usecasedocument/sitemap.xmap.
Can you explain it's purpose?
the naming of the file is a bit strange - it follows the convention
{resourceType}2{format}.xsl, and in this case both happen to be "xhtml" :)
The stylesheet adds the bxe_xpath attribute in the "edit" rendering mode
and does some formatting of download links.
Adding the cocoon i18n should be ok, I think.
Below I attached what I did to get the cform usecase working on top of
the usecasedocument module.
If nobody else objects, IMO you should check it in. The only thing that
bothers me is that we have code duplication between the usecasedocument
module sitemap and the usecase sitemap. When I created the
usecasedocument sitemap, I didn't see a straightforward way to avoid the
duplication. But it's certainly worth a closer look.
Thanks for your contribution!
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]