Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# gedw99 4/10/2006 7:36 AM
i am usig the template management part of the admin to configure the searhc input and search result.

They dont seem to want to pay together.
i connectot them, but then the i get this when i click add connector.

Type moduleTypeType = Type.GetType(assemblyQualifiedName);
Line 107: Section dummySection = new Section();
Line 108: ModuleBase moduleInstance = (ModuleBase)Activator.CreateInstance(moduleTypeType);
Line 109: if (moduleInstance is IActionConsumer)
Line 110: {

Gerard
# martijnb 4/10/2006 10:24 AM
This is broken in the current SVN trunk. The call to Activator.CreateInstance() should be replaced with a call to the Castle container to get an instance of the module because, for example, the DownloadsModule now has two parameters for dependency injection. The simple Activator.CreateInstance() call assumes a parameterless constructor.