Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add a LibraryMapping for com.howardlewisship.tapx.prototype

  • Loading branch information...
commit 9b496399fa1aa796085fe1adb2cfef650de34cda 1 parent 5488194
@jochenberger jochenberger authored
View
8 tapx-prototype/src/main/java/com/howardlewisship/tapx/prototype/PrototypeModule.java
@@ -14,7 +14,9 @@
package com.howardlewisship.tapx.prototype;
+import org.apache.tapestry5.ioc.Configuration;
import org.apache.tapestry5.ioc.MappedConfiguration;
+import org.apache.tapestry5.services.LibraryMapping;
public class PrototypeModule
{
@@ -22,4 +24,10 @@ public void contributeFactoryDefaults(MappedConfiguration<String, String> config
{
configuration.override("tapestry.scriptaculous.path", "com/howardlewisship/tapx/prototype");
}
+
+ public static void contributeComponentClassResolver(final Configuration<LibraryMapping> configuration)
+ {
+ configuration.add(new LibraryMapping("tapx", "com.howardlewisship.tapx.prototype"));
+ }
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.