cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: 'Hello World' for Cocoon component builders?
Date Mon, 17 Oct 2005 17:09:57 GMT
David Legg wrote:
> Thanks for all the responses.
>
> Kai Mutz wrote:
>> Check this:
>> http://excalibur.apache.org/developing/index.html
>
> Thanks for the link Kai.  As it happens I had already read that 
> article and it came closest to the sort of thing I was looking for.

You can also have a look at 
http://cocoon.zones.apache.org/daisy/documentation/g2/610.html

>> You have to define a Component as "the combination of a work 
>> interface and
>> the implementation of the interface":
>
> I saw this phrase on the web site and wondered at the time if it was 
> the key.  But the real clincher was the code snippet you sent.  
> Thanks!  That brought it all together in one place in a way that the 
> other articles didn't.
>
> My initialise() method is now sending a log message (strangely not at 
> Cocoon boot time but the first time I access the web app).  I think I 
> can take it from here.

This is because initialization doesn't inevitably mean "at startup 
time". Depending on the case, it can also happen the first time the 
component is used.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message