Or you could also simply use the base href tag () and then have all your images/style
sheets/javascript references do something like this:
And it will automatically resolves.
G
On Wed, 22 Dec 2004 05:38:44 -0800, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> Fusebox.
>
> There's a lot of reaso
IS this what you are after?
public class Welcome {
public static void main(String[] args) {
String greeting [];
greeting = new String [2];
greeting[0] = "Welcome";
greeting[1] = "howdy";
for (int i = 0; i < g
Hmm it may seem like a lot of trouble, but using Doug's technique you
can control the number of columns displayed and their order through
CSS, just by changing the body ID, one template many possible layouts,
I think it's worth the effort to look more closely at it. I use it all
the time by merging
Hmm it may seem like a lot of trouble, but using Doug's technique you
can control the number of columns displayed and their order through
CSS, just by changing the body ID, one template many possible layouts,
I think it's worth the effort to look more closely at it. I use it all
the time by merging
BlueDragon does support SSL, in the upcoming release (6.2) they will
remove support for SSL on the free version, but it'll be in the full
one.
G
On Thu, 16 Dec 2004 12:07:23 -0500, Damien McKenna
<[EMAIL PROTECTED]> wrote:
> The restrictions on the free version are regarding redistribution, i.e.
Also have a read of this blog entry (an interview with one of the
CFeclipse developers):
http://cybersonic.blogspot.com/2004/09/rob-rohan-interview.html
It contains some really must have plugins (other than cfeclipse)...
Cheers
G
On Mon, 08 Nov 2004 09:32:12 -0400, Bob Clingan <[EMAIL PROTECTED]
No that's not true, you can load jar and java classes it's just not as
straightforward as simply adding them to the class path. See Spike's
article on loading jars.
Cheers
G
On Wed, 03 Nov 2004 09:40:53 -0400, Ryan Jones <[EMAIL PROTECTED]> wrote:
> Well Tom, at this point I guess my primary con
I have only ever used it as an authentication method, i.e. rather than
checking against say a database I used this to authenticate the user
against the domain, if true set the appropriate session variables and
that was that. So to log out simply cleared the session.
You don't necessarily have to s
Josh,
You can find a few best practices/gudieliens here:
http://www.dintenfass.com/cfcbestpractices/. Nathan kindly put these
together based on threads/discussions on the CFCzone mailing list
(http://www.cfczone.org/).
Cheers
Greg
On Sun, 31 Oct 2004 21:25:52 -0500, JT News <[EMAIL PROTECTED]>
Larry,
Here's my blog entry relating to HE3 not starting (and it was the same
fix for cfeclipse):
http://gregs.tcias.co.uk/mach-ii/he3_first_steps.php
If you need more help drop me a line. After a little fiddling with
both of the plugins I can only say that they are awesome (especially
once you st
Jillian,
The answer is yes.
In your drop down have an onChange event, that calls a function that
checks the value selected and then does a
document.formName.formFieldFame.selected = true based on that value.
This should work.
HTH
G
On Thu, 28 Oct 2004 09:28:29 -0600, Jillian Koskie <[EMAIL PR
To read a file from a URL I think you may need to do something like this:
theUrl = "your URL";
u = createObject("java","java.net.URL").init(theUrl);
inP = createObject("java","java.io.BufferedInputStream").init(u.openStream());
ImageObject = createObject("java","javax.imageio.ImageIO").read(inP);
Sounds to me like you are looking at the DAO pattern
(http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html).
Without starting an OO/mach-ii debate or anything like that, you may
want to have a quick look at the Phil Cruz's mach-ii.info site to see
how he implemented the DA
Here's a little snippet that I used to determine the version of drivers:
jdbcDriver = CreateObject("java", "macromedia.jdbc.sqlserver.SQLServerDriver");
writeoutput(jdbcDriver.getMajorVersion() & "." & jdbcDriver.getMinorVersion());
Cheers
G
On Thu, 7 Oct 2004 15:43:27 -0400, Dave Carabetta <[
I'd say Stylesheets all the way
G
On Tue, 5 Oct 2004 10:55:22 -0500, Donna French <[EMAIL PROTECTED]> wrote:
> Is there an easy way to go about handling table rows/columns colors as
> I am doing my page design/layout?
>
> --
>
> Donna French
> [EMAIL PROTECTED]
>
>
[Todays Threads]
[This Mes
Same problem at our end on Solaris. It looks like the updater has to
re-compile all CFCs but somehow gets the location wrong and dumps them
into the web root. We backed them up (just in case) and deleted them
and they haven't come back since.
On Tue, 5 Oct 2004 16:16:24 +0100, Gavin Brook <[EMAIL
I can't confirm whether or not this is the expected behaviour, but I
can confirm this behaviour applies to a number of scopes, in fact the
only one that worked was the request scope (and though I haven't
tested this the application scope should work as well).
If you do a :
you'll be able to see
I know, I know... :)
>From a time before BlueDragon free version was around, I am actually
in the process of re-building the site to use cfml and Mach-ii as the
framework. Still no harm in trying out PHP, it has a very rich feature
set...
G
On Thu, 9 Sep 2004 11:31:26 +0100, Andrew Dixon <[EMAI
Here's my write up on using cfscript for looping over a query:
http://gregs.tcias.co.uk/cold_fusion/outputting_queries_with_cfscript.php
Hope this helps
G
On Thu, 9 Sep 2004 10:42:18 +0100, Andrew Dixon <[EMAIL PROTECTED]> wrote:
> Hi Everyone.
>
> Does anyone know how to loop within CFSCRIPT o
Not sure if Dave was referring to stopping/starting the service, but I
can also recommend starting/stopping your JRun/CFMX instance using
(again from the command line):
$ jrun -start cfusion
So far I have never had any problems using this as opposed to using a
windows service. Furthermore you can
Hi Alistair,
Anything in the install log? And what kind of an install are you
performing? J2EE/standalone?
Also maybe this post can help a little:
http://www.bpurcell.org/index.cfm?mode=entry&entry=949 and there are a
fwe comments relating to win2k3 as well..
Cheers
G
On Tue, 7 Sep 2004 13:39:47
Thanks Dave,
That looks like the path of least resistance... the other option I was
considering to try out was to create backups of all the instance
specific neo*.xml files and then doing the whole copying larck and
restoring the XML files again. But I think your suggestion is probably
the safest!
Hi all,
I have just installed the CFMX updater and immediately spotted that it
only updates the default cfusion instance when you are using the J2EE
configuration option.
I was wondering if anybody had figured out a best practice for
patching the other instances? The only thing I can think of is
One possibility, are both the ColdFusion MX ODBC server and ColdFusion
MX ODBC agent services running?
G
On Tue, 24 Aug 2004 09:23:39 -0400, vishnu prasad
<[EMAIL PROTECTED]> wrote:
> Hi All
>
> i have my coldfusion application run in jrun
> when i create the datasource through contol panetl odb
Hi,
Fomr the documentation:
"New in ColdFusion MX: The connectString, dbName, dbServer, provider,
providerDSN, and sql attributes, and all values of the dbtype
attribute except query, are deprecated. Do not use them. They do not
work, and might cause an error, in releases later than ColdFusion 5.
True but you still need to cerate a function called cfquery, here is
the code from the article:
dbtype="#arguments.dbType#">
#preserveSingleQuotes(arguments.SQLString)#
You'll need to have that somewhere in your template or application.cfm
Cheers
G
On Wed, 18 Aug 2004 1
Hi,
Could you post your code?
In the meantime, here is how I went about it:
http://gregs.tcias.co.uk/cold_fusion/outputting_queries_with_cfscript.php
I based it on the same example but opted for placing the query in a
CFC and invoking it using CreateObject();
Hope this helps a little
G
On Wed,
Hi,
A little late maybe, but if you are running CFMX 6, then you could
always try using a car file (CF admin under: Archives and Deployment)
to backup and then re-store your settings once you have upgraded to
6.1.
Cheers
G
On Tue, 17 Aug 2004 06:51:19 -0700, vicky <[EMAIL PROTECTED]> wrote:
> Gre
Just to get really into the semantics of markup ;)... I'd suggest
using a list, here's DC's modified code for that...
#news.item#
On Mon, 9 Aug 2004 16:36:45 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I wouldn
Ah well, thanks Isaac.
G
On Mon, 9 Aug 2004 08:40:19 -0400, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> > Just out of curiosity is it possible to a re-direct to a
> > new
> > domain/url? something like:
> >
> > getPageContext().forward("http://www.somedomain.com/");
> >
>
> > I know this does
Cheers Micha, but I was looking for a sever side re-direct! ;)
On Mon, 9 Aug 2004 13:58:07 +0200, Micha Schopman
<[EMAIL PROTECTED]> wrote:
> but I wonder, have you even checked the cfml reference? :-)
>
> Micha Schopman
> Software Engineer
> Modern Media, Databankweg 12 M, 3821 AL Amersfoort
>
Just out of curiosity is it possible to a re-direct to a new
domain/url? something like:
getPageContext().forward("http://www.somedomain.com/");
I know this doesn't work, but is there an equivalent (idealy using
cfscript) without having to do a client side re-driect?
Cheers
G
On Fri, 6 Aug 20
Check out livedocs:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi79.htm#wp1104406
Cheers
G
On Thu, 5 Aug 2004 11:07:40 -0500, Donna French
<[EMAIL PROTECTED]> wrote:
> Can someone post sample code using FileExists? I have 2 books and can't
> find a code sample in either and my onl
Hi Doug,
You'll need to modify your httpd.conf file to look something like this:
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /your/document/root
ServerName your.domain.com
ErrorLog logs/yourErrorLog-error_log
CustomLog logs/yourAcesslog-access_log common
JRunConfig Serverst
Don't believe this is directly possible. You might be able to do
something using cookies and/or client vars though.
Cheers
G
On Mon, 26 Jul 2004 16:42:41 +0100, Dave Wilson <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've a section of development ongoing with PHP developers and it has come to
> th
Works just fine in FireFox and IE...
On Fri, 23 Jul 2004 09:56:59 -0400, Robert Orlini <[EMAIL PROTECTED]> wrote:
> I get an error on a _javascript_ pop-up code. Something about "Expected )" Its either a ) or } I'm not sure.
> I'm not that good with _javascript_. Any ideas on the code below please
What is the error that is being returned?
G
On Thu, 22 Jul 2004 21:40:33 -0400, Sangeeta Karmokar
<[EMAIL PROTECTED]> wrote:
> I am posting this question and no one is responding... Can anyone please respond. I think I am sounding dum in your world...
>
> Sangeeta
>
> > Can anyone help me
>
>
> On Thu, 22 Jul 2004 14:21:35 +0100, Greg Stewart <[EMAIL PROTECTED]> wrote:
> > I compiled these resources about JRun and getting started:
> >
> > http://gregs.tcias.co.uk/jrun/jrun_resources.php
>
>
[Todays Threads]
[This Message]
[Subscription
Hi Michael,
I compiled these resources about JRun and getting started:
http://gregs.tcias.co.uk/jrun/jrun_resources.php
If anyone has other ones, I'd be happy to hear about them.
Cheers
G
On Wed, 21 Jul 2004 19:03:08 -0500, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> Other than the LiveDocs, ca
One other thing about storing the cfc in the application scope was
that any changes to the CFC wouldn't be reflected until the
application re-started. So I'd also consider adding something like
this:
(isDefined("url.killApp") AND url.killApp eq "yes")>
...
So that you can easily re-create all yo
ean to have id in the label. I meant that to be
> title (like you were doing). ID shouldn't be in the label - just the input.
>
> - Original Message -
> From: "Greg Stewart"
>
> > And I still get it wrong... :) I just checked with t
Isaac Dealey Has written a pretty neat article on using JDBC
(http://sys-con.com/story/?storyid=45569&DE=1) It doesn't cover what
you are trying achieve, but it certainly can get you started with
JDBC.
G
On Tue, 20 Jul 2004 10:15:11 -0400, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Thanks Dave for
I don't know if this is exactly what you need, but I have used a
_javascript_ to open a pop up, display a form and which on submits
returns the values to the calling page. You can find a sample here:
http://gregs.tcias.co.uk/_javascript_/populate_form_from_pop_up.php
Cheers
G
On Mon, 19 Jul 2004
ave to use the "for" attribute combined with the "id attribute:
> Your Name:
>
>
>
> - Original Message -
> From: "Greg Stewart"
> Subject: Re: CFForm, CFInput, etc not xhtml compatible!
>
> > I pesonally have never used the CFF
I pesonally have never used the CFFORM tags, but the xHTML directive
is one of the reason's I have built up a form CFC so that I can cut
down a little on my form building and amke sure I don't forget any of
the attributes for xHTML/accessible forms... You can find them here:
http://gregs.tcias.co.u
This is not necessarily an answer to your problem, but in terms of
applying some fail over you might want to consider installing CFMX as
a J2EE application and then deploying a second instance of your site.
So if one CFMX instance falls over the second can kick in and keep the
application running.
This topic has been covered at great length on the cfcdev mailing list
and you might want to also check out Nathan's CFC best practice page,
I think that may well cover most of your questions:
http://www.dintenfass.com/cfcbestpractices/
> From what I read in an article I located (sorry I dont have
column list in a
> certain order is for display purposes, where you do this (or something like
> it):
>
>
>
> #myQuery[col][currentRow]#
>
>
>
> Since the order of the list is a display issue, don't have it depend on your
> SQL statement, cre
Hi,
I just noticed that if you execute a query like:
select townId, town, country from table
and you output the resulting columnList, CFMX orders the columnList
alphabetically, i.e. it returns country, town, townId, rather than the
order they were selected in. This wasn't what I expected. BlueDra
Were you after something like this?
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Untitled Document
function changeType(f) {
alert(f);
f.type = "password";
}
size="20" changeType(this);" />
Cheers
G
On Thu, 1 Jul 2004 12:45:22 -0400, Matthe
Here's a good article that allows you to use _javascript_ remoting,
shoudld suit your needs!
http://www.sys-con.com/story/?storyid=43998&DE=1#RES
G
On Tue, 29 Jun 2004 10:19:37 -0500, Nick Baker <[EMAIL PROTECTED]> wrote:
>
> CF 5.0
>
> I am converting an HTML site that uses a lot of Bookmark
Hey Paul,
The documentation states that it supports all of the functions and in
the compatibility chart it lists cfobject as supported as well.
However COM and CORBA are not supported.
G
PS: loved the I18N articles you wrote for CFDJ, any more coming soon?
On Mon, 28 Jun 2004 23:24:45 +0700, Pau
If you are looking for something a little closer to home, check out these guys:
http://www.bytemark-hosting.co.uk/index.html
They offer a similar set up to Linode, but are based in the UK. I also
have an account with them though currently it's only hosting the
secondary DNS. Their Debian footprint
Depending on how much effort you are willing to put in I can seriously
recommend Linode.com. for $19.95 you get a UML (User Mode Linux)
account (i.e. root access to your VPS) and basically can do whatever
you like with it. Install Apache, BlueDragon and MySQL and you are
off! Downside is you have t
I would have though that you can simply download a trial version of
the enterprise edition of CFMX and deploy CFMX as an EAR on Websphere?
On Thu, 24 Jun 2004 11:13:08 +0100, John Beynon <[EMAIL PROTECTED]> wrote:
>
> or off IBM, at http://www-306.ibm.com/software/webservers/coldfusionmx/
>
> On
Have you tried starting the server from the command line? Using "jrun
- start"? Starting it from the command line outputs start up info as
it fires up, so that may give you a few more clues.
>From what I can see, and I could be way wrong here, it looks like
there is a problem with the SAX parser.
Yep, you are right of course.
G
On Tue, 22 Jun 2004 18:39:24 -0400, Dave Carabetta <[EMAIL PROTECTED]> wrote:
>
> On Tue, 22 Jun 2004 22:50:45 +0100, Greg Stewart <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > Or if you are using CFMX instances then t
Hi,
Or if you are using CFMX instances then the path would be something like this:
{install path}Jrun4/servers/{instanceName}/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/
Cheers
G
On Tue, 22 Jun 2004 15:51:00 -0400, Dave Carabetta <[EMAIL PROTECTED]> wrote:
>
> On Tue, 22 Jun 2004 16:38:49 -0300
Also do check out Brandon Purcell's site out
(http://www.bpurcell.org/) He has some pretty useful info on JRun and
CFMX integration, logging information etc...
G
On Tue, 22 Jun 2004 16:43:53 +0100, Kola Oyedeji
<[EMAIL PROTECTED]> wrote:
>
> I don't think there are any recent books specifically
Your jvm.config file should be located under in a bin/ folder of your
CFMX installation root. you can edit it and remove the changes you
made and then attempt to restart CFMX that way.
BTW are you running CFMX as a standalone or as a JRUN instance?
Cheers
G
On Tue, 22 Jun 2004 09:43:21 -0400, Ma
Hi,
Why not have a look at the Cold Fusion Developer Journal (http://www.sys-con.com/coldfusion/). Over the last couple of months there were a number of articles on setting up JRun with CFMX as a J2EE application.
Here you can find a bunch of resources I put together on the topic: http://gregs.tc
61 matches
Mail list logo