I think ModelGlue isn't too pleased you put this component in the application scope. If it were me, I'd have placed the component in ColdSpring, with the rest of my model objects.

It's generally better practice, when using a framework, to stick with the framework and not go around it. By placing the component in the application scope, you are not using the stack as intended.

That said, one could easily fix the model glue code to not continue to assume the components in the application scope belong to Model Glue.

Do you think you can move your ESAPI code into ColdSpring?

Irvin Wilson <mailto:[email protected]>
Monday, November 03, 2014 1:49 PM
BTW, maybe I'm using esapi all wrong.  What I'm doing is setting

<cfset application.esapi = CreateObject("java", "org.owasp.esapi.ESAPI") />

in onApplicationStart and then I have a helper that does

<cfreturn application.esapi.encoder().encodeForHTML(local.strToEncode) />

among other things. I forget some details but I think I have it this way because is ACF9 and ACF10 added encodeForHTML? I just thought better than creating the object each time in helper......



--
--
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
Irvin Wilson <mailto:[email protected]>
Monday, November 03, 2014 11:58 AM
I'm getting these error messages (below) over and over that appear to be related to session end. Does this ring a bell with anyone?

Thank you!

Event Name: onSessionEnd
 Message: Event handler exception.
Root Cause Message: Element EXTENDS is undefined in COMPONENTMETADATA

.....\ModelGlue\Util\ModelGlueFrameworkLocator.cfc



--
--
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
--
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/d/optout.

Reply via email to