You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2010/04/19 20:39:49 UTC

[jira] Closed: (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:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-975.
-------------------------------------

    Resolution: Invalid

Fixed as part of TAP5-769; each LibraryMapping now becomes a ClasspathAssetAliasManager contribution as well, and the application version number is universally used instead of the library version number.

> 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.