Re: extra lines in rss

2007-11-09 Thread Azadi Saryev
have you tried cfprocessingdirective suppresswhitespace='yes' at the 
top of your page?

-- 

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com


~|
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:293013
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Reuse regular sub-expression in larger expression

2007-11-09 Thread Barney Boisvert
Yeah, you can do that.  Here's a simple example of it in action (using
the backreference to match quotes). It also uses a non-greedy modifier
in there to avoid doing an incorrect match on the apostrophe within
the double quotes.

cheers,
barneyb

cfoutput
cfset baseString = some 'text' with quotes an' some apostrophes in it /
h2Quoted Strings within #baseString#/h2
ul
cfset start = 1 /
cfloop condition=true
cfset result = REFind((['])(.*?)\1, baseString, start, true) /
cfif result.pos[1] LT 1
cfbreak /
/cfif
cfset string = mid(baseString, result.pos[3], result.len[3]) /
cfset quote = mid(baseString, result.pos[2], result.len[2]) /
cfset start = result.pos[1] + result.len[1] /
li#string# (quoted with #quote#)/li
/cfloop
/ul
/cfoutput


On Nov 8, 2007 2:16 PM, Andy Matthews [EMAIL PROTECTED] wrote:
 Adam Howitt wrote a blog post asking for improvements to a regex that he
 wrote:
 http://tinyurl.com/yvzxjk

 This is what I came up with:
 \(-?[\w,.]+/-?[\w,.]+\)

 But I'm wondering if it's possible to reuse the first portion of the
 expression, rather than writing the same exact thing twice in one string. So
 rather than this:

 \(-?[\w,.]+/-?[\w,.]+\)

 I could have this:

 \((-?[\w,.]+)/\1\)

 or something like that. I could swear that I've seen someone do this before.
 

 Andy Matthews

-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
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:293009
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SetLocale problems

2007-11-09 Thread Michael Bramwell
Hi,

I have been using the SetLocale function successfully on a xp box
running CF8 dev edition. However the exact same code is not changing
the output language when it is run on a linux box using CFMX 6.1.

Heres the code:

cfset SetLocale(French (Standard))

Month text is being outputted using monthasstring() function.

Anyone come across this issue before?

Mike.

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: Determing last record in a loop

2007-11-09 Thread Barney Boisvert
cfif currentRow EQ recordCount is the simple case.  With start/end
on the loop, I'd expect the equivalent would be cfif currentRow EQ
myEndRowVar, where myEndRowVar is the variable you use to set the
'end' attribute.  Just output currentRow inside your loop, and the
right comparison should be obvious.

cheers,
barneyb

On Nov 8, 2007 8:15 PM, Steve Sequenzia [EMAIL PROTECTED] wrote:
 I have a loop that uses a cfquery with a start and end for paging. I am 
 trying to figure out if there is a way for me to know if the current record 
 in the loop is the last record. I know how to tell based on the query but I 
 am not sure how to know based on the loop.

 Any help on the would be great.

 Thanks in advance

-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
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:293015
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: greying out part of a form

2007-11-09 Thread William Seiter
If you use this method (which I think is the best visually), be careful on
your 'action' page.  Different browsers treat the 'visibility:hidden' form
elements in a different manner.  In some browsers, that 'hidden' section is
sent with the form.  In other browsers, that section is considered 'not
there' and thus those values are not sent.

This will require extra attention to paraming, and the sort.

Good luck,
William 

-- 
William E. Seiter
 
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
 
Web Developer 
http://William.Seiter.com

-Original Message-
From: Azadi Saryev [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 10:46 PM
To: CF-Talk
Subject: Re: greying out part of a form

instead of 'greying out' parts of form and making your users scroll 
up/down past these disabled elements, consider putting conditional parts 
of your form in a div (or some other container) and hiding/un-hiding 
them as needed.  you can do this by changing displayand/or visibility 
style attributes of the container div.

-- 

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com


~|
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-72catid=648

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


RE: changing a css file via coldfusion

2007-11-09 Thread William Seiter
In coldfusion, you would just put a cfif statement around the different
LINK href=mystyle.css rel=stylesheet type=text/css choices.  This
would involve a new call to the server for each 'change' of style sheet.

To do it while on the page (and without a call to the server), you could
try:
LINK href=mystyle.css rel=stylesheet type=text/css id='pagestyle'

Put a javascript call on the page somewhere that would change the value of
the href:  a href=javascript:document.getElementById('pagestyle').href =
'mysecondstyle.css'; change style/a
I have not tested this, so it may not work.  If it doesn't, then you can
always try this method.

Load all of the stylesheets at the beginning, but have each style called as
a child of a specific classname.
..pagestyle1 td {color:#000; font-family: arial;}

..pagestyle2 td {color:#333; font-family: verdana;}

Use the class name as the container div class, the container table class, or
the body class.
div id='container' class='pagestyle1'
Table id='container' class='pagestyle1'
body id='container' class='pagestyle1'

Use javascript to change the 'container' class name and all of the child
styles will change with it.
a href=javascript:document.getElementById('container').className =
'pagestyle2.css'; change style/a

-- 
William E. Seiter
 
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
 
Web Developer 
http://William.Seiter.com



 Is it possible create a way using coldfusion which would allow the 
 user to change the current page style by selecting a link on the page? 
 
 
 Seems like it shouldn't be to difficult, I just can't think of how to 
 do it. 
 
 Thanks, 
 
 John



~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: CFC in application scope....or else?

2007-11-09 Thread Charlie Griefer
On Nov 8, 2007 7:14 PM, Rick Faircloth [EMAIL PROTECTED] wrote:
 The problem is, I didn't see any answer or guidance in the question.
 When someone has no clue about the broader implications of their
 question, they can't understand the significance of the response
 question.  It's just obfuscation.

 Providing some background concerning why the question is fundamentally 
 flawed
 would be more useful than asking questions that he's surely not going
 to be able to answer.  If he could answer the question, he'd probably
 know the answer to his original question, too.

Just my opinion, but sometimes it helps to understand the thought
process of the person asking the question.  If you can understand why
they were thinking about a particular solution, you can help them
identify where their logic was flawed (it may be well before the
actual issue that they were asking about).

Remember to take what you read in e-mail with a grain of salt, because
what you may read as being condescending may actually be a very
sympathetic attempt to help.  It's hard to discern in the written word
tho :\

-- 
Charlie Griefer


...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed.

~|
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:293018
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Wierd regex problem (isn't it always)

2007-11-09 Thread Andy Jarrett
Thanks guys for all your help its been a good regex learning
experience as usual for me :)

@Ben yours is the one i've gone with thank for the comments and explanation

Andy J


On Nov 7, 2007 8:24 PM, Ben Doom [EMAIL PROTECTED] wrote:
 A handful of comments:

 Backreferencing a single, static character is silly.  It just wastes
 memory and processor time.  You're throwing it away, anyway.

 {1} is useless.  It means one of.  Which would just be the thing by
 itself.

 Second, {1,} is more commonly written +.  Also, you are saying one or
 more backreferenced things instead of one or more backreferenced things.

 I'd write it like this:
 @([a-zA-Z0-9]+)
 Then use the first backreference instead of the second.

 --Ben Doom


 Andy Jarrett wrote:
  Hi
 
  I'm trying to do a look through as string to find usernames and add
  a tags around them ala Twitter.
 
  The regex I think is fine but when I use reReplace 's back reference
  I'm not getting the result I thought I would of. Heres the code. Can
  anyone see anything obvious?
 
  Cheers, Andy
 
 
  !--- String to be manipulated ---
  cfset str = First username is @andrew and second is @jarrett /
  cfoutputp#str#/p/cfoutput
 
 
  !--- The Regex
(@){1} - First back reference is the @ sign. Look for one of these
([a-zA-Z0-9]){1,} - Second back reference is the username
  ---
  cfset reg = (@){1}([a-zA-Z0-9]){1,} /
 
  !--- Using reReplace we take the second back reference and wrap
  an a tag around it ---
  cfset usernamePos = reReplace(str, reg, @a href='test'\2/a, all) 
 
  cfoutput#usernamePos#/cfoutput
 
 

 

~|
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:293019
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


OT: CFEclipse 1.3.1.6 Released

2007-11-09 Thread Mark Drew
I just wanted to post a note that this morning I did a release of
CFEclipse 1.3.1.6. This is a bug-fix release, and has no extra
features and is geared at some specific bugs:

* 332 (File Explorer Doesn't Show Sub-Folders after upgrading to 1.3.1.5)
* 368 (Passive FTP is not enabled)
* CFEclipse has now been compiled to comply with Java 1.4 (so if
you are getting odd errors about major minor versions this should do
the trick)

Its a very small release but people have been complaining about the
FileExplorer so I thought I would get this version out.

There are no other changes, so if these issues do not affect you, you
do not need to upgrade.

Apologies for the interruption to your daily Coldfusion Conversation

-- 
Mark Drew
Blog: http://www.markdrew.co.uk/blog/
LinkedIn: http://www.linkedin.com/in/mdrew

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


RE: CFC in application scope....or else?

2007-11-09 Thread Rick Faircloth
 what you may read as being condescending may actually be a very
 sympathetic attempt to help.  

True... which is why my comments were gentle in nature.  (At least that
was my intent... :o)  I'm most often on the end of the one asking questions
instead of being able to provide answers, so I know what it's like to
receive answers in the form of questions that assume knowledge that
I don't have and, therefore, I can't even begin to understand the
significance of the question.

Questioning is a very good way to teach, but the answers always have to
be in reach of the learner.

Rick

 -Original Message-
 From: Charlie Griefer [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 09, 2007 3:58 AM
 To: CF-Talk
 Subject: Re: CFC in application scopeor else?
 
 On Nov 8, 2007 7:14 PM, Rick Faircloth [EMAIL PROTECTED] wrote:
  The problem is, I didn't see any answer or guidance in the question.
  When someone has no clue about the broader implications of their
  question, they can't understand the significance of the response
  question.  It's just obfuscation.
 
  Providing some background concerning why the question is fundamentally 
  flawed
  would be more useful than asking questions that he's surely not going
  to be able to answer.  If he could answer the question, he'd probably
  know the answer to his original question, too.
 
 Just my opinion, but sometimes it helps to understand the thought
 process of the person asking the question.  If you can understand why
 they were thinking about a particular solution, you can help them
 identify where their logic was flawed (it may be well before the
 actual issue that they were asking about).
 
 Remember to take what you read in e-mail with a grain of salt, because
 what you may read as being condescending may actually be a very
 sympathetic attempt to help.  It's hard to discern in the written word
 tho :\
 
 --
 Charlie Griefer
 




~|
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=finderproductID=1522loc=en_us

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


Re: CFC in application scope....or else?

2007-11-09 Thread Joeri B
Thanks for all the help. Meanwhile I played with LightWire to get a feel of 
true IoC. I used 2 cfc, and wired them together. Product CFC and a tax 
calculator CFC. Product CFC depended on tax calculator to exist. 

I got it now, I can make OO objects/CFC's which can be easily re-used in 
another application, or other CFC's. So I write less CFC's... 

 

 

~|
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:293022
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Determing last record in a loop

2007-11-09 Thread Azadi Saryev
set some counter var and increment it by 1 with each loop iteration.
compare it to query.recordcount to see if current record is the last one

-- 

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com


~|
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:293023
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: greying out part of a form

2007-11-09 Thread Bobby Hartsfield
I'd use display:none; instead of visibility but in either event, I've never
seen parts of a form not get posted with the rest of the form just because
it was hidden via css.

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com




~|
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:293024
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Scheduled Task Priority

2007-11-09 Thread Steve Moore
Does a CF scheduled task have any higher priority than other CF requests? For 
example, if I have 10 CF tasks running and 50 more queued to run (10 threads 
max set in admin) and the time for a scheduled task is reached, does it get at 
the end or the front of the line of queued tasks?

Steve Moore
Larimer County Colorado


~|
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:293025
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFC in application scope....or else?

2007-11-09 Thread Tom Chiverton
On Friday 09 Nov 2007, Joeri B wrote:
 I got it now, I can make OO objects/CFC's which can be easily re-used in
 another application, or other CFC's. So I write less CFC's...

And less fragile glue to hold them together too.
I wrote a brief comparison of where LightWire and ColdSpring differ here : 
http://rachaelandtom.info/node/1429 and Peter Bell chimed in in the comments 
too.

Which is best for you and/or your current project is another matter :-)

-- 
Tom Chiverton
Helping to revolutionarily e-enable viral markets
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

~|
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:293026
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion XML Case Sensitivity

2007-11-09 Thread Tom Chiverton
On Thursday 08 Nov 2007, Richard White wrote:
 MyDoc.rows.XmlChildren[1].XmlAttributes.id

If you think about it, this works the same as structs - struct.id === 
struct[ID].

-- 
Tom Chiverton
Helping to augmentatively monetize internet applications
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

~|
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-72catid=648

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


RE: greying out part of a form

2007-11-09 Thread Andy Matthews
disabled=true 

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 9:34 PM
To: CF-Talk
Subject: RE: greying out part of a form

Set the fields to 'disabled' when you don't want them used.

...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com






~|
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:293028
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Determing last record in a loop

2007-11-09 Thread Andy Matthews
cfif query.recordcount IS query.currentrow

-Original Message-
From: Steve Sequenzia [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 10:15 PM
To: CF-Talk
Subject: Determing last record in a loop

I have a loop that uses a cfquery with a start and end for paging. I am
trying to figure out if there is a way for me to know if the current record
in the loop is the last record. I know how to tell based on the query but I
am not sure how to know based on the loop.

Any help on the would be great.

Thanks in advance 



~|
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:293029
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfoutput group with totals

2007-11-09 Thread Andy Matthews
You could just alter your query slightly and let SQL do the counting for you. 

-Original Message-
From: Toby King [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 2:22 PM
To: CF-Talk
Subject: cfoutput group with totals

cfoutput query=getAuthorsAndBooks group=authorname b#authorName#/b 
ul cfoutput li#bookTitle#/li /cfoutput /ul /cfoutput


Hi there

I understand the piece of code well – so that’s cool – 
just want to try and enhance the code a fraction.

I want to try and place after the list of books for each author a count of the 
number of books.

I tried this but instead of getting the count once – I got the count 3 
times if there were 3 books, 4 if there were 4 books 5 etc and so on.

Hoe do you include a count after the books and before the next author name.

Thanks




~|
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=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293030
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 Home Directory Problem

2007-11-09 Thread Tom Chiverton
On Thursday 08 Nov 2007, David Mineer wrote:
 it to quit referencing C:\coldfusion8\wwwroot.

Change the '/' mapping ?

-- 
Tom Chiverton
Helping to preemptively consolidate killer m-commerce
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

~|
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:293031
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Scheduled Task Priority

2007-11-09 Thread Dave Watts
 Does a CF scheduled task have any higher priority than other 
 CF requests? For example, if I have 10 CF tasks running and 
 50 more queued to run (10 threads max set in admin) and the 
 time for a scheduled task is reached, does it get at the end 
 or the front of the line of queued tasks?

No, scheduled tasks don't have higher priority. They just tell CF to send an
HTTP request to itself. That HTTP request is then treated like any other
HTTP request.

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!


~|
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:293032
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: mySQL Restore DB by Folder

2007-11-09 Thread Chris Martin
I have several ways to connect...running WAMP, so I have access via 
command line.  I also have SQLyog and mySQL Administrator.

Chris martin

Mark Flewellen wrote:
 I just recently reinstalled my OS.  After I reinstalled mySQL, I 
 attempted to place my databases in the /data folder.  The databases show 
 up, but not the tables...any ideas would be greatly appreicated!

 -- 
 Chris Martin
 

 Generally when you want to restore databases with mysql you would use a 
 sqldump file you have taken of the database and run that, which repopulates 
 the data.

 Copying and Pasting a mysql database won't work,you may have some luck if you 
 have copied the data files after the mysql server had been stopped.

 How are you connecting to MySQL, command line, admin tool etc. There are some 
 commands you can use to check the database and fix errors.

 mark 

 

~|
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:293033
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: MIME type

2007-11-09 Thread Dave Francis
Only with my Access databases!:P

-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 8:23 PM
To: CF-Talk
Subject: Re: MIME type


will that work on cf5 though?


http://coldfused.blogspot.com/2007/06/finding-image-type-for-file.html

Is he usin like DBML or somethin?:)





~|
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:293034
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ColdFusion Home Directory Problem

2007-11-09 Thread Dave Watts
 I have deactivated the builtin coldfusion server and I use 
 iis. I cannot get it to map to C:\inetpub\wwwroot.  I have 
 been able to work around this using lmhosts file, but why 
 does it do this. How can I get it to quit referencing 
 C:\coldfusion8\wwwroot.

You can reconfigure the CF web server to use the same document root as IIS:

http://www.adobe.com/support/coldfusion/adv_development/config_builtin_webse
rver/

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!


~|
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:293035
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFStoredProc

2007-11-09 Thread CF Developer


This should have been simple as making a PBJ. 

I am calling a SP (SQL Server 2005) using the 
CFStoredProc function and to get the result set returned as nextval.
Basically it should return an interget value. 

cfstoredproc 
datasource=#application.datasource# procedure=usp_select_nextval
   cfprocparam type=In cfsqltype=CF_SQL_VARCHAR value=DataTrack_Block
   cfprocresult name = nextval
/cfstoredproc 

Now if I try to use CFDump to 
dump the results set nextval it indicates the variable does not exist.

What is it I am missing? It has ot be something I can say DOH about. 





~|
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:293036
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Reuse regular sub-expression in larger expression

2007-11-09 Thread Ben Doom
There may be a way, but I've not run across it yet.  If you are really 
intent on it, you could simplify it using CF itself.

cfset thing = -?[\w,.]+
and then use
\(#thing#/#thing#\)

For something this trivial, it seems a bit pointless, but for large and 
complicated subexpressions, it might be worthwhile.  I know that I often 
do something like this for linebreaks so that I can easily change which 
linebreak I'm using, and not have to make sure I get every instance. 
:-)  What can I say -- I'm lazy.

--Ben Doom

Andy Matthews wrote:
 Adam Howitt wrote a blog post asking for improvements to a regex that he
 wrote:
 http://tinyurl.com/yvzxjk
  
 This is what I came up with:
 \(-?[\w,.]+/-?[\w,.]+\)
  
 But I'm wondering if it's possible to reuse the first portion of the
 expression, rather than writing the same exact thing twice in one string. So
 rather than this:
  
 \(-?[\w,.]+/-?[\w,.]+\)
  
 I could have this:
  
 \((-?[\w,.]+)/\1\)
  
 or something like that. I could swear that I've seen someone do this before.
 
  
 Andy Matthews
 Senior ColdFusion Developer
 
 Office:  877.707.5467 x747
 Direct:  615.627.9747
 Fax:  615.467.6249
 [EMAIL PROTECTED]
 www.dealerskins.com http://www.dealerskins.com/ 
  
 
 
 

~|
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:293039
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFStoredProc

2007-11-09 Thread Dave Watts
 I am calling a SP (SQL Server 2005) using the 
 CFStoredProc function and to get the result 
 set returned as nextval. Basically it should 
 return an interget value.

 ...

 What is it I am missing?

Without seeing the SP code, who can say? My guess is that your SP is
returning an output parameter, rather than SELECTing a recordset.

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!


~|
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:293038
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFStoredProc

2007-11-09 Thread Bruce Sorge
It looks like you are missing the DBVAR name.

cfstoredproc datasource=#application.datasource# 
procedure=usp_select_nextval
   cfprocparam type=In cfsqltype=CF_SQL_VARCHAR value=DataTrack_Block 
dbvarname=insertfieldnamehere
   cfprocresult name = nextval
/cfstoredproc 



CF Developer wrote:
   This should have been simple as making a PBJ. 

   I am calling a SP (SQL Server 2005) using the 
 CFStoredProc function and to get the result set returned as nextval.
 Basically it should return an interget value. 

   cfstoredproc 
 datasource=#application.datasource# procedure=usp_select_nextval
cfprocparam type=In cfsqltype=CF_SQL_VARCHAR value=DataTrack_Block
cfprocresult name = nextval
 /cfstoredproc 

   Now if I try to use CFDump to 
 dump the results set nextval it indicates the variable does not exist.

 What is it I am missing? It has ot be something I can say DOH about. 

   

   

~|
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:293041
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: changing a css file via coldfusion

2007-11-09 Thread John P
Excellent, thank you all for the suggestions. It makes sense now. I think I'll 
experiment with both methods just to learn the process. Sorry about the double 
post of the question, I couldn't find my initial submission and thought it 
didn't post. 

As always you're very helpful, thanks! 

~|
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:293040
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Reuse regular sub-expression in larger expression

2007-11-09 Thread Ben Doom
IIRC, this only works if you want the same string for both matches.  I 
don't think that is what Andy wanted.

--Ben Doom

Barney Boisvert wrote:
 Yeah, you can do that.  Here's a simple example of it in action (using
 the backreference to match quotes). It also uses a non-greedy modifier
 in there to avoid doing an incorrect match on the apostrophe within
 the double quotes.
 
 cheers,
 barneyb
 
 cfoutput
 cfset baseString = some 'text' with quotes an' some apostrophes in it 
 /
 h2Quoted Strings within #baseString#/h2
 ul
 cfset start = 1 /
 cfloop condition=true
   cfset result = REFind((['])(.*?)\1, baseString, start, true) /
   cfif result.pos[1] LT 1
   cfbreak /
   /cfif
   cfset string = mid(baseString, result.pos[3], result.len[3]) /
   cfset quote = mid(baseString, result.pos[2], result.len[2]) /
   cfset start = result.pos[1] + result.len[1] /
   li#string# (quoted with #quote#)/li
 /cfloop
 /ul
 /cfoutput
 
 
 On Nov 8, 2007 2:16 PM, Andy Matthews [EMAIL PROTECTED] wrote:
 Adam Howitt wrote a blog post asking for improvements to a regex that he
 wrote:
 http://tinyurl.com/yvzxjk

 This is what I came up with:
 \(-?[\w,.]+/-?[\w,.]+\)

 But I'm wondering if it's possible to reuse the first portion of the
 expression, rather than writing the same exact thing twice in one string. So
 rather than this:

 \(-?[\w,.]+/-?[\w,.]+\)

 I could have this:

 \((-?[\w,.]+)/\1\)

 or something like that. I could swear that I've seen someone do this before.
 

 Andy Matthews
 


~|
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:293037
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFStoredProc

2007-11-09 Thread Eric Cobb
cfprocresult is for returning a query result set.  If you're not 
returning query, then you should use:

cfprocparam type=OUT cfsqltype=CF_SQL_INTEGER variable=nextval


CF Developer wrote:
 
   This should have been simple as making a PBJ. 
 
   I am calling a SP (SQL Server 2005) using the 
 CFStoredProc function and to get the result set returned as nextval.
 Basically it should return an interget value. 
 
   cfstoredproc 
 datasource=#application.datasource# procedure=usp_select_nextval
cfprocparam type=In cfsqltype=CF_SQL_VARCHAR value=DataTrack_Block
cfprocresult name = nextval
 /cfstoredproc 
 
   Now if I try to use CFDump to 
 dump the results set nextval it indicates the variable does not exist.
 
 What is it I am missing? It has ot be something I can say DOH about. 
 
   
 
 
 
 

~|
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:293042
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFStoredProc

2007-11-09 Thread CF Developer

The storedProc only returns a single interget value not a 
database object or field.
It runs a Query, gets a value, increments the value, updates the table and 
returns the new calculated value.

such as:  database table as a field called: thisVal and that field is set to 1
It will increment it to 2, updates the table
and set to return 2

as:  return @nextVal

I thought the dbvarname is used to specify the FIELD that you would want to be 
returned.



From: Bruce Sorge [EMAIL PROTECTED]
Sent: Friday, November 09, 2007 8:24 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: CFStoredProc 

It looks like you are missing the DBVAR name.

CF Developer wrote:
 This should have been simple as making a PBJ. 

 I am calling a SP (SQL Server 2005) using the CFStoredProc function and to 
 get the result set returned as nextval.
 Basically it should return an interget value. 

 
 
 
 

 Now if I try to use CFDump to dump the results set nextval it indicates the 
 variable does not exist.

 What is it I am missing? It has ot be something I can say DOH about. 

 

 



~|
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=finderproductID=1522loc=en_us

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


RE: CFStoredProc

2007-11-09 Thread Brad Wood
cfstoredproc.statuscode

-Original Message-
From: CF Developer [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 09, 2007 10:40 AM
To: CF-Talk
Subject: Re: CFStoredProc


The storedProc only returns a single interget value not
a database object or field.
It runs a Query, gets a value, increments the value, updates the table
and returns the new calculated value.

such as:  database table as a field called: thisVal and that field is
set to 1
It will increment it to 2, updates the table
and set to return 2

as:  return @nextVal

I thought the dbvarname is used to specify the FIELD that you would want
to be returned.



From: Bruce Sorge [EMAIL PROTECTED]
Sent: Friday, November 09, 2007 8:24 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: CFStoredProc 

It looks like you are missing the DBVAR name.

CF Developer wrote:
 This should have been simple as making a PBJ. 

 I am calling a SP (SQL Server 2005) using the CFStoredProc function
and to get the result set returned as nextval.
 Basically it should return an interget value. 

 
 
 
 

 Now if I try to use CFDump to dump the results set nextval it
indicates the variable does not exist.

 What is it I am missing? It has ot be something I can say DOH about.


 

 





~|
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:293046
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFStoredProc

2007-11-09 Thread gary gilbert
If you arent returning a result set then you should use a procparam with
type=out.


-- 
Gary Gilbert
http://www.garyrgilbert.com/blog


~|
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=finderproductID=1522loc=en_us

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


Finding ColdFusion servers

2007-11-09 Thread Ian Skinner
I have been tasked to bring some order to the chaos.

Our organization pays for six ColdFusion licenses each year, but nobody 
has a definitive list of what machines have what ColdFusion installed on 
them.  I have a vague memory that there is|was a tool that could survey 
a network and report on what it finds running ColdFusion.  Am I 
imagining this or is there something out there that will save us (me) 
from looking at the directories of dozens of servers and hundreds of 
workstations to see what may or may not be properly or improperly installed?



~|
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:293047
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFStoredProc

2007-11-09 Thread Bruce Sorge
You are right. I misread your issue. Since you are only wanting an 
output variable, you need to change the type to OUT and use the 
Variable attribute.

cfprocparam  cfsqltype=CF_SQL_INTEGER variable=nextval type=OUT



CF Developer wrote:
   The storedProc only returns a single interget value not a 
 database object or field.
 It runs a Query, gets a value, increments the value, updates the table and 
 returns the new calculated value.

 such as:  database table as a field called: thisVal and that field is set to 1
 It will increment it to 2, updates the table
 and set to return 2

 as:  return @nextVal

 I thought the dbvarname is used to specify the FIELD that you would want to 
 be returned.

 

   


~|
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:293044
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


For Sale: CF8 Standard -- New in Sealed Box

2007-11-09 Thread Kirk Holbrook
Hi,

I hope this is okay to post here. The Community and OT lists seemed WAY OT.

Long story short. I won CS3 Master Suite -- already had a copy. Swapped it to a 
friend for CF 8 Standard. I decided I needed Enterprise.

New CF 8 Standard in a sealed box. $1100 OBO.

Please email me at kholbrook [at] gwi [dot] net.

thanks,
Kirk 

~|
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:293048
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: greying out part of a form

2007-11-09 Thread Bobby Hartsfield
Yes... that would be setting them to 'disabled'

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 09, 2007 9:07 AM
To: CF-Talk
Subject: RE: greying out part of a form

disabled=true 

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 9:34 PM
To: CF-Talk
Subject: RE: greying out part of a form

Set the fields to 'disabled' when you don't want them used.

:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com








~|
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-72catid=648

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


Re: Finding ColdFusion servers

2007-11-09 Thread Bruce Sorge
I know that CF-8 has a License Scanner under Debugging and Logging. it 
will search your subnet for other running instances of CF. Not sure if 
this is what you are looking for.

Bruce

Ian Skinner wrote:
 I have been tasked to bring some order to the chaos.

 Our organization pays for six ColdFusion licenses each year, but nobody 
 has a definitive list of what machines have what ColdFusion installed on 
 them.  I have a vague memory that there is|was a tool that could survey 
 a network and report on what it finds running ColdFusion.  Am I 
 imagining this or is there something out there that will save us (me) 
 from looking at the directories of dozens of servers and hundreds of 
 workstations to see what may or may not be properly or improperly installed?
   

~|
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:293050
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Finding ColdFusion servers

2007-11-09 Thread Ian Skinner
Bruce Sorge wrote:
 I know that CF-8 has a License Scanner under Debugging and Logging. it 
 will search your subnet for other running instances of CF. Not sure if 
 this is what you are looking for.

 Bruce
I think that is what I was looking for.  I just tried it on the 
developer version running on my workstation and it found no other 
machines running CF.

A few questions that this list maybe able to answer faster then I can 
find them on my own when I start looking after sending this email.

What is a 'subnet' in reference to this product and why would my 
workstation not see other CF machines on our intranet network?

Does this tool only find CF 8 or any version of CF?

Did this tool exist in earlier versions of CF? 

Currently 8 is only installed on a couple of workstations, our network 
can have versions of CF between 4.5 and 7 running on various machines.

~|
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:293052
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: extra lines in rss

2007-11-09 Thread daniel kessler
have you tried cfprocessingdirective suppresswhitespace='yes' at the 
top of your page?

Tha helped a bit - removed 300 lines, but there are still 24 blank lines 
between items.  Odd.  

~|
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=finderproductID=1522loc=en_us

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


Re: extra lines in rss

2007-11-09 Thread daniel kessler
Strip all the lines out after you're done building the feed?

I could.  I was first hoping to determine why they are there.  I've almost set 
all the code one a couple of lines and I have whitespace suppressed. 

Anyhoo, I'll probably begin ripping out lines now.  I guess I look for 
linefeeds.

thank you.

daniel 

~|
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:293053
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: extra lines in rss

2007-11-09 Thread daniel kessler
Strip all the lines out after you're done building the feed?

That worked fine - thanks.  And have a good weekend.. 

~|
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=finderproductID=1522loc=en_us

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


CF Dev Edition store local file on Network drive - help

2007-11-09 Thread coldfusion . developer
All,

I'm trying to map my Webroot for local dev to a folder on a network drive.  
When I log into the
CFAdmin and try to map the / it doesn't show the network drive.  Then I added my
account to the CF service so that it would be able to see the drives my 
accounts allows
and then restarted the service and still no network drives.  so I tried 
//machine/path/
and the mapping took the path for /  but when I pull up the web root it still 
shows the
default install as the Web root and not the network drive and folder.  

Thanks

D

~|
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-72catid=648

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


RE: Finding ColdFusion servers

2007-11-09 Thread Dawson, Michael
There is a license scanner, but I don't think it works across subnets.

There are a few solutions to this if these are Windows computers...

Getting a list of computers is very easy if you are running Active
Directory.  Just query the AD LDAP server for Computer objects.

1. Use MS SMS (Systems Management Server) to find services running on
the workstations.
2. Write a VBScript that is run in the login script for each
workstation.  Have the VBScript locate either the service or the CF
directory, then send an email or log it.
3. Give your CF service account enough permissions to connect to each
workstation.  Then, have it loop over the results of the Active
Directory LDAP query and test for the CF directory.

I'm sure there are other, better solutions, but this is all I can think
of on a Friday.

M!ke

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 09, 2007 11:45 AM
To: CF-Talk
Subject: Finding ColdFusion servers

I have been tasked to bring some order to the chaos.

Our organization pays for six ColdFusion licenses each year, but nobody
has a definitive list of what machines have what ColdFusion installed on
them.  I have a vague memory that there is|was a tool that could survey
a network and report on what it finds running ColdFusion.  Am I
imagining this or is there something out there that will save us (me)
from looking at the directories of dozens of servers and hundreds of
workstations to see what may or may not be properly or improperly
installed?

~|
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:293056
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ajaxcfc framework and CF problem

2007-11-09 Thread erik tom
 I 1 drop down from where I would like to populate the data in to the 
 text box. So in order to do this I am picked the ajaxcfc. So the code 
 seems to be working, it gets all the requireq values but doe not 
 populate into the box . 
 
 Functions that I am usig : 
   function doQuery(id){
   // send data to CF
   DWRUtil.useLoadingMessage();
   DWREngine._execute(_cfscriptLocation, null, 'categoryUpdate', 
 id, 
 doQueryResults);
   }
   
   // call back function
   function doQueryResults (r) {
   //document.getElementByID(addcategory).style.display='block';
   eval(r);
   
   }
 My Server side function 
 cffunction name=categoryUpdate output=no access=private
   cfargument name=category required=yes type=numeric

 

 
 
   
 cfset var qryCategory=''
   
 cfset var jsReturn =''
   
 
   
 cfquery name=qryCategory datasource=XX
 select category from tablename where 
 categoryID=#arguments.
 category#
  
 /cfquery
   
 
  
 cfsavecontent variable=jsReturncfoutput
   
   $('categoryname').innerHTML = 
 '#JSStringFormat(qryCategory.
 category)#';
   
   /cfoutput/cfsavecontent
   
   cfreturn jsReturn /
 /cffunction
 Do not know what the problem is 
It seems like I solved the half of the problem . I got it to work in Mozilla 
but it does not want to work in IE 
What i did is I set the value to the input box and that was it. How can i get 
it to work in IE
function doQueryResults (r) {
//document.getElementByID(addcategory).style.display='block';

DWRUtil.setValue(categoryname,eval(r));   
//eval(r);

}


~|
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:293058
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


ajaxcfc framework and CF problem

2007-11-09 Thread erik tom
I 1 drop down from where I would like to populate the data in to the text box. 
So in order to do this I am picked the ajaxcfc. So the code seems to be 
working, it gets all the requireq values but doe not populate into the box . 

Functions that I am usig : 
function doQuery(id){
// send data to CF
DWRUtil.useLoadingMessage();
DWREngine._execute(_cfscriptLocation, null, 'categoryUpdate', 
id, doQueryResults);
}

// call back function
function doQueryResults (r) {
//document.getElementByID(addcategory).style.display='block';
eval(r);

}
My Server side function 
cffunction name=categoryUpdate output=no access=private
cfargument name=category required=yes type=numeric



   cfset var qryCategory=''
   cfset var jsReturn =''
   
   cfquery name=qryCategory datasource=XX
  select category from tablename where 
categoryID=#arguments.category#
  /cfquery
   
  cfsavecontent variable=jsReturncfoutput

$('categoryname').innerHTML = 
'#JSStringFormat(qryCategory.category)#';

/cfoutput/cfsavecontent

cfreturn jsReturn /
/cffunction
Do not know what the problem is 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: Finding ColdFusion servers

2007-11-09 Thread Bruce Sorge
Official definition of a subnet according to Search Networking:

A subnet (short for subnetwork) is an identifiably separate part of an 
organization's network. Typically, a subnet may represent all the 
machines at one geographic location, in one building, or on the same 
local area network (LAN 
http://searchNetworking.techtarget.com/sDefinition/0,,sid8_gci212495,00.html).
 
Having an organization's network divided into subnets allows it to be 
connected to the Internet with a single shared network address. Without 
subnets, an organization could get multiple connections to the Internet, 
one for each of its physically separate subnetworks, but this would 
require an unnecessary use of the limited number of network numbers the 
Internet has to assign. It would also require that Internet routing 
tables on gateways outside the organization would need to know about and 
have to manage routing that could and should be handled within an 
organization.

The Internet is a collection of networks whose users communicate with 
each other. Each communication carries the address of the source and 
destination networks and the particular machine within the network 
associated with the user or host computer at each end. This address is 
called the IP address 
http://searchVB.techtarget.com/sDefinition/0,,sid7_gci212381,00.html 
(Internet Protocol address). This 32-bit IP address has two parts: one 
part identifies the network (with the /network number/) and the other 
part identifies the specific machine or host within the network (with 
the /host number/). An organization can use some of the bits in the 
machine or host part of the address to identify a specific subnet. 
Effectively, the IP address then contains three parts: the network 
number, the subnet number, and the machine number.

The standard procedure for creating and identifying subnets is provided 
in Internet Request for Comments /definition/0,,sid9_gci214264,00.html 
950.

The 32-bit IP address is often depicted as a dot address 
http://searchSMB.techtarget.com/sDefinition/0,,sid_gci211994,00.html 
(also called /dotted quad notation/) - that is, four groups (or quad 
/definition/0,,sid7_gci212850,00.htmls) of decimal numbers separated 
by periods. Here's an example:

   130.5.5.25

Each of the decimal numbers represents a string of eight binary digits. 
Thus, the above IP address really is this string of 0s and 1s:

   1010.0101.0101.00011001

As you can see, we inserted periods between each eight-digit sequence 
just as we did for the decimal version of the IP address. Obviously, the 
decimal version of the IP address is easier to read and that's the form 
most commonly used.

Some portion of the IP address represents the network number or address 
and some portion represents the local machine address (also known as the 
/host number/ or address). IP addresses can be one of several classes, 
each determining how many bits represent the network number and how many 
represent the host number. The most common class used by large 
organizations (Class B) allows 16 bits for the network number and 16 for 
the host number. Using the above example, here's how the IP address is 
divided:

  --Network addressHost address-- 
 130.5 .  5.25

If you wanted to add subnetting to this address, then some portion (in 
this example, eight bits) of the host address could be used for a subnet 
address. Thus:

   --Network addressSubnet addressHost address--
  130.5  .   5   .  25

To simplify this explanation, we've divided the subnet into a neat eight 
bits but an organization could choose some other scheme using only part 
of the third quad or even part of the fourth quad.

Once a packet has arrived at an organization's gateway 
http://searchNetworking.techtarget.com/sDefinition/0,,sid44_gci212176,00.html 
or connection point with its unique network number, it can be routed 
within the organization's internal gateways using the subnet number. The 
router knows which bits to look at (and which not to look at) by looking 
at a subnet mask 
http://searchNetworking.techtarget.com/sDefinition/0,,sid9_gci1248394,00.html,
 
which is a screen of numbers that tells you which numbers to look at 
underneath. In a binary mask, a 1 over a number says Look at the 
number underneath; a 0 says Don't look. Using a mask saves the 
router having to handle the entire 32 bit address; it can simply look at 
the bits selected by the mask.

Interestingly enough, I have a dev machine within our subnet but when I 
run the scanner, it does not find it. I am going to get with our network 
guys here and see what's up with that. Also, this tool is available in 
CF 7 as well as 8, not sure about other versions. And I think that it 
looks for all versions of CF.

Ian Skinner wrote:
 I think that is what I was looking for.  I just tried it on the 
 developer version running on my 

Re: Finding ColdFusion servers

2007-11-09 Thread Ian Skinner
Dawson, Michael wrote:
 I'm sure there are other, better solutions, but this is all I can think
 of on a Friday.

 M!ke
Thanks for your suggestion, unfortunately we are a mix of Unix and 
Windows systems here.


~|
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:293060
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Finding ColdFusion servers

2007-11-09 Thread Keith, Jeremy
What I do ...

Is since I know all my servers and have their Ips listed in my asset
management app db I just kicked off a CF execute

cfsavecontent variable=result
cfexecute
   name = c:\windows\system32\sc.exe  
   arguments = \\#servers.computer_name# query
   timeout = 15
   
/cfexecute
/cfsavecontent

If you can span your subnets and I think snmp needs to be running, but
then dump this data into a db and query it for  coldfusion


Jeremy Keith
Network Administrator
Rand-Whitney Group LLC
One Agrand Street
Worcester, MA 01607
Office: (508) 890-7032


-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 09, 2007 3:18 PM
To: CF-Talk
Subject: Re: Finding ColdFusion servers

Dawson, Michael wrote:
 I'm sure there are other, better solutions, but this is all I can 
 think of on a Friday.

 M!ke
Thanks for your suggestion, unfortunately we are a mix of Unix and
Windows systems here.




~|
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=finderproductID=1522loc=en_us

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


RE: CF Dev Edition store local file on Network drive - help

2007-11-09 Thread Russ
Are you doing this in IIS, Apache or what?  Our webroots are sometimes on
other PCs and it works just fine in Apache. 

Russ



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 09, 2007 2:23 PM
 To: CF-Talk
 Subject: CF Dev Edition store local file on Network drive - help
 
 All,
 
 I'm trying to map my Webroot for local dev to a folder on a network drive.
 When I log into the
 CFAdmin and try to map the / it doesn't show the network drive.  Then I
 added my
 account to the CF service so that it would be able to see the drives my
 accounts allows
 and then restarted the service and still no network drives.  so I tried
 //machine/path/
 and the mapping took the path for /  but when I pull up the web root it
 still shows the
 default install as the Web root and not the network drive and folder.
 
 Thanks
 
 D
 
 

~|
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-72catid=648

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


cfsprydataset JSON question

2007-11-09 Thread Dan Vega
I am playing around with the new cfsprydataset tag and I have hit a wall. I
am a bit of a spry newb as well so that could be my problem. The following
code works great and via firebug i can see the returned data (see below) but
nothing gets generated. What am i doing wrong?

cfmodule template=layout.cfm title=Contacts / List All Contacts
subnav=contact

script
Spry.Data.Region.debug = true;
/script

cfsprydataset name=dsContacts bind=cfc:
com.myproject.contacts.getContacts() type=json/

div id=mydata spry:region=dsContacts
table
tr spry:repeat=dsContacts
td{fname}/td
td{lname}/td
/tr
/table
/div

/cfmodule


RETURNED JSON

{COLUMNS:[FNAME,LNAME],DATA:[[Karen *,Pfeiffer,
ASID],[Jeff,S],[Brenda

,n],[James,*r,
ASID],[Bill,*s],[Harry,*],[.,.],[.,.],[Bob

,.],[.,.],[.,.],[.,.],[Rick,Ho***s],[.,.],[y,.],[.,.],[.,.],[

..,.],[.,.],[Al,***]]}



-- 
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org


~|
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:293063
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfsprydataset JSON question

2007-11-09 Thread Steve Milburn
It looks like the field names being returned are in all-caps, and the your 
bindings are not.  Try to capitalize your bindings in your spry output, ie 
{FNAME} and {LNAME}.
Steve
-Original Message-
From: Dan Vega [EMAIL PROTECTED]
Sent 11/9/2007 6:45:30 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: cfsprydataset  JSON questionI am playing around with the new 
cfsprydataset tag and I have hit a wall. I
am a bit of a spry newb as well so that could be my problem. The following
code works great and via firebug i can see the returned data (see below) but
nothing gets generated. What am i doing wrong?
cfmodule template=layout.cfm title=Contacts / List All Contacts
subnav=contact
script
Spry.Data.Region.debug = true;
/script
cfsprydataset name=dsContacts bind=cfc:
com.myproject.contacts.getContacts() type=json/
div id=mydata spry:region=dsContacts
table
tr spry:repeat=dsContacts
td{fname}/td
td{lname}/td
/tr
/table
/div
/cfmodule
RETURNED JSON
{COLUMNS:[FNAME,LNAME],DATA:[[Karen *,Pfeiffer,
ASID],[Jeff,S],[Brenda
,n],[James,*r,
ASID],[Bill,*s],[Harry,*],[.,.],[.,.],[Bob
,.],[.,.],[.,.],[.,.],[Rick,Ho***s],[.,.],[y,.],[.,.],[.,.],[
...,.],[.,.],[Al,***]]}
-- 
Thank You
Dan Vega
[EMAIL PROTECTED]://www.danvega.org


~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: cfsprydataset JSON question

2007-11-09 Thread Dan Vega
That didnt do it, good try though, thanks!

Dan

On Nov 9, 2007 8:02 PM, Steve Milburn [EMAIL PROTECTED] wrote:

 It looks like the field names being returned are in all-caps, and the your
 bindings are not. Try to capitalize your bindings in your spry output, ie
 {FNAME} and {LNAME}.
 Steve
 -Original Message-
 From: Dan Vega [EMAIL PROTECTED]
 Sent 11/9/2007 6:45:30 PM
 To: CF-Talk cf-talk@houseoffusion.com
 Subject: cfsprydataset  JSON questionI am playing around with the new
 cfsprydataset tag and I have hit a wall. I
 am a bit of a spry newb as well so that could be my problem. The following
 code works great and via firebug i can see the returned data (see below)
 but
 nothing gets generated. What am i doing wrong?
 cfmodule template=layout.cfm title=Contacts / List All Contacts
 subnav=contact
 script
 Spry.Data.Region.debug = true;
 /script
 cfsprydataset name=dsContacts bind=cfc:
 com.myproject.contacts.getContacts() type=json/
 div id=mydata spry:region=dsContacts
 table
 tr spry:repeat=dsContacts
 td{fname}/td
 td{lname}/td
 /tr
 /table
 /div
 /cfmodule
 RETURNED JSON
 {COLUMNS:[FNAME,LNAME],DATA:[[Karen *,Pfeiffer,
 ASID],[Jeff,S],[Brenda
 ,n],[James,*r,
 ASID],[Bill,*s],[Harry,*],[.,.],[.,.],[Bob

 ,.],[.,.],[.,.],[.,.],[Rick,Ho***s],[.,.],[y,.],[.,.],[.,.],[
 ...,.],[.,.],[Al,***]]}
 --
 Thank You
 Dan Vega
 [EMAIL PROTECTED]://www.danvega.org


 

~|
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:293065
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4