Thorsten Scherler wrote:
> El mié, 01-03-2006 a las 17:37 +0100, Joern Nettingsmeier escribió:
>> hi *!
>>
>>
>> i'm trying to understand and modify the CForms module in 1.4.
>> 2 issues:
>>
>> * where is the flow script? i can't find it :(
>
> There is non. It is configured via
> modules/cform/config/cocoon-xconf/usecase-edit.xconf
> http://wiki.apache.org/lenya/HowToCFormsInLenya1%2e4?highlight=%28cform%
> 29
oh shit, i have overlooked that one. sorry. it describes exactly what i
need.
>> * do i need to add multiple counter variables to it when i want to use
>> multiple repeaters?
>
> ¿? Do not understand what you are trying to do? Sorry, can you explain.
the input of my xsl is an arbitrary relax ng grammar (with a few
restrictions, such as no refs, no mixed content, no interleaves, and
choices only if they contain nothing but values).
the xslt transforms it into a model, a template, a binding declaration
and a flow script (or, as i now know, into a usecase description).
it's not known in advance how many repeaters there are, so iiuc, my xsl
must declare and inititalize counter variables for them depending on the
grammar, and i can't use a fixed flowscript.
> I have developed a quite complex editor based on cforms (called
> composer). You can create a collection document out of x documents
> stored in your pub via the lenya site tree. Including multi-repeaters,
> ajax previews, custom submit events, ...
>
> Sorry, ATM I cannot share the code because it is in a client project.
> Maybe the client agrees to release it as module but do not hold your
> breath. ;) Anyway, it is based on the implementation described in above
> link with a custom usecase.
i understand. hopefully your client will eventually agree to release it,
though.
best,
jörn
--
"Án nýrra verka, án nútimans, hættir fortíðin að vekja áhuga."
"Without new works, without the present the past will cease to be of
interest."
- Ásmundur Sveinsson (1893-1982)
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]