[cfaussie] (SOT) FCKEditor & mySQL insert problem

2007-09-05 Thread AJ Dyka

i All,

I have a form that can accept HTML formatted content via FCKEditor.

All integration, database inserts, updates, etc is working fine until  
one of the HTML tags that FCKE creates contains a " (double quote),  
then mySQL throws an error because the query closes prematurely and  
tries to interpret the rest of the string as part of the query.

My question is:

How do you format the input string (in my case #FORM.content#) to be  
able to remove all of the pesky ", but still have it rendered as  
proper HTML wen being displayed later? I have tried the HTMLcodeEdit &  
HTMLeditFormat functions but they didn't help? My best guess is  
delving into regular expressons for character replacement which would  
be new ground for me!

My UPDATE query is:


  UPDATEnews
  SET   dateTime = '#dateformat(now(), "-mm-dd HH:mm:ss")#',
postBy = '#session.username#',
subject = '#FORM.subject#',
summary = '#FORM.summary#',
content = '#FORM.content#'
  WHEREid = #FORM.id#


Software versions are:

CF MX 7 (patch level unknown)
mySQL 4.1
FCKEditor 2.4.3

Thanks.

A.J.


This message was sent using IMP, the Internet Messaging Program.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Sharing CFML code between servers

2009-10-22 Thread AJ Dyka
Hi,
I have 2 CF servers, both Win2k3 Server, Apache 2.2 & CF8 Enterprise. Both
servers are members of the same domain and I have a dedicated domain user
account that has admin privileges on both servers

Server 1 has a directory with flash, graphic & CF templates that I want to
map & access from Server 2.

- I have created a shared folder on Server 1 which the domain user has full
access to.
- I've modified the 'Apache2.2' and 'Macromedia JRun CFusion Server'
services on Server 2 to log on as the dedicated user.
- All CFML hosted locally on Server 2 is interpreted and displayed
correctly.
- I have updated my vhosts file and when I type in the address to the alias
I can access all content with the exception of the CF templates. Graphics,
flash movies, etc all open and display properly without error but any CF
file I select returns a CF generated 'File Not Found'.

I've Googled this already but can't find an solution that works for me ...

If someone could point me in the right direction of user//security
rights/service settings I would be most appreciative!

Thanks.

A.J.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] pricing query?

2006-07-18 Thread AJ Dyka

Hi All,

I'm pretty sure this isn't the right forum, but surely someone can
point me in the right direction?

I've started doing some freelance web design work, some of it based
around CF, and while I'm comfortable knowing what to charge for a
static site, developing something dynamic and charging appropriatly
seems to ellude me.

Any guidance would be much appreciated :)

Thanks.

A.J.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Bluedragon woes

2006-08-22 Thread AJ Dyka

Hi All,

Here's something for you to have a ponder on ..

My webhost uses BlueDragon and I've come across an incompatability
which I can't find documented anywhere online .. (it works fine with my
MX7 dev. environment)

Specifically when using 

What I require is to have a blank entry selected by default, with the
rest of the query responses listed below.



... basically the queryposition element isn't recognised, placing my
'blank' option at the bottom of the list.

Has anyone else come across this before, and better still, have a
solution?

Thanks.

A.J.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Bluedragon woes

2006-08-24 Thread AJ Dyka

Thanks Guys,

See, I thought yo'd be able to help me! :)

I have since subscribed to the BD lists and will hammer them directly
with any quirks I find.

Ultimatly I ended up building a workaround which looks the same to the
end user but has made the code more complex that I had wanted, either
way it's working as it should in all environments.

I'll see if I can add it to a feature request list for v7!

Thanks.

A.J.

