Yeah I hadn't touched  Mach-ii since the first version until last
fall.  It was quite a change.

Sorry for all the questions...

<cffunction name="get">
    <cfargument name="event" type="app_MachII.framework.Event"
required="true" />

  <cfquery name="qRead">
select * from db
<cfelseif arguments.event.getArg("title") neq "">
 link = <cfqueryparam cfsqltype="cf_sql_varchar"
value="#arguments.event.getArg("title")#">
</cfquery>
<cfreturn qRead/>
</cffunction>

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 :

<listeners>
                <listener name="BlogCategory" type="system.model.BlogCategory"/>
                <listener name="BlogComments" type="system.model.BlogComments"/>
                <listener name="BlogMessage" type="system.model.BlogMessage"/>
                <listener name="BlogNotification" 
type="system.model.BlogNotification"/>
</listeners>

am i missing something here? I appreciate your patience and help!
Dave


On Sat, Aug 22, 2009 at 1:34 PM, Matthew Woodward<[email protected]> wrote:
> David D-V Tran wrote:
>>
>> aaaah. so I don't have to  do each individual argument anymore. wow,
>> this is gonna take some time to convert all this stuff.
>> Thanks so much Matt.
>
> Glad to help.
>
> Actually you never did have to do each individual argument--there have
> always been an EventInvoker (event object as a single argument) and an
> EventArgInvoker (individual event arguments), but unless you have a specific
> reason to do so, it's always been preferable to use the EventInvoker.
>
> --
> 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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to