Title: RE: ApplicationStorage plugin exists method should be public
Thread: ApplicationStorage plugin exists method should be public
Forum: Bugs (ColdBox)
Conference: ColdBox
User: sanaullah73 Hi
you can check if the value exist or not.
[code]
<cfset appStorage =
getPlugin("applicationStorage") />
<cfif not
appStorage.getVar("someObject")>
<cfset someObject =
createObject("component", "path.to.someObject").init() />
<cfset appStorage.setVar("someObject", someObject) />
</cfif>
[/code]
will add ticket for this now.