> Yes, as Scott and M@ have said, the first thing to check is whether that
> feature (queryposition) is a new one in CF7. A quick look at the livedocs
> shows that it is (they have started identifying what release a given feature
> was introduced in, which is very helpful.)
>
> I hadn't noticed this one myself, to be honest, and I bet many have not. And
> I'm pretty sure that New Atlanta has not, either, so I don't expect this
> will be in BD 7 unless you bring it to their attention. It's a simple enough
> attribute (simply indicates whether query-based option values in the
> drop-down should be above or below any you manually add yourselves using the
> option tag.
>
> And as M@ said, you really are best off asking BD questions on the BD
> mailing list. It's low-volume and high-value (including New Atlanta
> engineers), and of course free:
>
> http://www.newatlanta.com/products/bluedragon/self_help/archive_search/index
> .cfm
>
> I'll also share for anyone needing to find out stuff about BD (I don't mean
> you, AJ, as you may already have searched this) that the mailing list has a
> searchable archive and that and lots of other useful resources are available
> at this section of the BD site:
>
> http://www.newatlanta.com/products/bluedragon/self_help/index.cfm
>
> /charlie
> http://www.carehart.org/blog/
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of AJ Dyka
> Sent: Wednesday, August 23, 2006 1:32 AM
> To: cfaussie
> Subject: [cfaussie] Bluedragon woes
>
>
> Hi All,
>
> Here's something for you to have a ponder on ..
>
> My webhost uses BlueDragon and I've come across an incompatability which I
> can't find documented anywhere online .. (it works fine with my
> MX7 dev. environment)
>
> Specifically when using 
>
> What I require is to have a blank entry selected by default, with the rest
> of the query responses listed below.
>
>  display="photoId" queryposition="below"> display"">
>
> ... basically the queryposition element isn't recognised, placing my 'blank'
> option at the bottom of the list.
>
> Has anyone else come across this before, and better still, have a solution?
> 
> Thanks.
> 
> A.J.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: CF On MacOS X?

2006-09-06 Thread AJ Dyka

For my development environment I'm running MX7 under OS X 10.4 on my  
G4 laptop paired with Apache 2.2/MySQL 5.0.2.

It's running directly under Apache via port 8500.

A.J.

>
> Does anyone here run CF7 Server on MacOS X?
>
> What web server do you pair it with? Apache? Standard JRun? Tomcat?
> Apache with the Tomcat connector?
>
> -- 
> Haikal Saadh
> Applications Programmer
> ICT Resources, TALSS
> QUT Kelvin Grove
>
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: CF On MacOS X?

2006-09-06 Thread AJ Dyka

I was slack and used WebServerXKit (Apache was upgraded as a  
consequence of wanting the MySQL installer)

http://www.rbsoftware.net/index.php?page=wsxk

>
> Cool.
>
> Not that it matters, but how did you set up your Apache? Through fink?
> Or the drag and drop LAMP installer from apple?
>
> AJ Dyka wrote:
>> For my development environment I'm running MX7 under OS X 10.4 on my
>> G4 laptop paired with Apache 2.2/MySQL 5.0.2.
>>
>> It's running directly under Apache via port 8500.
>>
>> A.J.
>>
>>
>>> Does anyone here run CF7 Server on MacOS X?
>>>
>>> What web server do you pair it with? Apache? Standard JRun? Tomcat?
>>> Apache with the Tomcat connector?
>>>
>>> -- 
>>> Haikal Saadh
>>> Applications Programmer
>>> ICT Resources, TALSS
>>> QUT Kelvin Grove
>>>
>>>
>>>
>>
>>
>>>
>>
>
> -- 
> Haikal Saadh
> Applications Programmer
> ICT Resources, TALSS
> QUT Kelvin Grove
>
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: CFAussie Community Head Count

2007-05-31 Thread AJ Dyka

A lurker ping ...

>
> Hi Guys,
> Just a quick note to let you guys know that we at the Adobe Australia
> office haven't forgotten about you, and do monitor this (and several
> other) lists on a regular basis.
>
> We have a couple of Community related irons in the fire and will
> communicate more on them as they solidify.
>
> What would be of great help to us in the meantime would be a hands up
> (head count) on how many Aussie CF'ers are reading this list on a
> regular basis. If you could just ping a response to to this thread
> that would be grouse.
>
>
> Thanks in advance
>
> Matt Voerman
>
> Senior Consultant
> Adobe Systems Pacific
>
>
> >
>




This message was sent using IMP, the Internet Messaging Program.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



Re: [cfaussie] email attachments

2010-04-12 Thread AJ Dyka
Ben Nadle has an example.

http://www.bennadel.com/blog/1700-Ask-Ben-Creating-A-PDF-And-Attaching-It-To-An-Email-Using-ColdFusion.htm

Google is a wonderful thing! ;)

A.J.

On 13 April 2010 10:14, KNOTT, Brian  wrote:

>  Presently there is no file.  I want to do it on the fly with out creating
> a file.
>
>
>
> Brian
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
> Behalf Of *Kevin Pepperman
> *Sent:* Tuesday, 13 April 2010 10:13 AM
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] email attachments
>
>
>
> Yes, just add cfmailparam between your cfmail tags with a path to the file.
> It will attach it to the email.
>
>
>
> 
>
>
>
>
>
>
>
> On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian 
> wrote:
>
> attachment
>
>
>
>
> --
> /Kevin Pepperman
>
> "They who can give up essential liberty to obtain a little temporary
> safety, deserve neither liberty nor safety." - Benjamin Franklin
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
> its related entities "Suncorp".
> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13
> 11 55 or at suncorp.com.au.
> The content of this e-mail is the view of the sender or stated author and
> does not necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
> If this e-mail constitutes a commercial message of a type that you no
> longer wish to receive please reply to this e-mail by typing Unsubscribe in
> the subject line.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] cfObjective roll call!

