is there any such thing as the best way?
err.. what do you want to do?
--
dc
~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF
community.
Tango?
Mark... If you're asking I'm dancing :)
--
dc
~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=36
Message:
You could look at FLiP for this I think...
There is a good spiel from Helms Peters about FLiP in MP3 format that
has got me rethinking a lot of things...
http://www.grokfusebox.com/index.cfm?ref=flipOut
There are loads of software packages for this discussed in the MP3's :)
--
dc
I have JS function to get the screen available width.
I need to either put that in a CF variable
Possibly without any testing but will get you in the right direction.
div id=resizeme
...Some content...
/div
script type=text/javascript
var screenWdith = getScreenWidth
Cheers Greg, just wanted to see what you meant and how you solved it :)
--
dc
~|
Get the mailserver that powers this list at
http://www.houseoffusion.com/banners/view.cfm?bannerid=17
Message:
I did this a while and had the following in pseudo code which is a bit
diff from the other suggestions:
(frameset)
~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF
community.
try that again without the hyphens :)...
I did this a while and had the following in pseudo code which is a bit
diff from the other suggestions:
(frameset)
var hasLoadedFrameA = false;
var hasLoadedFrameB = false;
function isReady() {
if (hasLoadedFrameA ++ hasLoadedFrameB {
All I would say and it's pretty obvious but wasn't for me a year ago or
so...
Cache the crunched report data and the presentation separate... got an
app now that I would love to change the fact that I cached the HTML page
generated (mixing the data with the presentation)
Would have helped me
As said there is no definitive but here's my two pennies worth.
After all, we are talking about sets here, and it's natural to
pluralise them.
My old database teacher would have a fit with that... but each to their
own :)
We use two words to describe (and name) each table
An example here
I don't think you can build up a string with cfqueryparam and execute it
inside a cfquery tag (check the archives for a definitive answer)
you would need to build some sort of udf's (custom tag pre-cfmx) that
would carry out this sort of thing AFAIK
(I think Issac's onTap does something like
1) I am browsing around a site to try to find something.I don't
know where it is, exactly, so I have to try a bunch of different
options.If all of the options along the way are a bit slow (let's
say 2-5 seconds each), my brain starts to smoke and I go elsewhere
if possible.
2) I browse
Does anyone on this list use the FLiP Methodology. I was
wondering exactly
what this is and what the benefits are of using it.
Just finished first listen of Helms and Peters talking about
Fusebox/FLiP in general and was pretty enlightening
All have the extension .bin and NOT .eps or .tiff
Stab in the dark, are there equivalent .cue files (ie CD image files
maybe)?
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
I just installed MSql 4.0 on my Win2K machine. I started it from the
command line and opened another DOS window and did some querying.
i did this at the weekend and found these steps useful.
install php
install phpmyadmin
use the winmysqladmin.exe in the bin dir of mysql to
sure there's a cfmyadmin tool out there as well...
http://www.cfmyadmin.com/
You'll still find it easier running the winmysqladmin.exe to configure
the mysql server tho
if not, good luck with the command line there's plenty of docs about
it on the mysql website.
me, I'm a windows
Not sure understood exactly what you are trying to do but I think this
may do it
I made a few assumptions
- DataSetDtl.DsHdrID is not the primary key of the DataSetDtl table,
but a FK to a parent table
!--- Form page ---
CFQUERY name=GetPoints dataSource=#application.DS#
SELECT *
FROM
May this have something to do with it?
http://www.theregister.co.uk/2004/09/23/authorize_ddos_attack/
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Each of these would be discussed in some detail below.
That list kinda looks like the index of Ben's Cold Fusion MX
Certification book :)
http://forta.com/books/0321180585/
And the Macromedia Coding Guidelines
http://livedocs.macromedia.com/wtg/public/coding_standards/
And a bit of
I'm getting you here Brant.Sometimes you do get answers, sometimes you
don't :-/
I'm sure most folks try and help out everyone as much as they can.Keep
asking tho :)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Hi Don
I wasn't been cheeky, just pointing to the resources that I have seen
that seemed to fit in with your question.You should have a look at the
book and the coding guidelines, I got a lot from them anyway :)
A few times I've found it heartening that what I kinda taught myself has
been
Hello
I'm been trying to use CFC's in a more OO way using a sort of MVC
methodology.I'm getting my head round most of the concepts but I'm
kinda stumped at one question in my head,Could anybody provide any
pointers?When considering user input data from the View layer, should
data validation
dc said...
Arguments is an array rather than a structure
dave watts said...
If I recall correctly, the Arguments object is exposed
as both an array
and a structure.
s. isaac dealey said...
On MX you're right, although the original question was on CF5.
OK... run this code then
run the query again...
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
This works on CF5
cfset form.test = david
cfscript
function formValue(formName, defaultValue) {
if (structKeyExists(FORM, formName) ) {
return HTMLEditFormat(FORM[formName]);
} else {
return HTMLEditFormat(defaultValue);
}
}
/cfscript
cfdump var=#formValue(test,jimmy)#br /
cfdump
i would do a full total count on every refresh so you never need to
subtract.
remember and do server side validation tho :)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Yeah, count from zero by looping thro the form and totalling every time
that there is an onclick.Then just write that total out in the
apprpriate place.
Means that you don't need to bother about keeping track of the state of
the form, means that you are only worried about the current state of
Any help?
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=
3
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid
=3threadid=875453 threadid=875453
Watch for the wrap.
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast
var answer = confirm('Do you want to delete');
if (answer) {
//do delete action
}
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
http://tinyurl.com/625zp... does that work?
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
memememe
-Original Message-
From: Ryan Mannion [mailto:[EMAIL PROTECTED]
Sent: 26 August 2004 15:13
To: CF-Talk
Subject: Gmail Accounts
Who wants one? I have 4.
First 4 to respond get them.
_
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User
dependant on platform and if you have access, you could cfexecute a
batch file
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
without code all I could say was it's CSS with the layer positioning
needing set?
wrap in div's and set the z-index to try forcing on top?
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Your original post wasn't very informative was it?
It looks like you have
-- page one -
var myText = Show's some example code please;
window.location.href = ''#URL.text#')
/cfquery
I'm guessing here... but you then get the error message that you have
quoted
Error Occurred While Processing Request
File not found: /CFIDE/componentutils/cfcexplorer.cfc
I'm a noob to CFC's but I got the exact same when I called a controller
CFC via HTTP post and I didn't relocate anywhere after it... it seemed
to redirect to the cfc explorer without the redirect to
Why dont you use JS and let the client do all the validation?
Cos a user may have _javascript_ turned off... never trust the client
(well you know what I mean)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
CFC's aren't used directly by your browser, but by your .CFM files.
I use them as my controller's... my form submit calls the CFC
directly or is this just bad?
(Based on http://www.benorama.com/coldfusion/patterns/part2.htmwhich I
like)
--
dc
[Todays Threads]
[This Message]
But most of the validation can be and SHOULD be done client side on
the contrary.
Must disagree... the more client side validation, the better for the end
user and a better app you will build...
But the most important validation is on the server...
You can build something with only
Then you don't desagree, you agree ;-)
I do agree with the more client side the better... I know it's pretty
bad, but it's usually my deadlines that define how much client side
validation I get to put in.
Cheers Claude :)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast
call it once and assign the return var to a variable.
then just call returnvar.functionName
ie
myWidget = createObject(component, myComponentPath);
myWidget.init();
stockCode = myWidget.getStockCode();
I think... I'm a noob to the wonders that is CFMX being still stuck on
CF5 in work
The main page can open several popup windows. The problems is that
the popup windows
*sometimes* have a different session than the opener page. The result
is that customers
see data from other customers.
If it's an intranet situation, one possibility is network storage of
profile space and
Sorry if I'm stating the obvious but have you tried the Macromedia
Installation support forum?
http://www.macromedia.com/support/coldfusion/installation.html or
something or other
It may be worth asking there if you haven't already.
--
dc
[Todays Threads]
[This Message]
how to output my 10 news in 2 columns(CSS div style)?
If I'm understanding you right the basics are:
style type=text/css
#news-left { float: left; }
#news-right {float: right; }
/style
div id=news
div id=news-left
News 1br /
News 2br /
News 3br /
News 4br /
/div
div
I want to programmatically create a consecutive list of months/dates
starting from a certain month, eg
Set your intial date, set your max date, loop round incrementing the
month by one using dateAdd
cfscript
startDate = createDate(2003, 03, 01);
endDate = now();
thisDate = startDate;
How to divide that news in 2 columns, like this:
Again, if I understanding you right (not tested this code but it's
thereabouts)
cfset noNews = news.recordCount /
cfset halfNews = int(news.recordCount/2) /
div id=news
cfoutput query=news
cfif news.currentRow eq 1
div id=news-left
I get a lot of broken images and some not. How would I go about
checking that the image is there first and if so displaying
otherwise... just go along my merry way?
fileExists?
convert the URL to the path and use file exists... only work for local
tho
-- dc
[Todays Threads]
[This
Simplified:
nicely refined Pascal...
got the -verbose switch on all the time on my command line ;)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
I wouldn't argue with you over it tho Pascal... principal is the same
and can be modded to make it do what was required :)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
nice one greg... :D
I like that :)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Hello
I was mucking about with CFMX at home (still CF5 in work) and came
across something I couldn't explain.Whenever I used URL querystring
parameters, any URL parameters I had created with cfparam disappeared.
I tracked it down to the following sequence of code which demonstrates
the issue.I
cgi.HTTP_REFERER does not seem to pick up domain names outside of the
web site it runs from.
I've found that it isn't set when it is a _javascript_ redirect... the
HTTP_REFERER dissappears
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations
We are looking to integrate some address lookup software (Quick
address Pro
http://www.qas.co.uk) into our application.
Oh forgot to mention that our version uses a COM object on the popup
screen
--
David
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User
We are looking to integrate some address lookup software (Quick
address Pro
http://www.qas.co.uk) into our application.
We use QuickAddress but it was implemented before my time... a few of
the other developers have easily integrated it with other applications.
It's implemented using a JS
I've found Benoit's site to be quite an eyeopener if you haven't already
encountered it
http://www.benorama.com/coldfusion/index.htm
Covers most of your points.
I guess there will be lot's of other ways to do it anyway :)
--
dc
[Todays Threads]
[This Message]
[Subscription]
You got a little hiccup in there Getting a lot of division by zero
errors when trying to view a topic
Tried to add it to the bug forum but getting the errors as well
Looks cool tho
--
dc
-Original Message-
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: 02 August 2004 17:00
Change the profile to set the number of messages per page to
something else as 0.
nice un Jochem... my mistake as usual :)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Yesterday I started getting problems with my PC. The symptoms are
that the
web server never responds to a request for a cfm page.
Have you got the new Zone Alarm installed and using IIS?
I had this prob at home and it turns out the new Zone Alarm mucks about
with IIS, no fix as yet, you just
The problem i am having is when users 'X' out of the
application rather than using the logout function.The
session get destroyed, but the directory and the files in
it will not be deleted.
keeping it simple keep a note of when folders were created and last
accessed in an application
Hey Sam, I like the Benorama approach too.Just done some small fry
stuff on it though.
Mach-ii kinda scares me tho :-/I found it a little hard to get into
and kinda gave up as got limited RD time at the moment.
Should I persist with it?
--
dc
[Todays Threads]
[This Message]
User INNER JOINCant stand that awful syntax for joins..:-)
Unless your DB doesn't support Inner Joins ;-)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
soz, should have said that inner join syntax (before anyone jumps down
my throat)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
I'm coming in late but would something like this work?
cfquery name=worthATry datasource=whatever
SELECT
courseoutline.coursetitle, courseoutline.coursesummary,
courseoutline.coursepath,
iteccourse.coursestart, iteccourse.duration, iteccourse.availability
(to_char(coursestart, ) ||
Just curious, what's the big advantage of XHTML compatible?
You can perform XSLT on xhtml pages... which according to the XSLT
cookbook (O'Reilly) for more details on how this is going to be very
handy in the future
Some examples off the top of my head
- XSL template to change specific XHTML
how many records you taking about in the tables... 100's, 1000's,
millions?
doesn't look like you are joining between either
tblemsterclients and tblbillingaddress
or
tbllegaladdr and tblbillingaddress
without one of the joins above you would get a cartesian join. and
it could
Is there any way to share the ASP session.
Pretty sure you cannot do this apart from writing the ASP session vars
to a cookie or doing an elaborate cfhttp to get the ASPsessionID
from the page headerand then using CF to call an ASP web service with
said cookie ID which could then give CF the
Like HTTP_FORM_FIELDS or something like that
structKeyList(form)
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Have you tried...
cfquery name=shortlist dbtype=query
SELECT DISTINCT
email, Newsletter
FROM
Thislist
WHERE
Newsletter = 1
ORDER BY
email
/cfquery
We're on CF5 and QoQ and AFAIK it always chokes unless you explicity use
all the columns that you reference. just a thought :-/
I'll put money on it that it's the Excel that's causing the problem
Once had to do an app that was to use the client's existing Excel based
inventory control (don't ask).Thing was, when I connected to the
spreadsheet via a datasource it would randomly chuck away data and also
had horrible
cfif not (structKeyExists(session, ranAlready) and
session.ranAlready)
Run Code
cfset session.ranAlready = true
/cfif
This will mean the code will only be ran once per session *not*
refresh is that what you are trying to achieve?
Probs want to lock it as well
--
dc
[Todays
Replication/Synchronization across servers not on the same network
Coming in late as usual.
http://www.foldershare.com/
I cannot vouch for this... not sure about the security, reliability etc,
but it's on my list of things to check out!
--
dc
[Todays Threads]
[This Message]
message of LDAP server is unwilling to perform
How busy is the traffic to the LDAP?Ours refuses connections after a
certain limit over a defined period of time, presumably to stop hack
attempts.
Might be a similar issue.
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast
Is there a self varible in coldfusion?much like $PHP_SELF if your
functions...
getBaseTemplatePath()
getTemplatePath()
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Nate wrote:
Check out the following link for what is probably the best, simplest,
most painless method to
use the :focus pseudo-class in IE.
http://www.htmldog.com/articles/suckerfish/focus/
Thanks Nate, it's a third party application done in Uniface which I know
nothing about and it's going
My resource window in homesite became undocked somehow.. anyone know
how to dock it?
Double clicking the title bar works in CF Studio if you undock any of
tabs, if that helps
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
In which case, keep a list of items as you write them out, and before
you do the next one, check that it's not in the list
Jumping in here so ignore if this does help you
cfset noDupsList =
cfloop list=dupsList index=anything
cfif not listFindNoCase(noDupsList, anything)
cfset
IE6 doesn't support focus in CSS.However Dean Edwards Beta of IE7
(Internet Extensions)
Cheers, will look into it... users wanting the input boxes to change
color and you know how it goes, gotta get it working for them
Cheers everyone :-)
--
dc
[Todays Threads]
[This Message]
You are looping over an array, you will need to set your values within
the loop, it would be something like this
cfset noDupList =
CFLOOP INDEX=i LIST=#ArrayLen(arPages)#
cfset sValNoComma = arPages[i]
cfif not listFindNoCase(noDupList, sValNoComma)
cfset noDupList =
Oops as Philip said it would need to be
cfset noDupList =
CFLOOP from=1 to=#ArrayLen(arPages)# index=i
cfset sValNoComma = arPages[i]
cfif not listFindNoCase(noDupList, sValNoComma)
cfset noDupList = listAppend(noDupList,sValNoComma)
option value=#sValNoComma#Seq:
Hello
I've been looking at
http://www.w3.org/TR/CSS21/selector.html#pseudo-elements and the
pseudo-class 'focus'
When I've got
style type=text/css
.input { background: #CC; color: #00; }
.input:focus { background: #FF; color: #FF; }
/style
input type=text size=20
I want to detect the resolution of the monitor and use thise values
in CF ?
How do i do that ?
http://www.google.com/search?hl=enie=UTF-8q=Resolution+of+monitor+usin
g+_javascript_
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I get TONS of spam and viruses in my mailbox on a daily basis...so
much that
I am thinking of changing my email address.
If you're using Outlook, SpamBeyes is working well for me after training
it up
http://spambayes.sourceforge.net/
--
dc
[Todays Threads]
[This Message]
[Subscription]
Uneditable textarea box
possible could use an iframe or use the onfocus event to blur it every
time on the textarea tag
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
thanks all :-)
--
David
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
another method I seen on the list
better to use some sort of username rather than just a bit column to
indicate a lock... also a timestamp that the record was last modified
then you can do a scan every twenty minutes and if it has not been
updated in 20 minutes you can assume that the user is no
use cookies to keep track of the users. There is one
company that when people from there login, they are seeing other
peoples information from that company.
I know you said that they are all using their own computers... but we
had issues where the network storage of profiles was getting mixed
If said winner used the server to develop
where is the said winner, haven't heard a peep since started this
thread... do you think she was scared off?
:-)
--
David
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Probably hanging out on the cf-community list waiting for everyone to
continue the discussion over there like Mike D requested.
:-)Nice one!Over and out from me
--
David
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Well... over on cf-ot I posted this on Saturday (I know, need to get a
life) so I'll post here in the hope of getting a response :-)
Anybody recommend any good forums for XSL/XSLT beginners?
Books and all recommendations welcome.
Got a loan of the XSLT Cookbook from Or'Reilly*** and that
Thanks for getting back to me... sorry, I don't think I've worded it
very well
I've went through the simple tutorials on w3schools, also on zvon.org...
I've got a grasp of the really basic stuff with the basic examples
given.
I'm at the stage where I've got a XML schema and I wanna be able
I wouldn't say the book makes XSLT exactly easy to understand, but I
think that's because XSLT just isn't very easy to understand ;-)
That's exactly what I'm running into... just don't know enough to make
the leaps required at the moment... but ah'll keep trying :-)
Cheers
--
David
[Todays
It does?! Nah, I had no idea ... hitting book store tonight ...
Yeah... mentions the commercial ones then gives a nod to yours... I
could dig out the page no if needed :-)
Cheers for the link to the list... looks like exactly what I was looking
for.Thanks for your help.
--
David
[Todays
.poor SOBs.
I am one of them :-)... I don't grumble with a pretty good broadband
connection that stays up forever.
Serious question tho...One benefit is that I can at least test my apps
on an AOL browser... how do you do that if you are not a member of AOL?
Is there another way of doing this?
point your 404 handler at a custom CF template that processes the
below...
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: 15 April 2004 14:20
To: CF-Talk
Subject: CF and Virtual Directories.
I have 100 different clients that I would like to send printed marketing
yikes... should read the post first some shared server spaces allow
you to define a custom 404, my ASP one does anyway
-Original Message-
From: David Collie (itndac)
Sent: 15 April 2004 14:38
To: CF-Talk
Subject: RE: CF and Virtual Directories.
point your 404 handler at a custom CF
I once saw some code that could be used in a a href="" tag
to automatically 'populate' the Subject line of an email.
1. mailto:[EMAIL PROTECTED]body=AnythingYouWant
Work in all browsers?
2. Pretty sure it doesn't work for all of them but can't remember which
off the top of my head
--
David
eloquently stated erik.I couldn't agree more.why fight the
tide...its wasted effort.
I don't think it is wasted, people listen to us as IT professionals :-)
and when people ask about a browser, I direct them to Mozilla Firefox
these days.
Already started converting all our people to using it,
That's plain horrible.
Yip :-)
The system will get blamed for not working, but in fact it is a
browser issue that you have instigated.
Soz, should have qualified that a bit better... I said
' Already started converting all our people to using it...'
What I should have said is...
'Already
www.mozilla.org/products/firefox
Look at the extensions as well... especially the web dev one..superb
--
dc
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I am wondering if anyone has any ideas.I am opening some PDF files
with CFContent using the following code:
CFHEADER NAME=Content-Disposition
VALUE=inline; filename=#VARIABLES.file_name#
CFCONTENT TYPE=application/pdf FILE=#VARIABLES.file_location#
Everything works fine on the machines
How do I single out the record with the latest start time (time field
in MySQL)?
select *
from table a
where a.time = (select max(b.time) from table b)
note that this query may return more than one row if the timestamps are
the same...
http://www.w3schools.com/sql/sql_functions.asp
--
dc
I'm trying to work out how to trigger my _javascript_ within a select
box:
Don't use cfselect myself, but here is the html version I would use
select name=this
>
option value=thisThis/option
option value=thatThat/option
/select
--
dc
[Todays Threads]
[This Message]
[Subscription]
1 - 100 of 226 matches
Mail list logo