Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add a LibraryMapping for com.howardlewisship.tapx.prototype #24

Merged
merged 1 commit into from

2 participants

jochenberger Howard M. Lewis Ship
jochenberger
Collaborator

this fixes tapx-prototype being used without tapestry-core

Howard M. Lewis Ship hlship merged commit 9b49639 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
8 tapx-prototype/src/main/java/com/howardlewisship/tapx/prototype/PrototypeModule.java
View
@@ -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"));
+ }
+
}
Something went wrong with that request. Please try again.