Config mode is 0 only looks for changes in the xml file, not listeners.
What's your config mode set to?
*It's set to 1*...
What does the event-handler look like as I asked before? If you can paste in
a copy that would be great.
*<event-handler event="blog" access="public">
<notify listener="BlogMessage" method="Read"
resultArg="message"/>
<notify listener="BlogComments" method="Read"
resultArg="comments"/>
<view-page name="user.blog.message"
contentKey="request.content"/>
<announce event="template.content"/>
</event-handler>
I"ve seen that I'm suposed to use contentArg="content" but I don't see how
that would affect why it doesn't acknowledge an event parameter inside the
Read function (I'll change it later when I can troubleshoot this
issue).* *I've
had to set it to resultKey for it to work or it won't recognize it..*
Are you sure that CF's component caching is off with your host? You can test
by putting an abort with a message in your listener method.
*Yes, it's working... I"m making changes to it and it's acknowledging my
changes*
> So did you replace all paths in the MachII core with "app_MachII" since
you're not using the supported path? Mapped paths for common frameworks on
shared hosts is a big no no anyways. Your host should really have a policy
against it or use a "username_MachII" approach for mappings or use app
specific mappings (if using CF8 or other engines).
*
I replaced all the paths.. I've been using it for several years now. I just
do a search and replace on "machII." to "app_machII." to replace it and it's
worked pretty good. I ran into an issue in the fall with CF8 because I also
didn't use the application.cfc vs application.cfm, it just kept breaking!*
> I suspect your application is not being reloaded as you suspect it is.
> You might consider setting a local development machine with CF8 dev
editition (free) and Apache. It's much easier to test / develop apps
locally.
*It is, it takes forever to load up and I'm making changes to it. when I
changed how I invoked my listeners, it was suggested that I just call the
events paramater in a function, and to use event.getArg("param") to
reference the others but it's not recognizing it...*
*
If i change it to ResultKey it works, resultArg does'nt work.. So right now
the whole site doesn't work with the change, the functions don't recognize
any of the parameters so it's reading the first one in the record...
I really appreciate your help on this..
Dave
*>
> .Peter
>
>
> -----Original Message-----
> From: David D-V Tran <[email protected]>
>
> Date: Sat, 22 Aug 2009 14:19:35
> To: <[email protected]>
> Subject: [Mach-II] Re: dtd
>
>
>
> I'm on a shared hosting service...
> yeah someone else already mapped machII on my server so I had to name
> it app_machII...
>
> On Sat, Aug 22, 2009 at 2:16 PM, Matthew Woodward<[email protected]>
wrote:
>> David D-V Tran wrote:
>>>
>>> There is no output on resultArg, but there is one for resultkey. and
>>> It doesn't recognize that arguments.event.getArg("title") exists... I
>>> converted the listeners invokers :
>>
>> Did you restart your CFML engine?
>>
>> I also notice you have "app_MachII" instead of just "MachII"--you sure
>> you're pointing to the right stuff?
>>
>> --
>> Matthew Woodward
>> [email protected]
>> http://www.mattwoodward.com/blog
>>
>> 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
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---