Yes, this is true.
The problem is that i've application developed with mg3 prior than
finel ver, so if i will convert them to final, i've to test them
carefully.
for a new application developed with mg3 final you are right.
regards
salvatore

On 4 Set, 21:04, Dennis Clark <[email protected]> wrote:
> I'm getting a bit of déjà vu here. I believe some pre-release versions of
> Unity did not enforce the access="private" either, and the app I built with
> it broke in a very similar way when I upgraded to the final release of
> Unity. My fix was to remove the access="private" from any event handlers
> that were the target of a redirect.
> These days I only use private event handlers for result post-processing,
> such as broadcasting high-level logging or workflow processing (determining
> what the next task is now that the current task has been completed). I see
> private event handlers as a primitive way of doing "if-then" message
> broadcasting in what is otherwise a single logical event.
>
> If the result of a broadcast is really just a display event, then a redirect
> to a public event works better than adding a private event to the event
> stack. You may end up doing some duplicate processing this way (e.g.
> checking authorization again when you've just completed login processing)
> but decoupling your events this way brings more flexibility, security, and
> robustness to your application.
>
> -- Dennis
>
>
>
> On Fri, Sep 4, 2009 at 11:28 AM, Dan Wilson <[email protected]> wrote:
>
> > Very interesting message.
>
> > From my understanding, a redirect is simply a wrapper for a
> > cflocation. Thus, the redirection creates a new http request and as
> > such will look like a top level event to your model glue application.
>
> > Top level events must be public, so i'm surprised to hear your report
> > that redirecting to a private event actually worked in a previous
> > version.
>
> > Would you be able to retest this?
>
> > Dan
>
> > On 9/4/09, salvatore fusto <[email protected]> wrote:
>
> > > Hi,
> > > in an app i'm converting to mg3 final, i've an event defined as
> > > private, and of course i redirect to this event only with a result-do
> > > action.
> > > with mg3 alpha this works fine, with the public version of the
> > > framework i get the error:
> > > Oops!
> > > Message       This event-handler is private.
> > > Detail
> > > Extended Info
> > > Tag Context   C:\ColdFusion8\wwwroot\ModelGlue\gesture\eventrequest
> > > \phase\Invocation.cfc (48)
> > > C:\ColdFusion8\wwwroot\ModelGlue\gesture\eventrequest\EventContext.cfc
> > > (155)
> > > C:\ColdFusion8\wwwroot\ModelGlue\gesture\ModelGlue.cfc (215)
> > > C:\ColdFusion8\wwwroot\ModelGlue\gesture\ModelGlue.cfm (58)
> > > C:\ColdFusion8\wwwroot\newArtea\index.cfm (75)
>
> > --
> > “Come to the edge, he said. They said: We are afraid. Come to the
> > edge, he said. They came. He pushed them and they flew.”
>
> >  Guillaume Apollinaire quotes
>
> > --~--~---------~--~----~------------~-------~--~----~
> > 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- Nascondi testo citato
>
> - Mostra testo citato -
--~--~---------~--~----~------------~-------~--~----~
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