Justin Fagnani-Bell napisaĆ(a):
I suppose that's a 2.2 block? I see no docs mentioning it.
Yes, it's 2.2 block, docs can be found here:
http://cocoon.zones.apache.org/daisy/documentation/864/751.html
It is now the place where docs are baked up. Feel free to improve them
as there is much room to shine ;)
That's fine with me, it's a better separation of V and MC, I just
always hated having to really struggle to get XSL to give me the
output I wanted when I could do it much easier in Java. Things like
tables, ordering, color-coding, grouping, etc. Jeni Tennison's XSL
pages helped a lot, but that experience made me appreciate have a full
programming model at my disposal, not a chosen subset implemented by
the template language. And XSL's very powerful compared to most
template languages out there. I guess I'll see with JXTemplate...
I see your point and agree with that.
JX enable you to pull your data from model into XML in very convenient
yet powerful way. There are loops for iteration, ifs and chooses. But JX
doesn't try to pull data from e.g. database, it demands
flowscript/javaflow to prepare POJOs (or even simple one array) which
became source of the data to be pulled. I think it is good design and as
you said better separation.
I've been following the dev mailing list for a little while, trying to
get a handle on where Cocoon is heading. I had to get started though,
and seeing how some of the devs had a hard time getting 2.2 up and
running I thought I'd go with 2.1.9.
It may sound quite weird but for me it seems that C2.2 is much easier to
run for newcomer than for developer. See my [1] and Patrick's [2] mails.
Developers have hard time getting 2.2 because maven has some issues with
getting updates into account. The best is to try for your own! More
people testing, fixing some urgent issues means greater chance for M1
released soon. I found myself running most of the CForms samples running
fine. This is a proof that 2.2 is not in chaos as CForms is quite
complicated beasts and exploits many parts of Cocoon.
PS. Yes, I'm making some buzz about 2.2 but only because I think it's
worth it.
[1] http://thread.gmane.org/gmane.text.xml.cocoon.devel/65196/focus=65225
[2] http://thread.gmane.org/gmane.text.xml.cocoon.user/57038/focus=57052
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]