Neil,
You can't update an alert box, but you could create a pop-up window (or if
you're using IE exclusively, then create a Modal window.) With a pop-up or
Modal window, you'd just be creating a standard HTML document. The other
option, of course, would be to use DHTML to create alert-style
Jon,
The reason the cookie last so long is to effectively never expire it.
Preferably, you don't want to reassign a user a new CFID/CFTOKEN pair--you
want to keep those cookies on their system forever, that way you'd be able
to track that particular user over the lifetime of the app. The length
Paul,
First thing, go to the CF Administrator and go to Server Variables. If
you're going to be using any datasources for client vars, here's where you'd
register them. You can also change the default storage mechanism for client
vars.
The next step would be to use the CLIENTSTORAGE attribute
If a checkbox is unchecked, then that form variable will not be passed via
either a POST or GET action.
-Dan
-Original Message-
From: Dondana Alberto [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 9:16 AM
To: CF-Talk
Subject: Re: Random form variables problem
I'm
qForms automatically disables a submission from occuring when a click-happy
user keeps trying to submit a form:
http://www.pengoworks.com/qForms/
-Dan
-Original Message-
From: Robert Rusher [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 11:54 AM
To: CF-Talk
Subject: Re:
Michael,
qForms won't do it on a key press, but it will do it onBlur--which is going
to be a much more compatible method.
qForms:
http://www.pengoworks.com/qForms/
-Dan
-Original Message-
From: Mike Morris [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 1:34 PM
To: CF-Talk
Ryan,
You can download any of my tags--including CF_ObjDump--off my web site:
http://www.pengoworks.com/index.cfm?action=CustomTags
-Dan
-Original Message-
From: Ryan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 9:30 AM
To: CF-Talk
Subject: Re: Cf_objectdump
At
You need to pass the actual value of the field:
input
type=button
value=preview
onClick=window.open('preview.cfm?name=' +
escape(document.forms[0].Yourname.value),'',...)
-Dan
-Original Message-
From: FARRAH NG [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May
Matthew,
Check out qForms:
http://www.pengoworks.com/qForms/
It will greatly simplify creating client-side validation. You don't need to
be a JavaScript wizard, if can program in CF, you should be able to use the
qForms API with no problems. It's also *much* more powerful than the
built-in
Malcolm,
Take a look at qForms:
http://www.pengoworks.com/
It'll replace the need to use CFFORM and is much more powerful and flexible.
-Dan
-Original Message-
From: Malcolm Taylor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 8:42 AM
To: CF-Talk
Subject: CFINPUT
Brandon,
Check out qForms:
http://www.pengoworks.com/qForms/
It has all sorts of really easy to use validation methods. For example, to
make sure they select a state, you could just do:
obj.fieldName.validateState();
or to simply check that the value was not blank:
You can download my custom tag CF_LOCATION from:
http://www.pengoworks.com/index.cfm?action=CustomTags
The code is pretty simply and does allow you to use CFCOOKIE and do a
server relocation on the same page. Using the CFHEADER tag, you're able to
successfully relocate the user using the code:
Larry,
JS is purely client, which means to execute an CFML based upon JS you're
going to have to make a roundtrip to the server. WDDX is great for
serializing JavaScript data and passing it into a format CF can deal with
natively.
For ways to interactive w/the server without appearing to leave
You could use this OCX to develop your own ActiveX control...
-Dan
-Original Message-
From: Sutton Yamanashi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 2:55 PM
To: CF-Talk
Subject: Looking for a Web Based ActiveX Treeview
Greetings CF-ers!
I am looking for an
Eeik! Actually, as cheap as RAM is right now, throw in another 768MBs. You
can probably pick it up for $200. It'll definitely help exponentially. (You
should never run a SQL Server w/less than 768MB/1GB of RAM. Memory is just
so cheap now, there's no excuse not to.)
Of course, make sure you've
Zac,
I don't have a link to the discussion you're asking about, but I've always
found that CFFORM was lacking in several key areas--so I wrote a JavaScript
API that I use in place of CFFORM called qForms. The API is open source and
is a *lot* more powerful and flexible then the CFFORMs code, and
John,
You can add the line "val = val.toLowerCase()" before the ".split()"
command, but this would cause problems with split-case names like
"McDonalds", which would become "Mcdonalds."
-Dan
-Original Message-
From: John McKown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26,
Nathan,
I think you're a little off in your interpretation.
3 ^ 3 = 27 ( 3 x 3 = 9, 9 x 3 = 27)
27 ^ (1/3) = 3
- Dan
-Original Message-
From: Nathan Stanford [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 4:17 PM
To: CF-Talk
Subject: RE: Power of 3
According to
There is a non-recursive tag way to do this. However, if at all possible,
look to the db to handle this. There's a great book by Joe Celko called "SQL
for Smarties" that discusses a method called "Nested Tree Model" which will
allow you to pull out data in a tree format using any standard
you know what i mean?
Steve
"Dan G. Switzer, II" wrote:
There is a non-recursive tag way to do this. However, if at all possible,
look to the db to handle this. There's a great book by Joe Celko called
"SQL
for Smarties" that discusses a method called "Nested Tree Mod
?
Steve
"Dan G. Switzer, II" wrote:
Not quite sure exactly what you're asking. If you can provide an example,
I
can probably answer it for you. I haven't run in to anything I haven't
been
able to do.
-Dan
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECT
Having not looked into SQL Server 2000, does anyone know if they've added
this kind of functionality yet?
If not, that's a major oversight in my opinion. Even though there are
efficient ways to handle parent/child relationships, the ID/ParentID is used
a ton. The CONNECT BY PRIOR is definite a
Alex,
The session scope is also a structure, so you can use the StructInsert on
the Session scope as well. You can also use the format:
CFSET Session[idx] = StructNew()
which is a little easier to read.
-Dan
++---+
| name | Dan G. Switzer, II
Yeah, go to the Ftp site:
ftp://ftp.netscape.com/pub/netscape6/english/6.0/windows/win32/sea/N6Setup.e
xe
I had to do some prodding to find it, but it does work. The download is
25MBs.
-Dan
-Original Message-
From: lsellers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000
I installed it on 3 different PCs. I can't get it to work at all on one, it
just GPFs and dies. I've tried reinstalling, deleting all the files and
registry settings, reinstalling again, etc, etc. Still no go. The second PC
wouldn't work the first time I installed it, similar problem, no GPFs,
Phillip,
I recommend checking out the DynAPI2-it's a cross browser DHTML API that
works with NS4+ (including 6) as well as IE4+.
http://dynapi.sourceforge.net/
It has methods and add-ons for just about everything you could possible
want-and the time you'll save from having to code around all
You could write a CFX_J tag that would use the GZip compression and send it.
If you're using a Fusebox-style implementation, then you'd encapsulate
you're entire page in a custom tag (i.e.
CF_HTMLCompress/CF_HTMLCompress.) The custom CF tag would be something
like:
CFIF ThisTag.ExecutionMode IS
ntStructure[key],
key2)#/cfoutputbr
/cfloop
/cfloop
The Evaluate() function is very CPU expensive, and it's best to try and
avoid using it when possible.
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com
I'd love to see some write an Extended SP that would in take a WDDX packet,
parse the string and convert it to usable data. I'd also love to do the
reverse (convert a recordset to WDDX in an Extended SP and just pass back
the WDDX packet.)
-Dan
-Original Message-
From: [EMAIL PROTECTED]
Here's two stored procedures that will allow you to run a DTS package-it's
the method I use. You can call the SP from either CFQUERY or CFTOREDPROC
tags. The spExecuteDTS is the only SP you use, but the second SP is used by
spExecuteDTS.
-Dan
Ruslan,
Every since CF4.01, CF has supported short-circuit logic. So the you're
first example *does* work in CF4.01+.
-Dan
-Original Message-
From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 10:12 AM
To: CF-Talk
Subject: Short Circuit Evaluation
I have
Kevin,
I'm actually surprised that CF doesn't throw an error with the statement.
Get rid of the "is 'TRUE'" portion:
if( Check_NT.RecordCount GT 0 ){
}
(You can shortcut this further to just "if( Check_NT.RecordCount ){"
Also, I don't notice any brackets around your IF statement, which means
David,
Why aren't you just using WDDX to get the values out? If for some reason you
can't, look in to using REFindNoCase with the "return subexpression" option
set to true (this is the fourth argument in the function.)
This will return a structure containing a single item array which will mark
the information you need is available at:
http://www.pengoworks.com/qforms/
Sincerely,
Dan G. Switzer, II
[EMAIL PROTECTED]
PS - I'm sending this message out to both the JS-Jive and CFTalk lists, only
because I commonly see questions relating to JavaScript interaction with
form elements
Michael,
Check out: http://www.pengoworks.com/qForms/
You can disable any type of form fields, and it provides backwards
compatibility to NS3 and above. You can also set up dependencies, which
allow you to basically create a rule like: "Require an e-mail address, if
the custom wants to receive
Large packets take forever to post, but I've posted some pretty big darn
packets to servers. The biggest thing to watch out for is ODBC limitations
on your fields. By default SQL Server 7 only allows 64K long strings. If you
need more, create a separate DSN for large block inserts and use that
Go to: Tasks Tools JavaScript Console
It took me a while to find it the first time too-I got to used to being able
to type "javascript:" in the address bar. :)
-Dan
-Original Message-
From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 10:12 AM
To:
Mark,
Take a look at qForms:
http://www.pengoworks.com/qForms/
You're going to run into some problems using your current method if your
form contains any non-text fields. qForms provides a common API for setting
and retrieving form fields. Plus, it's cross-browser compatible, so it'll
take the
Check out the qForms API:
http://www.pengoworks.com/qForms/
It won't necessarily solve the blanking of the forms problem, but you can
pass it a JS based structure and it will repopulate the form, which will
save you a ton of CF-based coding, since all you'll need to do is save the
FORM scope as
Tobe,
I believe this problem is due to a bug in the VisualC++. This is a known bug
which you can read more about here:
http://msdn.microsoft.com/visualc/headlines/2001.asp
As you can see, the bug has been known about for a number of years. Not sure
if Allaire has a patch out for 4.01, but 4.5x
Check out qForms:
http://www.pengoworks.com/qForms/
It's a lot more flexible and powerful then the CFFORM JavaScript, and it's
open source and free.
-Dan
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 10:51 AM
To: CF-Talk
Subject: RE:
Paul,
It's impossible to overlay a layer over a multiple frames. In order to have
something appear over multiple frames, you'd need to use an ActiveX control
or some other external control that's not bound to the browser window. The
one thing you can do-but it's a big pain, is to have you're
I use a table around the text w/an edit icon in the upper right-hand corner.
I'll e-mail you off-list a couple images that show the difference. I use a
subtle background color change as well-it doesn't show up in 256 colors, but
you could choose something less subtle that does-either way, the
Check out my CF_FormWizard w/the wddxFormLibrary JavaScript Library:
http://www.oacfug.org/users/dswitzer/forms/
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
++---+
-Original Message-
From: Chris Evans [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 05, 2000
Brain,
WDDX won't do it natively, but I have a library that will:
http://www.oacfug.org/users/dswitzer/forms/
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL
It's been something I've requested a few times. I'd love to be able to
define a user-defined "CustomTags" directory within the CFAPPLICATION tag.
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|
The next meeting of the Ohio Area Cold Fusion Users Group will held on
Tuesday, April 11, 2000 at 6:30pm.
Our topics for this month include:
- All the Latest News from Allaire
Security Bulletins
Product Info, Updates, Bug Fixes
- OACFUG News and Info you need
Coming events for this
for the NeoMagic 256XL+ drivers.)
Thanks (and sorry for wasting for the OT,)
Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED
Chris,
Make sure your form has an ending /FORM tag. Netscape really has problems
when this isn't present. IE will still pass the form's content though...
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http
ription
FROM Services
ORDER BY Description
/CFQUERY
CFOUTPUT QUERY="GetServices"#Description#BR
/CFOUTPUT
NOTE: To sort by "descending" order, add "DESC" after the column name. You
can also sort by multiple columns.
-Dan
+--------+------
Justin,
That's me. Here's the URL:
http://www.oacfug.org/users/dswitzer/forms/
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED
.
Not sure how Netscape 6 will deal with it. It's definitely an annoying
"feature." :)
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL
I just want to point out something that I think is important to note. CF4.5
is a basically a re-write from scratch. Previous version of CF that worked
on Solaris relied on a third-party solution to emulate NT under Solaris. The
reason they used the Bristol solution, was so they could port to
ons:
CFIF NOT Compare(string1, string2)
/CFIF
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
++---+
-Original Message
works w/Netscape v2 as well.)
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
++---+
-Original Message-
From
for normally
connectivity, and one for sending packets larger then 65K.
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED
I downloaded and installed it. The feature list is incredible rich, but
there is most definitely a learning curve involved. I had to put it on the
backburner until I had more time to play with it. However, there are some
really killer features (like being able to have multiple developers work on
[mailto:[EMAIL PROTECTED]]
Sent: Monday, April 17, 2000 11:50 AM
To: [EMAIL PROTECTED]
Subject: RE: Source Control
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 17, 2000 11:49 AM
To: [EMAIL PROTECTED]
Subject: RE: Source Control
backburner
means,
but has some really great useful tips for organize your data.
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED
looking to do parent/child relationships in a database, to buy the
SQL for Smarties book by Joe Celko. It's not a beginners book by any means,
but has some really great useful tips for organize your data.
-Dan
++---+
| name | Dan G. Switzer, II|
|company
1480Method=FullCache=Off
-Dan
++---------------+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
++---+
-Original Message-
From: J
Creating a Custom ColdFusion Tag (101)
http://www.oacfug.org/dsp_Articles.cfm?view=Articles_58
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED
Here's some links that might help:
http://www1.allaire.com/Handlers/index.cfm?ID=10334Method=Full
http://www.allaire.com/Handlers/index.cfm?ID=7671Method=Full
http://forums.allaire.com/devconf/Index.cfm?Message_ID=252664
-Dan
++---+
| name | Dan G. Switzer, II
Rueben,
You might want to check out my articles on Structures at:
http://www.oacfug.org/dsp_Articles.cfm
I think it might help you see some other benefits of structures as well.
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com
Earl,
Josh Dowdell met an untimely death about 18 months ago. His wife continued
running the list server for several months after his passing, but eventually
she shut it down.
-Dan
-Original Message-
From: Hubert Earl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 25, 2000 10:33 AM
Becky,
As the author of qForms I can tell you it integrates *extremely* well
w/ColdFusion. As a matter of fact, many of the features of the API
derived as a way of making it easier to develop complex applications
w/server-side technologies--and most specifically, ColdFusion.
I would recommend
Actually, in Office XP they introduced another tier of security. If
you're accessing a network drive that's being restricted based upon your
Internet Explorer settings (which I believe by default is any network
drive mapped by an IP addy,) then there are some configuration changes
you'll need to
-index
the entire index.
-Dan
++---------------+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
++---+
-Original Message-
From: Brian P. Doyle [mailto:[EMAIL PROTECTED]]
TextPad is another option as well. From what I can tell, the specs on both
UltraEdit and TextPad are about identical, but I prefer TextPad...
-Dan
-Original Message-
From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 22, 2000 11:37 PM
To: [EMAIL PROTECTED]
Subject: RE:
""
Now the Custom1 field would contain a list holds the item of a product and 2
pricing models-with each item separated by the caret symbol. You could of
course store as many things in the list as you wanted.
-Dan
++---+
| name | Dan
server
causing the problems. You might try passing the CFID CFTOKEN (and possibly
even a unique random variable) via the URL to help ensure the uniqueness of
the request.
Just some ideas...
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com
Jeffrey,
You can use the TOP predicate along with ORDER BY DESC to pull off the last
X number of records
SELECT TOP 5 ArticleID, Article
FROM Articles
ORDER BY ArticleID DESC
This assumes your primary key is called "ArticleID."
-Dan
++---+
| na
Brook,
I'd recommend buying SQL for Smarties by Joe Celko. There's a couple of
chapter specifically on ways to handle hierarchy data w/different database
systems. I really like the "Nested-Set Model." The nice thing about the
Nested-Set model is that you can do all your tree parsing/order via
----------------+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
++---+
-Original Message-
From: Ric Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, Ju
+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
++---+
-Original Message-
From: Doug Nottage [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 11:21 PM
T
pull small
bits of new data to/from the database using a hidden frame.
I know I didn't really answer anything specific, but hopefully this somewhat
helpful.
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|
the link to it
right now...
-Dan
++---+
| name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
++---+
-Original Message-
From
David,
Check out qForms:
http://www.pengoworks.com/qForms/
The setValue() method will allow you to pass in a comma-delimited string of
values to have selected in a select box (this would be the same string that
the server receives when the form is submitted.)
Hope this helps!
-Dan
You can find all my tags at:
http://www.pengoworks.com/index.cfm?action=CustomTags
I've stopped using the DevExchange for uploading tags--just too many issues
I haven't been able to work around.
-Dan
-Original Message-
From: Ledwith, Brian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Andrew,
Check out the qForms API:
http://www.pengoworks.com/qForms/
It'll make what you're trying to do very easy. As a matter of fact, if you
want to know the value of the field, just do:
obj.fieldName.getValue();
No need to trap the value, just call the getValue() method. You can
Nate,
No need to use the Evaluate() function--it'll just slow you down:
BGCOLOR=#stColor[QueryName.CurrentRow MOD 2]#
-Dan
-Original Message-
From: Nate Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 3:17 PM
To: CF-Talk
Subject: RE: Alternating BG colors on a TD
Paul,
Using qForms it's pretty easy to this. Since it's OO-orientated, doing 4
isn't much different from doing 2. I know people that have done as many
as 8 related select boxes (and somebody has probably done more than
that.)
qForms:
http://www.pengoworks.com/qForms/
-Dan
-Original
at cfug
or have you done this already?
-paul
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 1:33 PM
To: CF-Talk
Subject: RE: Four Selects Related.
Paul,
Using qForms it's pretty easy to this. Since it's OO
Rayna,
Check out qForms:
http://www.pengoworks.com/qForms/
It's a JavaScript framework for working w/forms. There isn't a built in
validation method for this, but here's one that'll work with qForms:
function _f_isCheckboxLenLT(len){
_param(arguments[0], 5, number);
if(
Mark,
You want to use ListFind(), not ListContains() in your example below.
ListContains() is going to return a position for site since site is
contained in siteMinute, siteNews, site and siteSpin. ListFind()
will only find matching values. ListContains() will return a match if
the string being
time it'll save you.
Once again, sorry for the cross post.
Sincerely,
Dan G. Switzer, II
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http
Jim,
Check out the qForms API: http://www.pengoworks.com/qforms/
The API has a set of instructions for doing just what you're looking for
using standard JavaScript. Check out the example pages for online
samples.
-Dan
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]]
Richard,
There's an excellent method for handling hierarchical trees in Joe
Celko's SQL for Smarties which he refers to as the Nested Set Model.
There are some excellent tutorials on using the Nested Set Model w/CF on
SecretAgents.com:
I just through together an article which shows how you can invoke a DTS
package via SQL using a couple of stored procedures:
http://www.pengoworks.com/index.cfm?action=articles:spExecuteDTS
-Dan
-Original Message-
From: jon hall [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14,
Shawn,
Sample Code - Class definition:
function MyObjectAddObject(oObject) {
var oNewObj = new SubObject();
Where is SubObject() declared? Is it in both the pop-up window and the main
window?
//methods
this.AddObject = MyObjectAddObject();
Michael,
Remember, XSLT doesn't just mean XML to XHTML--you could use XSLT to
retransform the XML packet into a sorted XML packet and then run your CF
logic on the new sorted packet.
I believe I've seen a solution posted here:
http://www.dpawson.co.uk/xsl/sect2/sect21.html
If not, you
Check out qForms. It'll greatly simplify the syntax of dealing w/JS forms,
as well as it'll cut your work down tremendously.
http://www.pengoworks.com/qforms/
There's a number of examples online that will give you an idea of where to
get start. Essentially all you need to do this is to set an
Joshua,
Here's an article I wrote which details executing a DTS script from within
ColdFusion:
http://www.pengoworks.com/index.cfm?action=articles:spExecuteDTS
You'll have to create a couple of stored procs, but it's just a cut-n-paste
deal.
-Dan
-Original Message-
From: Joshua
Seems like it is a bug. In following example, the first XPath statement
works as expected, the second finds 2 matches, but returns empty arrays.
cfxml variable=sampleXML
rules
rule name=firstRule
subelement name=myAttributetext here/subelement
/rule
rule
xpath() function to use to
replace the xmlSearch() function. You could then either choose to use a
Java-based parser, or just reformat strings to make them CFMX friendly.
-Dan
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 3:34 PM
that this doesn't work.
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 2:45 PM
To: CF-Talk
Subject: RE: XPath in CFMX
Oh yeah, to workaround the bug, you could write a UDF that you'd run
before
passing the xmlSearch
Uh, //[EMAIL PROTECTED] and //rule/@name aren't
equivalent XPATH expressions. The first is all
element rule nodes which have a name attribute while
the second is all name attribute nodes belonging to a
rule element node
You are correct, but the problem stems more from the way Macromedia
Dave,
You can't inter-mingle server-side code (CF) and client-side code (JS.) CF
runs strictly on the server, while the JS in this example runs strictly on
the client-side.
You can use techniques like covered in my article Client-to-Server
Communication Using DHTML--which is at:
Even tho' you have to make a request you can make that request without
having to redisplay the page. I've an article about the simplest method
for doing this on my site here:
http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/G
IFAsPipe/Index.cfm
That article links
1 - 100 of 612 matches
Mail list logo