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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
