Great, thanks. Alas, I made that change, checked it again against the docs,
and made sure it all worked fine in 1.6 (still does). So tried again to
upgrade our servers to 1.8. Same problem is still there:
The method deconfigure was not found in component /var/www/html/developmnt/
srac2.vlan-two.com/model/SessionFacade.cfc. In my config, I changed the line
to
<!-- sessionProperty - to control session and keep it separate from
framework and MVC -->
<property name="sessionProperty" type="properties.SessionProperty"
/>
I updated all code to refer to sessionProperty instead of the original
sessionFacade.
*-- SessionProperty.cfc* --
<cfcomponent displayname="SessionProperty"
extends="machII.framework.Property" output="false">
<cffunction name="configure" access="public" output="false">
<!--- create the sessionProperty and store it in the property mgr
--->
<cfset var sessionProperty =
createObject("component","model.SessionFacade").init() />
<cfset setProperty("sessionProperty", sessionProperty) />
</cffunction>
</cfcomponent>
I have to admit, as a newcomer to frameworks in general, and Mach-II, its
been a very frustrating experience. My colleage and I choose Mach-II as our
framework after attending several of the framework presentations at CFUnited
2009, feeling like it seemed the best fit for how we worked and, mistakenly
believing it had really good documentation. After selling our team on it and
getting started using it, we have frequently found ourselves venting over
the seeming lack of documentation on some aspects if use, the lack of newbie
friendliness to the basic documentation, and the continued occurrence of
items from the official wiki being noted as being out-dated or wrong. Many
of the example apps and code do not follow what is stated here to be best
practices (such as the whole service layer thing being completely absent
from the getting started guide). While this group is very helpful, it really
shouldn't be the place we have to come to for every simple question or to
learn that the docs keep telling us wrong. :-( We love the general nature
of Mach-II and despite the issues with docs, we are continuing to try to
learn it and will likely continue to utilize it versus dealing with having
to switch. I am not, however, looking forward to the headaches about to come
as we begin teaching our fellow team members how to actually work in it as
well, versus just doing it for them. </randomly injected bit>
~~ Summer S. Wilson
Collectonian on Yahoo! Messenger/GTalk and pretty much every where else
Find me online:
* An Eclectic World: http://eclectic-world.com
* Facebook: http://www.facebook.com/Collectonian
* LiveJournal: http://collectonian.livejournal.com
* Wikipedia: http://en.wikipedia.org/wiki/User:Collectonian
* Flickr: http://www.flickr.com/photos/collectonian/
On Wed, Feb 3, 2010 at 9:52 AM, Peter J. Farrell <[email protected]> wrote:
> It's been updated. It only required changing:
>
> <property name="sessionFacade" type="properties.SessionProperty" />
>
> To:
>
> <property name="sessionProperty" type="properties.SessionProperty" />
>
> So the property loader doesn't get overwritten with the session facade.
>
> .pjf
>
> Collectonian said the following on 03/02/10 09:16:
>
>> Any update on when the Wiki will be updated?
>>
>> On Jan 11, 3:53 pm, "Peter J. Farrell"<[email protected]> wrote:
>>
>>
>>> Summer,
>>>
>>> I'm going to update the wiki entry (parts of it were contributed) as the
>>> wiki entry example shouldn't show replacing itself with a non-Mach-II
>>> extended CFC. If you use my suggestions on renaming the property name
>>> for the CFC that is loading the session facade to "sessionFacadeLoader"
>>> -- you'll be fine. At the moment, the behavior in your application as
>>> it stands is doing something that the framework doesn't support -- it's
>>> just in 1.6 it didn't show it's ugly head as it didn't check for this.
>>> 1.8 is just more strict on this rule that 1.6 was.
>>>
>>> Best,
>>> .Peter
>>>
>>>
>>
>>
>
> --
> 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/
--
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/