Ok, maybe I am being too simplistic, but isn't a normal url request, like GET or POST, invoking a request handler? I am still not following the need for what you are asking, the view should not have anything but display and links, to have the view actually invoke a handler / controller / service directly would muddy the waters for me.
Chris Peterson On 5/27/09 7:06 AM, "andreacfm" <[email protected]> wrote: > > Zac, > > I think It was not clear. > I want to call a MG eventHandler from the view outside of the implicit > event queue. > > I see a public method like: > > event.executeEventHandler() > > That I am not able to run properly. > > I cannot event think MG do not allow this. > > Andrea > > On May 27, 10:00 am, Zac Spitzer <[email protected]> wrote: >> AddResult() is the MG way to do that, >> >> it would be nice and easier to understand if a result name was >> optional, ie allow just specifying the event name for a <RESULT> >> >> it's great to have aliases, but looking over a lot of my modelglue xml >> files, there seems to be a lot of duplication caused by the mandatory aliases >> >> ie >> <message-listener message="onRequestStart" /> >> implies >> <message-listener message="onRequestStart" function="onRequestStart" /> >> >> z >> >> On Wed, May 27, 2009 at 5:12 AM, andreacfm <[email protected]> wrote: >> >>> Hi, >> >>> I was trying to implement a sort of view-let in MG. >>> Is there a way to runa specific eventhandler from a view. >> >>> Something like runEvent('myEvent') >> >>> Thanks >> >>> Andrea >> >> -- >> Zac Spitzer -http://zacster.blogspot.com >> +61 405 847 168 > > --~--~---------~--~----~------------~-------~--~----~ 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 . -~----------~----~----~----~------~----~------~--~---
