On 28/05/2010 16:26, Adrian A. wrote: > Wouldn't this be a better approach? > https://issues.apache.org/jira/browse/CLK-565 > > i.e. to do the chaining only in the corresponding Builder classes, > and to let the Click core API as it is?
While those patterns are useful they add another layer of complexity and don't fit well at the framework level. ControlFactory for example will be tied with the application being built. If you want all your fields to have a specific CSS class it could be encapsulated inside the factory. CLK-565 would make for a good example on how to centralize control creation. Regards Bob
