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 less than 200KB. I tried a 
plain text experiment and, of course, the file size was the same without or 
without optimization. This has the latest 9.0.1 patch.

What the? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346584
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 single dot in the where clause will cause the 
QoQ to throw an error.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318421
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 in 
my window source. However, this takes away the asynchronous submit and the rich 
text editor I was using. What a pain. I might as well not even be using the new 
tags as there is just too much javascript collision going on. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310457
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310447
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 page that rely on the 
ready still aren't working for the cfwindow source.



>maybe AjaxOnLoad (
>http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_a-b_06.html) ?  i
>haven't used that yet, but sounds like it might help with the $ready ?
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310438
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 caller as an import, and 
both. Mind you, it's only jquery that relies on the $ready that's having the 
issue (even my global template jquery stuff). I have tested generic jquery code 
to work outside of the ready initializer and that works fine. 

It's really like something needs to let the jquery know the source document 
from the "get" is ready in addition to the main document.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310425
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310406
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 cfwindow. Anyhelp? Does anyone have any examples of this?

I've changed my actual functions inside the $(function(){}) to myFun = 
function(){}, but I'm thinking that the $(function(){}) line is the issue.

Thanks!




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310386
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 DI. 

Are there any general pre-ORM concepts that I might have missed while hand 
jamming my 5/1s, refactoring into 3/1s and 2/1s, implementing inheritance and 
composition, and banging my head against the wall every time I decide to change 
or add a property? Can I graduate to an ORM? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309918
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 singletons in ColdFusion? I.e. if I init() 
>> a DAO or gateway in application.cfc, can flex access that 
>> gateway or DAO (application.myDAO)? Is this what LiveCycle 
>> DataServices is for?
>
>All Flex can do, with or without LCDS, is call individual methods. Flex
>can't access variables directly. So, you'll need to have some method that
>will do this for you.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized
>instruction at our training centers in Washington DC, Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>Visit http://training.figleaf.com/ for more information! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306659
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 flex access that gateway or DAO (application.myDAO)? Is this what LiveCycle 
DataServices is for? 

Thanks! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306649
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 scopecache or some other settings.

I want something that will basically restart the server! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299917
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 forumsettings.cfm respectively. I include those in 
onapplicationstart() and stripped out the little request level stuff to 
onRequestStart().

In the homegrown framework I did a cflogin in the existing login code with 
galleon settings. When a user is added to the homegrown security, they are also 
added to the galleon user table and given the base group. I believe this is 
what you mentioned.

It took me all day, but it is up and running well. Thank god for the excellent 
search and replace in eclipse. And thank you for your code! (A bigger thanks 
would be a visit to your wishlist I imagine...)

>You don't necessarily need to nuke Galleon's logon system. What I did
>for RIAForge was simply say:
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299623
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 user and 
group objects by integrating them into the existing model. This would be a 
massive change to the code base though.

I've also thought about duplicating our user base into the Galleon package so 
that when a user is created in the main app, it sets up their galleon stuff and 
does automatic cflogins when a user logins into our home grown security. This 
would be the "lazy" way. However, it also allows me to easily integrate updates 
to the galleon code base.

BlogCFC was pretty easy to integrate without blowing the whole package up, but 
galleon is a different story. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299593
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 
> javascript.
> 
> Thank you. 

Is this related to my post?

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55201 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299002
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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, but I'd 
rather be able to access by ID.

Is there something simple to grab the cf generated ID or is there a way to set 
the id to what I want?

Thanks! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298997
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 something going on with manual cookies, but I'm seeing 
some security risk there somehow.

Thanks all.
>Justin,
>
>If the applications are not related at all, what benefits do you seek 
>to gain from joining the two files.   Are you just looking for less 
>coding time?
>
>William


~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292255
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 needs to
>run when the methods are called (onApplicationStart(), etc.).
>
>
>>

Extension was something that I looked at as I use that extensively already, but 
the two applications are not related at all. I didn't want the onRequestStart, 
and onApplicationStart events firing in Canvas from my main application. In 
addition, let's say there would be conflicting application values. 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292244
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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. 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292241
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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, whether or not the 
user is logged in. This way, I don't have to annoy my admins with multiple 
places to login.

I've already customized canvaswiki to prevent any possible anonymous editing 
and changed the security CFC to align with my existing system.

How is it possible, in a  highly secure manner, to maintain session information 
across applications and sub-applications with different application names? Or 
is there a bigger picture I'm missing? 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292237
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290334
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290322
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290323
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290321
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 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 so that SPRY would actually work 
> this out?
> >
> > To me it seem that there is no way for this to work unless they 
> change the default of the sprydataset tag to queryformat=column when 
> it calls the URL.
> >
> > 


~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290302
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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
> 
> On 10/4/07, Justin T <[EMAIL PROTECTED]> wrote:
> > 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 so that SPRY would actually work 
> this out?
> >
> > To me it seem that there is no way for this to work unless they 
> change the default of the sprydataset tag to queryformat=column when 
> it calls the URL.
> >
> > 


~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290303
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 so that SPRY would actually work this out? 

To me it seem that there is no way for this to work unless they change the 
default of the sprydataset tag to queryformat=column when it calls the URL. 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290130
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290125
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 important part below.

home.cfm


  
  {FULLTITLE}

  



pubs.cfc


  
select *
from pubs
where pubId between 600 and 625
  

  
 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290109
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287965
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 javascript would no longer work. My output only had 
basic html formatting.

So, I did an experiment in another subdirectly. It turns out the code works the 
first time the page is called, but subsequent calls cause it to fail. AFter 
that, even deleted and readding the code will not cause the javascript to work.

Over and over all I get is the javascript console error "coldfusion is 
undefined". 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287950
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4