You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ulrich Stärk (JIRA)" <ji...@apache.org> on 2010/01/13 08:42:54 UTC

[jira] Commented: (TAP5-975) The number of steps required to configure a Tapestry Component library are too numerous; a single contribution to a new service should configure classpath, prefix, etc.

    [ https://issues.apache.org/jira/browse/TAP5-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799639#action_12799639 ] 

Ulrich Stärk commented on TAP5-975:
-----------------------------------

I once created a maven archetype for component libraries which I'd be happy to contribute...

> The number of steps required to configure a Tapestry Component library are too numerous; a single contribution to a new service should configure classpath, prefix, etc.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-975
>                 URL: https://issues.apache.org/jira/browse/TAP5-975
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Howard M. Lewis Ship
>
> I was just updating the documentation on creating a component library, and there's now seven steps.
> It seems to me that some thing:
> public void contributeComponentLibrary(Configuration<ComponentLibraryDef> configuration)
> {
>   configuration.add(new ComponentLibraryDef("happy", "org.example.happylib", "1.0"));
> }
> ... could cover it all (with perhaps alternate constructors for more precise control over whitelisted assets). 
> This would be accomplished by having contribute methods in a module inject the new service, and pass configurations to it to be added to.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.