displaying top 100 results
Portal Topic Examples – sample code
Examples – sample code
Portal Comment Comment on Examples – sample code by garykosman
Comment on Examples – sample code by garykosman
Portal Comment Comment on Examples – sample code by Charlie Arehart
Comment on Examples – sample code by Charlie Arehart
Portal Comment Comment on Examples – sample code by Charlie Arehart
Comment on Examples – sample code by Charlie Arehart
Tracker Comment Comment on Var keyword breaks code formatter by Legorol S.
2682155 CFB-4188240 Legorol S. I see that this bug is marked as fixed in CFB 2016 Update 4. I have just installed the update, and unfortunately it's still not fixed properly.
Some progress has been made. For example, this code can now be formatted:
However, these code examples still can
5793701 CF-4204474 Philipp C. added missing Example1.png and Example2.png files
Tracker Comment Comment on isValid("email") is poorly implemented, in that it rejects a bunch of stuff that's legit by Adobe D.
2613554 CF-3231157 Adobe D. Fixed: Here are some more email ID's tested with their result using isValid() :
"()[]:,;@\\\"!#$%&'*+-/=?^_`{}| ~.a"@example.org: YES
" "@example.org: YES
admin@mailserver1: YES
user@[IPv6:2001:db8:1ff::a0b:dbd0]: YES
"very.(),:;[]\".VERY.\"very@\\ \"very\".unusual"@strange.example
Regular expressions – practical examples to get you started
Tracker Comment Comment on ext.js errors by External U.
2608636 CF-4040469 External U. Yes, that did work for the example code.
Tracker Comment Comment on Another example of scoping issues with inconsistent bahviour by External U.
Comment on Another example of scoping issues with inconsistent bahviour by External U.
Bug 74212:EntityLoadByExample won't handle things if you load your example object with a foreign key object (add a group to a user for example)
Tracker Issue Bug 74102:The code examples for cfmap are as follows:
Bug 74102:The code examples for cfmap are as follows:
[ANeff] Doc Bug for: ArrayClear missing syntax example and 'See also' heading
Tracker Comment Comment on Some X-Axis Labels Don't Show by External U.
2609230 CF-3872385 External U. -- Attached Reproduction Files --
File chartExample.txt includes ColdFusion code to reproduce the issue. I've made dummy labels that are the same character length as our labels (although these labels are a single word, whereas ours are multiple words). File chartExample
Portal Comment Comment on Null support in ColdFusion 2018 by Aaron Neff
Aaron Neff Hi Vijay,
I believe the Admin API example needs changed? The topic is Null support in CF2018. But, the Admin API example is for retrieving corePoolSize, maxPoolSize and keepAliveTime.
Thanks!,
-Aaron
Tracker Issue documentation of Cron examples
documentation of Cron examples
2975903 CF-4198463 Nikhil S. it is a documentation bug, as the examples given are wrong. 'm' for minutes has been long deprecated and the examples should use the correct mask which is 'n'
Tracker Comment Comment on [ANeff] Bug for: 3520983 not fixed by Adobe D.
2608626 CF-4044095 Adobe D. If a pattern consists of a comma(,) then the pattern should be enclosed in quotes. Like for example in the above example,
1) validateparams="{pattern= '[!@,]' }"
2) validateparams="{pattern= '[!]{1,}' }"
(Comment added from ex-user id:bukkittu)
2609847 CF-3758430 External U. Also confirmed..
The header appears at the same place in both of these examples, which means the 2nd example is incorrect b/c cfhtmltopdfitem ignores the unit="cm":
header
body
header
body
Thanks!,
-Aaron
2613629 CF-3198173 External U. You can NOT just use the example script in the blog entry to check. The problem is NOT in now,
it is
if just run the example in the blog entry, it will never in cfcatch.
Tracker Comment Comment on Example of bad comment coloring by Dattanand M.
Comment on Example of bad comment coloring by Dattanand M.
Comment on NumberFormat not producing output as per examples by Ricardo R.
Tracker Comment Comment on Example of FilePath() in documentation uses invalid parameter filePath when it should be file by Mukesh K.
Comment on Example of FilePath() in documentation uses invalid parameter filePath when it should be file by Mukesh K.
codem36518387 https://github.com/AndrewKralovec/ColdFusion2018AsynExample
3584275 CF-4199998 Aaron N. +1 - the erroring example should work
Tracker Comment Comment on Form variables should be able natively handle structs and arrays by James M.
2673024 CF-4156093 James M. Example has been added
2675973 CF-4010693 External U. totally agree - the examples are often poor
2675973 CF-4010693 External U. totally agree - the examples are often poor
2675973 CF-4010693 External U. totally agree - the examples are often poor
2609894 CF-3750467 External U. Feel free to email for example code.
Tracker Comment Comment on Another example of scoping issues with inconsistent bahviour by External U.
Comment on Another example of scoping issues with inconsistent bahviour by External U.
Tracker Comment Comment on Another example of scoping issues with inconsistent bahviour by External U.
Comment on Another example of scoping issues with inconsistent bahviour by External U.
Comment on Documented example of mediaplayer isn't workable by External U.
2682169 CFB-4168441 External U. Added more broken examples
Tracker Comment Comment on Example of bad comment coloring by External U.
Comment on Example of bad comment coloring by External U.
Comment on NumberFormat not producing output as per examples by Ricardo R.
Saurav Ghosh You're welcome Aaron! Also we want to gather as much community-contributed examples as possible. Please chip in wherever you feel an example lacks something.
Yes, Aaron. The list will contain the latest update. For example, after Update 2, since all updates are cumulative
3199706 CF-4198866 Justin C. I've emailed to cfinstal@adobe.com some examples. I have also attached examples here. I can create a standalone example if needed. We're using ColdFusion 2016 Enterprise by the way.
Tracker Comment Comment on Ordered structs omitted from docs by External U.
2673657 CF-4119454 External U. No mention here either:
https://helpx.adobe.com/coldfusion/developing-applications/the-cfml-programming-language/using-arrays-and-structures/creating-and-using-structures.html
And the code examples are rubbish.
No mention of struct iteration functions here either
2609215 CF-3910529 External U. Confirmed what Adam Tuttle already mentioned: this is only partially fixed in CF11 Update 4 (build 11,0,04,293085(PreRelease)). The example in the description works, but his example does not.
Since both examples worked in CF11 Final, this ticket should not be closed
Tracker Comment Comment on SecureProfile should not install Example Datasources, Gateways, or Solr Collections by Piyush K.
Comment on SecureProfile should not install Example Datasources, Gateways, or Solr Collections by Piyush K.
Tracker Comment Comment on Comment Block Color Coding Fails by External U.
2682488 CFB-4038802 External U. You are correct that this does seem hard to reproduce. I just created a test.cfc file with my example and it doesn't break. This issue is just another example of the number color coding issues that randomly break. I am attaching another example were this breaks.
Bug 78905:In the examples we're searching for the word ROAM
Tracker Issue Bug 74144:On Page 55 (as numbered in the documentation) the cfbutton code example is missing the closing ">"
Bug 74144:On Page 55 (as numbered in the documentation) the cfbutton code example is missing the closing ">"
't format most code that include the 'var' keyword in cfset.
Consider reopening CFB-4188240.
I have installed the update, and have observed the following. Some progress has been made. For example, this code can now be formatted:
However, these code examples still can't be formatted:
Example 1
Bug 82935:(Watson Migration Closure)[documentation] CFGRID examples promote sql injection risksPlease consider updating the CFGRID examples (in all versions) to remove queries like the ones below that are wide open to sql injection
Bug 77251:The example given for EntitySave in centaurbeta2_dev
Tracker Issue [ANeff] Bug for: implicit struct/array breaks <cfelseif>
2608478 CF-4082131 Language Aaron Neff [ANeff] Bug for: implicit struct/array breaks implicit struct/array breaks (no issue in script; issue exists only in tag)
The simplest index.cfm example is: (Throws "Variable ___IMPLICITARRYSTRUCTVAR0 is undefined
Tracker Issue setDomainCookies="true" does not set domain cookies in websites like... http://example.com
setDomainCookies="true" does not set domain cookies in websites like... http://example.com
Bug 86823:(Watson Migration Closure)[ANeff] Bug for: cfsilent + implicit struct|array = vanishing variablescfsilent + implicit struct|array = vanishing variablesPlease see the three 'Bad' examples, for repro
Tracker Issue Bug 84684:(Watson Migration Closure)[ANeff] Bug for: HTML cfform ignores cfsilent & cfsavecontent
Scripts for HTML datefield, rich textarea and grid (see example #1). This causes negative behavior, if the page contains additional forms. If a 2nd form has same name, then 0 grids are displayed (see example #2). If a 2nd form has different name, then 2 grids are displayed (see example #3).Tested in CF9.0.1 & CF9
Tracker Issue this.smtpServerSettings missing options
.smtpServerSettings does not pass along the TLS and PORT number.
this.smtpServerSettings = {server = "mail.example.com",username="user@example.com",password="PA$$w0rd",usetls="true",port='587'};
The email that is generated is thus missing information and the emails are note sent.
Actual Result: Note that the port
Tracker Issue Bug 80369:(Watson Migration Closure)In the example, a new mail object is created named mailService
Bug 80369:(Watson Migration Closure)In the example, a new mail object is created named mailService
Portal Comment Comment on Union and diff of arrays by Tony Junkes
is an array of Java Method classes.
Here's an example:
exampleArray = [];
methods = exampleArray.getClass().getMethods();
// If you want to see the raw result
// writeDump(methods);
arrayEach(methods, function(method) {
writeOutput("#method.getName()#");
});
Tracker Issue Documented example of mediaplayer isn't workable
Documented example of mediaplayer isn't workable
Tracker Issue Bug 80090:[CFMESSAGEBOX] In the syntax example it says :- buttonType "yesno|yesnocancel"and is missing the "="
Bug 80090:[CFMESSAGEBOX] In the syntax example it says :- buttonType "yesno|yesnocancel"and is missing the "="
Tracker Issue Bug 80086:[CFFILEUPLOAD] In the syntax example of the documentation there is a missing ">" from the opening tag
Bug 80086:[CFFILEUPLOAD] In the syntax example of the documentation there is a missing ">" from the opening tag
Tracker Issue Bug 78949:When using bind with the following example attached, the grid will not render in IE
Bug 78949:When using bind with the following example attached, the grid will not render in IE
2608957 CF-3953329 External U. Hi Giancarlo and Adam,
I noticed the same. Example:
Example 1:
link
Output 1:
link
Microsoft Outlook, when user clicks the link, doesn't replace the + w/ spaces.
Example 2:
link
Output 2:
link
Microsoft Outlook, when user clicks the link, does replace the %20 w
Tracker Comment Comment on Add format mask to parseDateTime() by External U.
2610456 CF-3700856 External U. I think you need to change the name oft hat second argument: it's misleading. It might also be nice if you actually stated what the POP format actually *was*.
Also: your code example for the formatting strings are *good* examples. your main code example
Comment on Bug 83613:(Watson Migration Closure)[ANeff] ER for: Example:
#myQuery by External U.
specify the query that drives the processing."
The example I gave must not fully represent our live code. The patch did fix the example, but not in production. I'll continue to try and track down the cause and provide an updated example.
Portal Topic AWS Chime CF Tutorial
adamwakal AWS Chime CF Tutorial Chime Example
The post AWS Chime CF Tutorial appeared first on ColdFusion. Discussion,Language,ColdFusion,discussion,language
James Mohler I like that some of the examples have semicolon and some don't. That was a good new feature too.
aliaspooryorik Seems to be some missing var scoping in the code example. Agree that it's very hard to read the code!
Portal Comment Comment on ColdFusion Google Drive by cinemaApe
cinemaApe cfoauth is interesting. cfdrive was looked at but, need additional examples of it trying to pull the images from where the photo albums are stored on google drive.
Portal Comment Comment on Intersection of arrays by Matthew Clemente
Matthew Clemente Thank you for this post! Found it really, really helpful - just what I needed for a project. Especially appreciate the detailed breakdown and examples.
Tracker Issue server.xml file virtual directory instructions confusing
2673491 CF-4126493 General Server Dave Ferguson server.xml file virtual directory instructions confusing The instructions in the server.xml file for adding a new virtual directory to built in web server is confusing.
1: There is an error in the example xml where the end tag for "
Tracker Issue serializeJson() escaped fwd slashes
2610648 CF-3689049 AJAX : Plumbing Adam Cameron serializeJson() escaped fwd slashes See https://groups.google.com/d/msg/railo/4EiksqmZgas/67SK5grA-rUJ & https://issues.jboss.org/browse/RAILO-2807
This applies to CF as well. Repo:
st = {"link" = "/example/example1"};
json1 = serialize
not tested this on a clean install, but on our server expericing the issue, I have two sites configured in IIS www.example.com which runs the ColdFusion site and example.com which uses the "redirection to a URL" feature to redirect to http://www.example.com.
Once setup I attempt to navigate to a cfm page
4709544 CF-4203272 Documentation [ANeff] Doc Bug for: "Using closures" doc unrequired arguments Issue: "Using closures" doc has many code examples that use optional arguments w/o checking for their existence
Suggestion: Make those arguments required
Example Before:
-----------
function hello
1723018 CF-4163460 External U. Can you give a syntax example?
2673000 CF-4157679 External U. Do you have an example of what the code would look like?
2608416 CF-4100088 External U. And thanks, Piyush, for the example using Java methods directly.
Tracker Comment Comment on isNull() just doesn't work by External U.
2608667 CF-4028246 External U. At least now I know where to point when someone asks me to give an example of ineptitude.
Tracker Comment Comment on CFPOP doesn't put all inline images in to attachment files but does add them to attachmentFiles by External U.
2608698 CF-4021472 External U. I can send headers and examples as required
2675973 CF-4010693 External U. If we have full script support in CF11 and beyond, and we want more developers to use script as a good practice, then script examples need to be in the wiki docs. Either we need to have examples of script for each tag/function, or we need a link under a script table
2609121 CF-3926812 External U. Hi Roberto,
Could you please see if also duplicates the .eml files? Example:
Thanks!,
-Aaron
2609471 CF-3844976 External U. And your own example code doesn't work either.
Tracker Comment Comment on setDomainCookies="true" does not set domain cookies in websites like... http://example.com by S P.
Comment on setDomainCookies="true" does not set domain cookies in websites like... http://example.com by S P.
Tracker Comment Comment on setDomainCookies="true" does not set domain cookies in websites like... http://example.com by S P.
Comment on setDomainCookies="true" does not set domain cookies in websites like... http://example.com by S P.
Tracker Comment Comment on setDomainCookies="true" does not set domain cookies in websites like... http://example.com by External U.
Comment on setDomainCookies="true" does not set domain cookies in websites like... http://example.com by External U.
Tracker Comment Comment on CFCHARTSERIES Data Attribute Will Not Produce Pie Chart According to Documentation by External U.
2609694 CF-3800311 External U. The attached image, "badExample.png" is using @Anuj Nawani code exactly. The 'chart' is unusable.
Tracker Comment Comment on Calling Randomize() with the SHA1PRNG does not create "repeatable number patterns". by External U.
2609722 CF-3792283 External U. Even the example provided in the documentation does not work.
Tracker Comment Comment on [ANeff] Bug for: implicit struct|array overrides short-circuiting by External U.
2609970 CF-3740276 External U. Hi Rupesh,
Thanks for your reply. Will it be documented on the struct and array pages?
Example for Struct page (https://wikidocs.adobe.com/wiki/display/coldfusionen/Creating+and+using+structures):
Structure notation overrides short-circuiting. The following line
Tracker Comment Comment on SecureProfile should not install Example Datasources, Gateways, or Solr Collections by External U.
Comment on SecureProfile should not install Example Datasources, Gateways, or Solr Collections by External U.
Tracker Comment Comment on SecureProfile should not install Example Datasources, Gateways, or Solr Collections by External U.
Comment on SecureProfile should not install Example Datasources, Gateways, or Solr Collections by External U.
Tracker Comment Comment on SecureProfile should not install Example Datasources, Gateways, or Solr Collections by External U.
Comment on SecureProfile should not install Example Datasources, Gateways, or Solr Collections by External U.
Tracker Comment Comment on String in Array Converted to Boolean by External U.
2596808 CF-3694322 External U. Want to verify you have all the examples you need in my description and Adam's repo.
Tracker Comment Comment on Another example of scoping issues with inconsistent bahviour by External U.
Comment on Another example of scoping issues with inconsistent bahviour by External U.
Tracker Comment Comment on Another example of scoping issues with inconsistent bahviour by External U.
Comment on Another example of scoping issues with inconsistent bahviour by External U.
Tracker Comment Comment on Another example of scoping issues with inconsistent bahviour by External U.
Comment on Another example of scoping issues with inconsistent bahviour by External U.
Tracker Comment Comment on Scales attribute of cfchartseries by External U.
2611109 CF-3640436 External U. I tried passing scales="foo", scales="#a struct#" and it didn't work for me. Can you share an example?
Comment on Documented example of mediaplayer isn't workable by Adobe D.
Tracker Comment Comment on CFHTTP with compression="none" fails to decode deflated http response by External U.
2612402 CF-3515644 External U. Attached a simple test example, but here is the code to reproduce:
Comment on Use of deprecated functions in documentation example code by External U.
Tracker Comment Comment on The sample code is missing in many of the cache functions and the syntax is incorrect in some places by Saurav G.
2612906 CF-3372940 Saurav G. and an example of CacheRemove()
Tracker Comment Comment on The sample code is missing in many of the cache functions and the syntax is incorrect in some places by Saurav G.
2612906 CF-3372940 Saurav G. Please send me the updated syntax of CacheRemove and example.
2613004 CF-3354038 External U. example neo-cron.xml attached.
Tracker Comment Comment on CFLOOP needs an implicit index by External U.
2613177 CF-3341256 External U. I've verified the example also works for lists:
#elem#
#i#
Returns:
a 1
b 2
Thanks!,
-Aaron