CFPDF action="optimize" increases file size

2011-08-08 Thread Justin T
Hello, I have a PDF that CFPDF action="write" will par down to about a MB. It has some small jpegs. When I put it through cfpdf action="optimize" with or without all the "no" options, it increases the size to about 7MB. When I run the web optimizer in Acrobat, I can get the 1MB file down to le

Tiered Dot Notation in where clause query of Queries (QoQ)

2009-01-23 Thread Justin T
Hi, I was just wondering what the reason is behind the error I get when I use dot notation with QoQ in the where clause. This will throw an error: select * from a.qry where a.qry.fkPOCId = 1 This won't: select * from goodQry where goodQry.fkPOCId = 1 It seems that anything beyond a s

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
> The issue is definitely that some of the jquery plugins rely on the > "ready" event within their code. I can bypass ready in my cfms with > ajaxonload for custom stuff, but I can't rewrite all the jQuery > plugins! Ok, I can get jQuery validate to work whenever I change from cfform to form i

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
The issue is definitely that some of the jquery plugins rely on the "ready" event within their code. I can bypass ready in my cfms with ajaxonload for custom stuff, but I can't rewrite all the jQuery plugins! ~| Adobe® ColdFusi

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
Hi Charlie, Thanks for the idea. If I take away the $.(function(){}) and replace it with init = function() {} and do an ajaxonload, everything works as it should. That is, for the javascript within that source template. Unfortunately, my global jquery files that are included on the calling pa

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
>where is your ? it needs to be in the page >that creates the cfwindow... not in the page that resides in the cfwindow. > >On Thu, Aug 7, 2008 at 11:35 AM, Justin T <[EMAIL PROTECTED]>wrote: > >> Hi Charlie, I tried it both ways, in the source document, in the cal

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
Another example: I have a global jquery "field highlighter" that runs for all my forms of a specific class. It also relies on the document ready. It's working for the main form, but not the form that is included by the cfwindow tag. ==

Re: CFwindow and jquery in source

2008-08-07 Thread Justin T
No, I sure haven't. I'm actually not sure what you mean. >When you call the cfwindow, have you tried initializing the ready function? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get th

CFwindow and jquery in source

2008-08-07 Thread Justin T
Hi, I have an edit record form with some jquery that exists on it's own and runs fine. I'd also like to call this cfm as a cfwindow source under certain circumstances (parent-child associations). I cannot for the life of me figure out how to get my jquery to run when it is running inside a cfw

Graduating to an ORM/DI

2008-07-30 Thread Justin T
Last year, whenever I started with OO and frameworks, everyone told me to generate my objects and create them "manually" until I had a grasp on why one needs an ORM and DI. After a few months of "procedural OO", I started using Coldbox with lightwire and definitely see the advantages there with

Re: ColdFusion singletons in flex

2008-06-02 Thread Justin T
Got it. I just wanted to clear that up, thanks. Onto my service cfc then! >> I'm playing with a flex application (non-wizard). I'm at the >> point where I'm connecting to ColdFusion. It all works just fine. >> >> However, going beyond the basics, is there a way for flex to >> access application

ColdFusion singletons in flex

2008-06-02 Thread Justin T
Hi, I'm playing with a flex application (non-wizard). I'm at the point where I'm connecting to ColdFusion. It all works just fine. However, going beyond the basics, is there a way for flex to access application singletons in ColdFusion? I.e. if I init() a DAO or gateway in application.cfc, can

Re: reinit application variables

2008-02-26 Thread Justin T
> How do you reset application variables? > > I am using application.cfc to set some application variables and cant > figure out how to reset them so they reload with different data. > > Thanks, Chad OnApplicationStart() doesn't seem to always work for me. I don't think it clears the scope

Re: Modding Galleon Forums

2008-02-21 Thread Justin T
Thanks Ray. I went with the easier method so that updates might be possible. I tossed all galleon application.* settings into application.forums.* and all session.user stuff into session.forums.user I did the same sort of thing with blogCFC. I renamed application.cfm to blogsettings.cfm and fo

Modding Galleon Forums

2008-02-21 Thread Justin T
We have a need for forums in our web application and I was looking at Ray's Galleon package because it is open source and seems to fit our light needs. First, I have to have this package integrating with our existing security, which is not cflogin based. This could mean doing away with Ray's use

Re: cftextarea onChange bug

2008-02-14 Thread Justin T
> I am having two issues using CFTextarea (richtext) that I wonder > about: > > 1) when richtext is enabled the onchange attribute doesn't seem to > work. > > 2) I can't seem to get the value of the text in the textarea when > richtext is on. I want to access the value of the field with > ja

cftextarea ID attribute

2008-02-14 Thread Justin T
Hi, I'm using the new richtext cftextarea. However, I need to run some other javascript on the text area. Unfortunately, ColdFusion seems to insist on dynamically generating the id attribute even if I specify an id attribute. I know I could use array notation to get to the element in javascript

