Here is my plugin section that is coded into every machii.xml file.
The code below shows my change for coldSpringPlugin and our custom
plugins:
<plugins>
<!-- ColdSpring autowire plugin. -->
<!--<plugin name="coldSpringPlugin"
type="coldspring.machii.ColdspringPlugin">-->
<plugin name="coldSpringPlugin"
type="coldspring.machii.ColdspringProperty">
<parameters>
<parameter name="beanFactoryPropertyName"
value="serviceFactory"/>
<parameter name="configFilePropertyName"
value="ColdspringXmlPath"/>
<parameter name="configFilePathIsRelative"
value="true"/>
<parameter name="placeFactoryInApplicationScope"
value="true"/>
<parameter name="resolveMachiiDependencies"
value="true"/>
</parameters>
</plugin>
<!-- getUserPlugin, gets the user and puts it into the event args
-->
<plugin name="getUserPlugin"
type="gov.epa.rtp.machii.plugins.GetUserPlugin" />
<!-- security login plugin -->
<plugin name="loginPlugin"
type="gov.epa.rtp.Login.Machii.LoginPlugin">
<parameters>
<parameter name="Application" value="IRMD Web
Application Security" />
<parameter name="calledFromText" value="Cancel" />
<parameter name="calledFrom" value="" />
<parameter name="contentArg" value="content" />
<parameter name="nextEvent" value="admin.mainPage" />
<parameter name="rolePrefixes" value="APPL_" />
<parameter name="roleDsns" value="irmd_security" />
<parameter name="RTPEmployee" value="True" />
<parameter name="templateEvent"
value="showTemplate" />
</parameters>
</plugin>
</plugins>
Every application references these plugins.
Bill Peddy
Web Developer
ECS Team - ITS-EPA II -
Contractor
voice: (919) 541-1329
fax: (919) 541-3700
|------------>
| From: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|Matthew Woodward <[email protected]>
|
>---------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|[email protected]
|
>---------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|05/18/2010 04:31 PM
|
>---------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|Re: [Mach-II] Trying to upgrade from 1.5 to 1.8 received error
|
>---------------------------------------------------------------------------------------------------------------------------------------|
On Tue, May 18, 2010 at 1:26 PM, <[email protected]> wrote:
Thanks Matthew.
I changed to the coldSpringProperty and I think it is working but I am
receiving another error:
How specifically did you change over to use the property? That error
usually indicates you're either referencing a plugin that no longer
exists, or you created your own plugin and aren't extending
MachII.framework.Plugin.
So it's clear, the ColdSpring Property doesn't have anything to do with
plugins.
--
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca/Twitter: @mpwoodward
Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
--
You received this message because you are subscribed to Mach-II for CFML
list.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
***New URLs as of April 29th, 2010***
SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
--
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
***New URLs as of April 29th, 2010***
SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/