Sean

We are time warping this thread. Your message appeared here 15 hours after
you sent it.

At the moment I'm keeping things simple. I'm just trying to get the mach-ii
app  to use my action pack security functionality. I'm not changing the
whole app to use Coldspring yet.

Thus the Mach-ii.xml is pointing directly to the actionpack Coldspring.xml

<mach-ii>
  <properties>
    <property name="coldspringConfigFile"
value="/actionpacks/security/config/ColdSpring.xml" />
  </properties>

  <plugins>
    <plugin name="coldSpringPlugin" type="coldspring.machii.ColdspringPlugin
">
        <parameters>
            <parameter name="beanFactoryPropertyName"
value="serviceFactory"/>
            <parameter name="configFilePropertyName"
value="coldspringConfigFile"/>
            <parameter name="configFilePathIsRelative" value="true"/>
            <parameter name="resolveMachiiDependencies" value="true"/>
        </parameters>
    </plugin>

    <plugin name="SecurityPlugin" type="
security.machii.plugins.SecurityPluginActionPacks">
        <parameters>
            <parameter name="ConfigXmlPath" value="/myapp/config/mach-ii.xml"
/>
        </parameters>
    </plugin>
  </plugins>
</mach-ii>


On 9/6/07, Sean Corfield <[EMAIL PROTECTED]> wrote:
>
> On 9/5/07, Bryan S <[EMAIL PROTECTED]> wrote:
> > O.K. I now have no init method in my listener. I do have the configure
> > method below. If I comment out the code inside of it I get the error
> message
> > Element INSTANCE.SECURITYSERVICE is undefined in VARIABLES.
>
> Is your action pack ColdSpring.xml file <import>'d into the main
> ColdSpring.xml used by the Mach-II ColdspringProperty.cfc? If not,
> there's no way the property / plugin can know what to inject.

Reply via email to