I do much the same, here is my exception controller:
http://pastebin.com/f68858ef8And here is handleException method from my
exceptionService: http://pastebin.com/fc3c74d4
then I just have a  named result in my exception event that looks like
this: http://pastebin.com/f502b3bd9

Hope that helps you guys!

Chris Peterson

On Wed, Sep 10, 2008 at 3:20 PM, Rich <[EMAIL PROTECTED]> wrote:

>
> it's soooo good to know that great minds, and guys named "Richard" think
> alike ;-)
>
>  - that's exactly how I did it.
>
> Rich
>
>
>
> cs01rsw wrote:
> > Hi,
> >
> > i am new to modelglue and was also wondering the same:
> >
> > would it be best to create a piece of code in the exception event
> > handler that check the type of error message. then if it is an unkown
> > event error then it can send them to a page saying unknown event with
> > a back button to the previous interface?? does anyone else do it this
> > way, and would this be the best way?
> >
> > thanks
> >
> > richard
> >
> >
> >
> > On Sep 3, 5:10 pm, Rich <[EMAIL PROTECTED]> wrote:
> >
> >> Hi Gang-
> >>
> >> Was just wondering if everyone is using a particular method of handling
> >> the issue of a missing or incorrectly typed event in their Model-Glue
> >> code. For example, I have "www.mysite.com/index.cfm?event=home".
>  "home"
> >> is an event, I have coded for it, all is well. But how does everyone
> >> handle when a user enters "www.mysite.com/index.cfm?event=fome" and
> >> "fome" is not an event that I have coded for?  I've implemented the
> >> "exception" event but only in a way to handle other kinds of CF errors,
> >> not missing template errors or missing event errors. Does everyone use
> >> the exception event for this as well?
> >>
> >> Anyone?
> >>
> >> Thanks,
> >>
> >> Rich
> >> --
> >>
> >> Rich Leach
> >>
> >> [EMAIL PROTECTED]
> >>
> >> 303-913-7338
> >>
> > >
> >
> >
>
> --
>
> Rich Leach
>
> Advanced Certified Adobe ColdFusion MX Developer
>
> [EMAIL PROTECTED]
>
> http://www.cfsnap.com (New & Improved!)
>
> 303-913-7338
>
>
>
> >
>


-- 
Hey! I dont tell you how to tell me what to do, so dont tell me how to do
what you tell me to do! ~ Bender (Futurama)

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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to