On Fri, 21 Sep 2001 22:02, Vassilis Rizopoulos wrote:
> OK, I got wind of Avalon only a short while ago (after an extended period
> of holidays devoid of electronic interference I returned and found ASF
> piling up the new and interesting stuff) and I liked it a lot I should
> say.So I started reading and then I wanted something to implement the ideas
> and API on so...I ported Wiki as a set of components. Don't even begin to
> ask why, it's one of those X-file type things. My idea was to have the
> entry point as a servlet (or a JSP page - JSP works good as a template for
> those familiar with the inner workings of Wiki - But now I found out about
> Velocity, and that looks better) 

sounds interesting. (and go with Velocity unless you need to learn JSP or 
something).

> and the whole functionality on a set of
> Avalon components (so, that would be a Block, no? ) 

Naah Blocks are only things that exist inside the Phoenix kernel

>i.e. request processor,
> page renderer, search engine, page storage. Now, the whole concept goes
> like this:

sounds good.

> I have a JSP page that loads a bean. That bean will serve as the container
> for my service, meaning it will instantiate any components, manage their
> lifecycle etc (can I do that AND use a component manager?). I wrote this
> (keeping the 'Development...' document close at hand)
>
>         DefaultConfigurationBuilder builder = new
> DefaultConfigurationBuilder(); Configuration sysConfig =
> builder.buildFromFile("E:/development/wiki/src/conf/avalon-wiki.xml");
> Configuration roleConfig =
> builder.buildFromFile("E:/development/wiki/src/conf/roles.xml");
> RoleManager roles = new DefaultRoleManager();

replace above with 

DefaultRoleManager roles = new DefaultRoleManager();

and the below should work

>         roles.configure(roleConfig);

-- 
Cheers,

Pete

----------------------------------------------------
"The only way to discover the limits of the possible 
is to go beyond them into the impossible." 
                             -Arthur C. Clarke
----------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to