i am perusing someone else's modelglue.xml file, and i am trying to
figure out why he runs a result in many of his event handlers. the
result is:
<results>
<result do="view.template" />
</results>
this result just displays a cfm template, in which views are cfoutput
into.
from what i understand, this just runs no matter what, since the
result does not have a name="" attribute that isn't set from the
controller. Like if the name for the above result was:
name="runThisResult"
the result would only be run if a controller function specified to run
the result:
<cfset arguments.event.addResult("runThisResult")>
Now my question is, is there a reason to code a result to always run
no matter what? it just seems pointless that the modelglue.xml file
that i'm looking at was coded this way, but maye i'm missing
something...
hope the question isn't too vague, TIA
--
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