tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-1228) The need to configure the tapestry.alias-mode symbol makes it awkward to start a Registry up for unit testing purposes
Date Sat, 21 Aug 2010 16:46:18 GMT

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

Hudson commented on TAP5-1228:
------------------------------

Integrated in tapestry-5.2-freestyle #177 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/177/])
    TAP5-1228: The need to configure the tapestry.alias-mode symbol makes it awkward to start
a Registry up for unit testing purposes


> The need to configure the tapestry.alias-mode symbol makes it awkward to start a Registry
up for unit testing purposes
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1228
>                 URL: https://issues.apache.org/jira/browse/TAP5-1228
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.2.0
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.1
>
>
> To start Registry should be as simple as:
> 		registry = RegistryBuilder.buildAndStartupRegistry(TapestryModule.class);
> (or specify an AppModule.class as well)
> but that fails because tapestry.alias-mode is not defined.
> Tapestry should provide a default for tapestry.alias-mode so that it isn't necessary
to create an extra module, such as:
> @SubModule(TapestryModule.class)
> public class TestingModule
> {
> 	public static void contributeFactoryDefaults(MappedConfiguration<String, String>
configuration)
> 	{
> 		configuration.add(InternalSymbols.ALIAS_MODE, "servlet");
> 	}
> }
> (of course, it's a question about if alias mode is even needed, once T5 finally gets
portlet support; it's a hold-over from T4).

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


Mime
View raw message