so its mainly used to store other event names? Any other practical uses? On Jun 24, 9:28 am, Brett Herford-Fell <[email protected]> wrote: > mm... still confused, but will take another look.. > > > > > > > > On Fri, Jun 24, 2011 at 8:54 AM, Dan Wilson <[email protected]> wrote: > > I like to use that notation to refer to event variables. > > > The reason why, is if you define your paths like that in the MG XML, you > > can use the XML as a blueprint to follow the actions in your application > > without opening any ColdFusion code. > > > The other method would be to put the event value of a link or form. That > > would work, but you'd lose the ability to read your XML like a blueprint. > > > DW > > > DW > > > Sent from a mobile. Please excuse brevity and typos. > > > -----Original Message----- > > From: Brettski <[email protected]> > > Sender: [email protected] > > Date: Thu, 23 Jun 2011 15:07:14 > > To: model-glue<[email protected]> > > Reply-To: [email protected] > > Subject: [Model-Glue] MG Docs, my brain is hurting > > > Just reading over the docs, making sure I've not missed anything and I > > don't understand this.. > > >http://docs.model-glue.com/wiki/QuickStart/4%3AHandlingaForm#Quicksta... > > > <event-handler name="translationFormAction"> > > <broadcasts> > > <message name="NeedTranslation" /> > > </broadcasts> > > <views> > > <include name="body" template="dspPhrase.cfm"> > > <value name="xe_translationForm" value="translationForm" / > > > </include> > > </views> > > </event-handler> > > > What is the value of this line? > > > <value name="xe_translationForm" value="translationForm" /> > > > It's used later to do this, but I don't really understand how / why I > > would do this in production? > > > <cfset translationForm = event.linkTo( xe_translationForm, "phrase" ) / > > > Any help appreciated as always :) > > > -- > > 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 > > > -- > > 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
-- 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