Re: Sessions and SubApplications

2007-10-29 Thread Justin T
I'm looking to share authentication so that users don't have to login twice. I think I'm going to refactor Canvas a tad so I can just go with extension. It won't take a lot of work. I was just wondering if this was something possible as I've never looked at it. I see that Kinky Ben had somethi

Re: Sessions and SubApplications

2007-10-29 Thread Justin T
>You can extend the parent Application.cfc in the child Application.cfc. Make >sure you don't override the application name though as I'm pretty sure that >would create a different application name (and thus session scope). Also, >make sure you call super() if the parent has any logic that also nee

Re: Sessions and SubApplications

2007-10-29 Thread Justin T
>There are a lot if issues to work out and understand well but it is >entirely possible to combine Application.cfm / Application.cfc >functionality. Well, this would be two application.cfc. I already converted Ray's stuff to application.cfc. ~~~

Sessions and SubApplications

2007-10-29 Thread Justin T
I'm trying to integrate Ray Camden's CanvasWiki into my main site. The easiest thing would be to plop it down in a subdirectory and let it fly with it's own application name. However, I'd like the session information from the main application available to the sub-application, specifically, wheth

Re: Using cfsprydataset with JSON

2007-10-05 Thread Justin T
I do have the direct new Spry.Data.JSONDataSet working. I followed your blog very carefully as soon as you posted it. Those are my comments expressing frustration. >You also have to use the Spry option as well. My blog entry shows that. > > >> ~

Re: Using cfsprydataset with JSON

2007-10-05 Thread Justin T
OK, you win, but only this time JEDI! p.s. I know I tried that, but I didn't think it was working... >Sure it can. Just don't use CFC:etc for your bind. Use URL instead, >and pass queryFormat in the string. > > > >> ~| Download

Re: Using cfsprydataset with JSON

2007-10-05 Thread Justin T
Sorry for the double post. It works like a charm, but I still say it is confusing not to be able to use CFC! > >>Sure it can. Just don't use CFC:etc for your bind. Use URL instead, >>and pass queryFormat in the string. >> >> >> >>> ~~

Re: Using cfsprydataset with JSON

2007-10-05 Thread Justin T
OK, you win, but only this time JEDI! p.s. I know I tried that, but I didn't think it was working... >Sure it can. Just don't use CFC:etc for your bind. Use URL instead, >and pass queryFormat in the string. > > > >> ~| Download

Re: Using cfsprydataset with JSON

2007-10-05 Thread Justin T
> Check out the blog entry I did on this: > > http://www.coldfusionjedi.com/index. cfm/2007/10> /3/Code-from-ColdFusion-Boot-Camp-and-Tip-about-ColdFusion-8-and-JSON > > On 10/4/07, Justin T <[EMAIL PROTECTED]> wrote: > > I have determined that the problem wit

Re: Using cfsprydataset with JSON

2007-10-05 Thread Justin T
Hi Ray, Unfortunately, CFSPRYDATASET does not allow you to set queryFormat=Colunmn, it is only by Row. > Check out the blog entry I did on this: > > http://www.coldfusionjedi.com/index. cfm/2007/10> /3/Code-from-ColdFusion-Boot-Camp-and-Tip-about-ColdFusion-8-and-JSON > >

Re: Using cfsprydataset with JSON

2007-10-03 Thread Justin T
I have determined that the problem with cfsprydataset with JSON type is that it fetches the CFC and sets the queryFormat (if you are getting a query) to type row. This makes your JSON look like this: {"COLUMNS":["TITLE"],"DATA":[["The Tester"],[The Evil Man]]} Now, what options would you add s

Re: Using cfsprydataset with JSON

2007-10-03 Thread Justin T
I did want to point out that the XML version of the output works fine. I'd rather avoid generating the XML and sending it if JSON is an option. ~| Enterprise web applications, build robust, secure scalable apps today - Try it n

Using cfsprydataset with JSON

2007-10-03 Thread Justin T
Hi all, I'm trying to use cfsprydataset. I just can't seem to get the data to load in the page. Using firebug, I can see that the data is there as pubs -> data -> columns and data filled in correctly. I tried using serializeJSON, but that didn't help. I've stripped the files down to the importa

Re: ColdFusion 8 CFIDE being dropped

2007-09-07 Thread Justin T
Correct. IIS has only one mapping and that is to the wwwroot. >I am going to assume that the IIS / Apache website details has NO virtual >mapping to the /cfide directory. > > > >Andrew Scott ~| ColdFusion is delivering applicat

ColdFusion 8 CFIDE being dropped

2007-09-06 Thread Justin T
I'm working on an application in a subdirectory of the main application. wwwroot\mySubApp wwwroot\cfide So, I was playing around with the new layout tags. I had a menu working just fine and then I copied and pasted the cflayout example from the live docs into my layout. After that, the javascri