Hi Doug & Rich,

I decided it'd be a good learning experience for me to try and have a
go at this myself.  I tend to learn more that way than when I'm
presented with a completed example anyway.  However I wouldn't mind a
hint or two, if you can please spare a moment  ;-)

The first issue I've hit is that in my ModelGlue.xml I have something like this:

<controller id="Controller" type="muramg.controller.Controller">

However when the plugin is installed it goes into the plugins dir, so
I get an error along the lines of:

Could not find the ColdFusion component or interface
muramg.controller.Controller.

I could create a mapping, but I don't really want that to have to be
part of the plugin install process.  In one of Grant Shepert's
examples I notice he creates the fw1 object like this:

<cfset var fw1 =
createObject("component","#pluginConfig.getPackage()#.Application") />

Is there any way to set the controller's package dynamically in MG?

Andrew.

On 31 March 2011 07:47, Doug Hughes <[email protected]> wrote:
> I have one prepared.... I just haven't had the time to get it wrapped up
> nicely.
> Doug Hughes, President
> Alagad Inc.
> [email protected]
> 888 Alagad4 (x300)
> Direct: 651 Alagad4 (651-252-4234)
> Fax: 888-248-7836
>
> Follow Alagad on Twitter: @AlagadInc
> Follow Doug @DougHughes and @DougsIdeas
> Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318
>
>
> On Wed, Mar 30, 2011 at 3:32 PM, Rich <[email protected]> wrote:
>>
>> Andrew-
>> As soon as I get my code done I'll let you know. I've actually got several
>> apps that I plan to wrap into a plugin and integrate into Mura, so as soon
>> as I get time (?) I'll send on what I've got.
>> Thanks,
>> Rich
>>
>> On 3/29/11 4:39 PM, Andrew Myers wrote:
>>
>> Thanks for the follow-up Rich.  I've been playing with FW/1 a bit (and
>> I do like it), but I have quite a bit invested in Model-Glue already
>> and am pretty keen to get MG and Mura working together.  I'll check
>> out the links.
>>
>> If you're in a position to share what you're doing it might be good to
>> compare notes as we go?
>>
>> Andrew.
>>
>> On 30 March 2011 00:00, Rich <[email protected]> wrote:
>>
>> Andrew-
>>
>> I'm actually working on one as we speak and also found a blog posting on
>> integrating a non-front end controller app into Mura:
>>
>> http://www.getmura.com/blog/integrating-an-application-without-a-front-end-controller-into-mura-cms/
>> Check with www.grantshepert.com apparently he's Mr. Mura Plugin ;-)
>>
>> Rich
>>
>> On 3/28/11 8:54 PM, Andrew wrote:
>>
>> Hi,
>>
>> I am wondering if anyone has an example of using model-glue to create
>> a plugin for Mura CMS?
>>
>> Andrew.
>>
>> --
>> Model-Glue Sites:
>> Home Page: http://www.model-glue.com
>> Documentation: http://docs.model-glue.com
>> Bug Tracker: http://bugs.model-glue.com
>> Blog: http://www.model-glue.com/blog
>>
>> You received this message because you are subscribed to the Google
>> Groups "model-glue" group.
>> 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/model-glue?hl=en
>>
>> --
>> Model-Glue Sites:
>> Home Page: http://www.model-glue.com
>> Documentation: http://docs.model-glue.com
>> Bug Tracker: http://bugs.model-glue.com
>> Blog: http://www.model-glue.com/blog
>>
>> You received this message because you are subscribed to the Google
>> Groups "model-glue" group.
>> 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/model-glue?hl=en
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> 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/model-glue?hl=en

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
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/model-glue?hl=en

Reply via email to