Getproperty is only available in cfcs that extend framework cfcs. If you
need properties in your service layer you should pass them in from your
listener, or use coldspring to handle any property dependencies.

On Jan 24, 2010 8:26 AM, "Phil Ewington - iModel Ltd." <
[email protected]> wrote:

 Hi All,

Can someone please explain how to access a property defined in mach-ii.xml.

<property name="dateFormatMask" value="yyyy-dd-mm" />

My service layer and gateway objects error when I use...

getProperty("dateFormatMask")

with...

Variable GETPROPERTY is undefined.

Same code accesses the value of the property as expected in my listener. I
am using MachII-1.8.0. Thanks in advance,


Phil.

-- 
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/

Reply via email to