Greg,

>>>>>>"Daniel" == Daniel Krieg <[EMAIL PROTECTED]> writes:
>>>>>>            
>>>>>>
>
>    Daniel> If I have written an Abstract base class that a Phoenix Block will 
>extend, and this base class depends on another service, will I need to place the 
>@phoenix:dependency name=... in the base class or the subclass?
>
>In my experience, the subclass (i.e. the one that will be referenced in
>block:class attribute). The real question is: will xdoclet (qdox now?)
>go hunting for @phoenix:dependency into parent classes? I believe the
>answer is "No".
>  
>
Correct.  MetaGenerate (which uses QDox) will only process the service 
declarations etc from classes that are marked @phoenix:block.  In 
essence that means the subclasses only.

It /could/ be recoded slightly to drill into parent classes (qdox makes 
that easy), but I suspect there are more reasons against than for.

-ph




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

Reply via email to