If you follow the tutorial, you will end with two blocks containing the
same classes and the same beans (same id). In that case, no one can tell
which class and which bean is used. In my case, bean from one block is
injected with the property of the other block. Of course, as the two
classes and the two property values are the same, no one can notice
anything. But if you customise the two classes and the two property
values, you will get very strange results!
Reinhard Poetz a écrit :
Pierre-Yves Saumont wrote:
Yes, this is correct. Cocoon 2.1 was based on Avallon. Spring is
definitely a much better option. There is a tutorial for version 2.2
with a Spring example. But be carefull, if you follow the tutorial,
you will have a very buggy example. (But a working one!)
What do you mean by buggy?