I'm using xsl to parse an xml document. It's a bit rediculous, but part of the xml is escaped and there's currently nothing I can do about it.
<parent>
<child>
<id>1</id>
<name>Test</name>
</child>
</parent>
I want to be able to read it as:
<parent>
<child>...
I think we might be having a similar problem. Can you tell me what the hotfix is? If the software is all up to date, then should the hotfix be included?
Thank you,
-tleish
- tleish
I know there's a few out there, but essentially they are html/javascript code put into a cf tag, very little cf programming is used.
You can take some other html/javascript pop-up calendars and put it in your code. Here's a bunch to look at, the first one is excellent and by far the best...
I try to avoid using the Evaluate() whenever possible, it takes longer than other methods.
The FORM scope is actually a structure. The followinf variable can be writen 1 of 2 ways:
#FORM.myvar#
#FORM["myvar"]#
or, if you are passing a variable it can be:
<cfset string =...
I'm not sure if this id the direction you are going, but you may be interested in this tag:
DP_ParseBBML v1.0
The Depressed Press of Boston
http://vboston.com/DepressedPress/Content/ColdFusion/CustomTags/DP_ParseBBML/Index.cfm
This ColdFusion 4.5+ CFML custom tag translates a simplified...
Check the Read/Write permissions on the file and/or folder of the db Access file.
For more info see:
'Operation Must Use an Updateable Query' Error
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q175168
- tleish
Parameters are passed to a bat file through a list format, I believe the delimiter can either be a comma or a space. Then you capture the argument based on it's position in the parameter list with a % in front of it (%1,%2,%3...). The following code below will ping yahoo.com and tek-tips.com and...
My suggestion would be to create a bat file that does most of the work and then pass parmaters to the bat file using CFEXECUTE. If you can get the bat file to work alone, but can't get CFEXECUTE to work with it, I can help you from there. - tleish
Try adding ## to the TableName property value:
=== START CODE EXAMPLE ===
<cfinsert datasource="ITEMS" tablename="#form.item_opt#">
=== END CODE EXAMPLE === - tleish
Radio Buttons and checkboxed are different than all the other form fields in that if they are not checked, then the form variable isn't passed at all... not even an empty form variable.
So there are 2 ways to doing this.
1. Create a default variable using <cfparam>
=== START CODE EXAMPLE ===...
...//Your question.
if (doyou == true)
alert("Me Too!"); //If your question is answered Yes.
else if (doyou == false)
alert("*Sniff* *Sniff* Too Bad!"); //If your question is answered No.
//-->
</script>
');
</cfscript>
=== END CODE EXAMPLE === - tleish
If you are using CF 5 or MX then you can use this function from cflib.org:
Weekdays(date1, date2)
http://www.cflib.org/udf.cfm?ID=260
If you don't have CF 5, then this code should help you code a Weekday count custom tag: - tleish
My guess is that the 2nd loop through the query doesn't have any records, so dimension 2 of the array is never created:
<!--- Only populate array if a record was found in 2nd query --->
<cfif #GETEND.recordcount# neq 0>
The array still exists, just with no 2nd dimension. To troublshoot this I...
Here is one way:
=== START CODE EXAMPLE ===
<cfset n = "51841855454">
<cfoutput>
#Right(n, Len(n)-4)#
</cfoutput>
=== END CODE EXAMPLE === - tleish
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.