I'd have to see your BrandManager code. It's not a Mach-II issue --
sounds like an internal problem. If it was a Mach-II issue, the
BrandManager would be gone in the properties. Could you share your code?
MercuryNewt said the following on 06/23/2009 02:07 PM:
> Thanks for the reply, but I don't believe I'm dealing with that
> issue. I have a component with a simple configure method that creates
> a structure "brands" within the variables scope and returns this. The
> component has an addBrand method that adds a structure key to the
> "brands" structure such as "FD" and places a structure within that key
> so that the fully qualified variable for any brand value would be
> variables.brands.FD.whatever = true. Now, once this is all loaded up
> onApplicationStart, I can reference any brand value via the getProperty
> ("brandManager").getBrand("FD").getResource("whatever") and this
> equals "true". (Don't ask me why things are named the way they are,
> I'm just modifying the code ;o) Anyway, the above works for literally
> hours of hitting the application and then all of a sudden an error
> will appear on a page that says the structure key "FD" is not
> available in a structure variables.brands in component
> brandManager.cfc. This doesn't make any sense!
>
> On Jun 23, 10:43 am, jlcox <[email protected]> wrote:
>
>> Often when I find that things go missing on me, it's because I
>> neglected to var-scope a variable properly within a component
>> function.
>>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
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/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---