cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Actions+SourceResolver
Date Fri, 23 Jan 2004 18:34:26 GMT
On 23.01.2004 10:37, wrote:

>>>How can I resolve the location of the file when configuring an action (in
>>the configure() method)? Should I use a SourceResolver? 
> So, how do I get a SourceResolver instance in the configure(). 
> Use a ServiceableAction and ask the manager? but does the service()
> method really get called before configure() ?
> any other direct solution? for the 
order of the method calls (= lifecycle).

Don't resolve it configure()? Why do you want to do it there? It should 
just *configure* the action. You get a source resolver in the act() method:

public Map act (Redirector redirector, *SourceResolver resolver*, Map 
objectModel, String src, Parameters par) throws Exception {


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message