2010-04-14 Thread AJ Dyka
So far I only know of Mark Mandel, Justin McLean & myself making the trip
across the Pacific for cfObjective which starts next week  are there
going to be any other Aussies making the trip?

It looks like the Hyatt has a pretty decent sports bar, a good place for a
catchup? :)

A.J.

---

AJ Dyka
e: aj.d...@warpax.com
w: http://aj.warpax.com
tw: @ajdyka

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] cfObjective roll call!

2010-04-14 Thread AJ Dyka
That's one good reason to be staying onsite ;)

>From what I hear beer in the US is pretty weak by Australian standards so we
should be able to make a good representation!

A.J.

On 15 April 2010 11:47, Mark Mandel  wrote:

> I think you had told me you were going AJ, but I had totally forgotten!
> Awesome little aussie contingent we have there :D
>
> Its the same hotel as last year, so expect to spend a fair bit of time in
> the bar ;o) I've definitely noticed that American CF'ers tend to drink more
> than Australian CF'ers. I'm not sure why that is.
>
> Mark
>
> On Thu, Apr 15, 2010 at 11:29 AM, AJ Dyka  wrote:
>
>> So far I only know of Mark Mandel, Justin McLean & myself making the trip
>> across the Pacific for cfObjective which starts next week  are there
>> going to be any other Aussies making the trip?
>>
>> It looks like the Hyatt has a pretty decent sports bar, a good place for a
>> catchup? :)
>>
>> A.J.
>>
>> ---
>>
>> AJ Dyka
>> e: aj.d...@warpax.com
>> w: http://aj.warpax.com
>> tw: @ajdyka
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>
>
>
> --
> E: mark.man...@gmail.com
> T: http://www.twitter.com/neurotic
> W: www.compoundtheory.com
>
> Hands-on ColdFusion ORM Training @ cf.Objective() 2010
> www.ColdFusionOrmTraining.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Japanese script in a PDF

2010-08-03 Thread AJ Dyka
Hi,

Periodically we need to store Japanese text in our application and we
have just found an instance where the PDFs that are being generated
are not displaying the stored text correctly. I've verified that the
database is storing the content accurately and it is being displayed
on the screen in the app without issue, it's only the generated PDFs
that are being troublesome.

What we're seeing output in the PDF is literally nothing, no ??? or
„Çì„Çè„Å∞„ it's just not there. All text in English is being rendered
correctly.

My two environments are:

dev:ColdFusion Server 7.0.2
OS X 10.6.4

prod:   ColdFusion Server 7.0.2
Ubuntu 8.04 (Hardy Heron) Server

I've installed the True Type fonts on my Mac into the CF7
Administrator and added the font family names to cffont.properties.ja,
restarted the server, etc and it has had zero impact on the PDF
output.

I'm hoping that someone has something else for me to try (or dare I
hope, a solution for me?!)

Thanks :)

A.J. (not The One)

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Japanese script in a PDF

2010-08-03 Thread AJ Dyka
I was really hoping for a native CF solution :-/

It can't be that hard to do, if only I knew how!

Wkhtmltopdf looks interesting though :)

Thanks

AJ


On 03/08/2010, at 7:55 PM, "m...@ampersand.net.au" 
wrote:

You could try using http://code.google.com/p/wkhtmltopdf/ to generate the
PDFs?


On 3/08/2010 5:18 PM, AJ Dyka wrote:

Hi,

Periodically we need to store Japanese text in our application and we
have just found an instance where the PDFs that are being generated
are not displaying the stored text correctly. I've verified that the
database is storing the content accurately and it is being displayed
on the screen in the app without issue, it's only the generated PDFs
that are being troublesome.

What we're seeing output in the PDF is literally nothing, no ??? or
„Çì„Çè„Å∞„ it's just not there. All text in English is being rendered
correctly.

My two environments are:

dev:ColdFusion Server 7.0.2
OS X 10.6.4

prod:   ColdFusion Server 7.0.2
Ubuntu 8.04 (Hardy Heron) Server

I've installed the True Type fonts on my Mac into the CF7
Administrator and added the font family names to cffont.properties.ja,
restarted the server, etc and it has had zero impact on the PDF
output.

I'm hoping that someone has something else for me to try (or dare I
hope, a solution for me?!)

Thanks :)

