Ahh! Thanks. I didn't realize that the type needed to match the
location. I changed that and now it works. :-)

I have the listener in a listener directory, and the beans in a model
directory. I did it that way based on the skeleton, but I noticed in
the tutorial files were grouped in directory by object type. Is there
a specific convention on which one is better?

On Aug 30, 6:49 pm, Matthew Woodward <[email protected]> wrote:
> Collectonian wrote:
> > Message: The value returned from the getCategoryDetail function is not
> > of type category.
>
> Unless your listener is in the same directory as your category bean,
> you'll need to specify model.category intead of just category.
>
> Also a bit of convention as an FYI--typically you'll have your bean
> names start uppercase (Category.cfc) and your instances be lowercase
> (category), and if you're on Linux case *will* matter for instantiating
> CFCs.
> --
> 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
>
>  smime.p7s
> 4KViewDownload

--~--~---------~--~----~------------~-------~--~----~
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