I have a general question on event.setValue. I have a habit of using
event.setValue in the controller even if the value already exists. For
instance, if a controller has
<cfset local.someVar = trim(arguments.event.getValue("someVar")) />
then after a successful controller process I'll add
<cfset arguments.event.setValue("someVar", local.someVar) />
,along with any newly created vars, at the bottom of the controller
function just prior to returning.
Things work just fine without doing that but it seems at one point they
didn't and I forget why so I got in this habit. Any benefit/hindrance to
it besides the obvious extra work for the server if it's not necessary?
It seems like I got into this because of something to do with "append" in
modelglue.xml but I forget what.
Thank you!
--
--
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
---
You received this message because you are subscribed to the Google Groups
"model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.