A.J. (not The One)


 --
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] FW/1 presentation for Mid-Michigan Coldfusion User Group

2011-01-12 Thread AJ Dyka
Was all good ... a bit of deja vu for me though ;)

(the other) A.J.

-

AJ Dyka
Release Manager
Learnosity: Speak. Listen. Learn.
www.learnosity.com
Twitter: @learnosity @ajdyka

-

Learnosity Support
ph: +61 2 8014 4912
email: supp...@learnosity.com
Twitter: @madamecrabtree

-

In 2010 more than 3,300 men will die as a direct result of prostate cancer.
Help raise awareness and funds http://bit.ly/ajmovember




On 12 January 2011 19:47, AJ Mercer  wrote:

> Attendees said they were happy with it :-)
> There was some network issues setting up the connect room and in the
> corefuffle it was not recorded :-(
>
>
>
> On 12 January 2011 16:23, Mark Drew  wrote:
>
>> How did the presentation go?
>>
>> MD
>>
>> On 12 Jan 2011, at 00:35, AJ Mercer wrote:
>>
>> I will be doing my presso from cfoanz 2011 in about 30 mins
>> http://www.coldfusion.org/main.cfm
>> *http://adobechats.adobe.acrobat.com/r50805893/*
>>
>> --
>>
>> *AJ Mercer*
>>  <http://webonix.net/> | > community="Open" /> <http://webonix.org/>
>> http://twitter.com/webonix
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>>
>>  Mark Drew
>> Railo Technologies UK
>> Professional Open Source
>> skype:  mark_railo
>> email:  m...@getrailo.com
>> gtalk:  m...@getrailo.com
>> tel:  +44 7971 85  22 96
>> tel (int): +13474485715
>> web:  http://www.getrailo.com
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>
>
>
> --
>
> *AJ Mercer*
>  <http://webonix.net> |  community="Open" /> <http://webonix.org>
> http://twitter.com/webonix
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Oracle Websphere question

2011-02-20 Thread AJ Dyka
Hi All,

I need to have an offline chat with anyone who's had experience with
reconfiguring an existing Oracle Websphere server.

It is ultimately related to a CF 8 -> CF 9 upgrade but there's a problem
that's blocking me from even getting that far 

I hope you can help! :)

Thanks.

A.J.

-

AJ Dyka
Release Manager
Learnosity: Speak. Listen. Learn.
www.learnosity.com
Twitter: @learnosity @ajdyka

-

Learnosity Support
ph: +61 2 8014 4912
email: supp...@learnosity.com
Twitter: @madamecrabtree

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Catching cfcomponent extends errors

2011-06-07 Thread AJ Dyka
Hi All,

I've done some searching and haven't found any answers yet so I
figured I'd throw the question out here and see what comes back :)

I have an Application.cfc in an app which I want to extend another
which is accessed via a mapping like so:



My issue is when the mapping doesn't exist it fails which is fine but
I want to catch the error and handle it rather than just dump the
error to the screen.

I can't try/catch around the outside of the component and onError
doesn't get invoked because the Application can't be initialised so I
think I'm stuck ... any ideas?

Thanks.

A.J.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: Catching cfcomponent extends errors

2011-06-07 Thread AJ Dyka
Not what I was hoping for :-/ Oh well ...

I think that restructuring the relationship between by CFCs will be
the only solution but it's not something I'm willing to think about at
the moment!

Thanks anyway :)

On Jun 8, 10:30 am, Sean Corfield  wrote:
> This is a *compile-time* error so no code is executing at the time the
> compiler hits that error. It's why you cannot use per-application
> mappings here - it's the very first piece of code the compiler sees
> and until it has compiled it, there's no code to run - and therefore
> nothing executed that can possibly trap the error.
>
> In other words, you cannot catch this error.
>
>
>
>
>
>
>
> On Tue, Jun 7, 2011 at 5:07 PM, AJ Dyka  wrote:
> > I've done some searching and haven't found any answers yet so I
> > figured I'd throw the question out here and see what comes back :)
>
> > I have an Application.cfc in an app which I want to extend another
> > which is accessed via a mapping like so:
>
> > 
>
> > My issue is when the mapping doesn't exist it fails which is fine but
> > I want to catch the error and handle it rather than just dump the
> > error to the screen.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: Catching cfcomponent extends errors

2011-06-07 Thread AJ Dyka
True, however I want to fix the mapping not just hide the error ...
perhaps I can write my own error template which checks the mappings
and fixes them if they're missing? That could work for me ...

On Jun 8, 11:05 am, MrBuzzy  wrote:
> But using a global error handler will enable you to not show the error 
> on-screen.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.