Sometimes it codes better, too ... separation of concerns.

On Thu, Feb 4, 2010 at 9:43 AM, cordenier christophe
<christophe.corden...@gmail.com> wrote:
> Hi
>
> I have chosen the second solution. It works fine.
>
> Regards,
> Christophe
>
> 2010/2/4 Howard Lewis Ship <hls...@gmail.com>
>
>> Contribute a map of <String, Boolean> instead.
>>
>> Or have two services to manage the list and a third service that makes
>> use of the first two services (& their configurations).
>>
>> On Thu, Feb 4, 2010 at 5:34 AM, cordenier christophe
>> <christophe.corden...@gmail.com> wrote:
>> > Hi,
>> >
>> > I have a use case where i want to provide to my service a white list + a
>> > black list of patterns.This list must be extensible by the service user
>> via
>> > a contributeXxx method.
>> > The DefaultModelDef does not allow this.
>> > I guess this is a design choice, but is it reasonnable to say that the
>> > contributeXxx should have as many configuration parameters as the service
>> > constructor to accept the contribution method ?
>> >
>> > Regards,
>> > Christophe
>> >
>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> Regards,
> Christophe Cordenier.
>
> Developer of wooki @wookicentral.com
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to