ColdBox Framework Forums Notification: Post to ApplicationStorage plugin exists method should be public

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.

many thanks
http://forums.coldboxframework.com/index.cfm?event=ehMessages.dspMessages&threadid=4115352A-FF65-CEF6-65849125E0B7D316