Custom block parameters

David Leangen dleangen at canada.com
Tue Nov 2 00:48:52 EST 2004


Ok, thanks.

I guess I'll understand more once I see the actual code...


> -----Original Message-----
> From: support-dpml-bounces at lists.ibiblio.org
> [mailto:support-dpml-bounces at lists.ibiblio.org]On Behalf Of Niclas Hedhman
> Sent: 2 November 2004 13:02
> To: Support
> Subject: Re: Custom block parameters
>
>
> On Tuesday 02 November 2004 10:58, David Leangen wrote:
>
> > So, IIUC, the helper object is given a reference to the
> instantiated gizmo
> > object, and is given a chance somewhere in gizmo's lifecyce to
> modify it's
> > configuration?
> >
> > If so, where in the lifecycle would this be? Seems that it
> would have to be
> > AFTER configure()... In this case, the helper object would have to have
> > some configuration knowledge. I'd rather encapsulate all the
> configuraiton
> > logic in the configuration() method...
> >
> > Or am I mistaken? You are suggesting that the Configuration object be
> > modified before gizmo is instantiated, so gizmo is none the wiser?
>
> Steve is explaining things at a very, very low level.
> >From a component's point of view, you need to declare a context entry
> requirement in the contextualize() method, and the information will be
> available from there.
>
> No Configuration object would be involved, but a Context.
>
>
> Cheers
> Niclas
> --
>    +------//-------------------+
>   / http://www.bali.ac        /
>  / http://niclas.hedhman.org /
> +------//-------------------+
>
> _______________________________________________
> support-dpml mailing list
> support-dpml at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/support-dpml




More information about the support-dpml mailing list