theres a kinda hacky way to achieve this...

basically you create your cfx class as normal with the processRequest()
method but then just add a

public static void main(String[] args) {} method and then test your app from
the command line.

bit of a pain reading HTML output (if thats what your tag does) from the
command line..but if you write it out to a text file and then open it up in
your browser and just refresh the page each time you run the command it will
work pretty well.

till your  tag works
    1. write some code
    2. compile your class
    3. run from command line with correct switches (you could write class
that would build a request object from an xml file maybe ?)
    4. command line writes output to html file
    5. open/refresh file in browser and check results

this is how i used to work when developing cfx tags.

Pat



"Mark M" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> If i remember to back in the dat I did some Java CFX development, you ARE
able to
> create test beds for CFX tags..
>
> But I also remember it seemed like such a pain in the a$$ that I could be
bothered.
>
> Maybe there is a tool someone should develop ;o)
>
> Mark
> ------------------------------------------------------------------
> [EMAIL PROTECTED]
> ICQ: 3094740
> Safe From Bees
> [ www.safefrombees.com ]
>
>
> Quoting Andrew Scott <[EMAIL PROTECTED]>:
>
> > Yeah I agree, just wish there could be a setting for disabling it in
> > development though:-)
> >
> > Oh well....
> >
> >
> > Regards
> > Andrew Scott
> > Technical Consultant
> >
> > NuSphere Pty Ltd
> > Level 2/33 Bank Street
> > South Melbourne, Victoria, 3205
> >
> > Phone: 03 9686 0485  -  Fax: 03 9699 7976
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Everest
> > Sent: Tuesday, 27 April 2004 9:03 AM
> > To: CFAussie Mailing List
> > Subject: [cfaussie] RE: Java CFX in coldfusion MX 6.1
> >
> > yes, it is a little annoying - i discovered it myself some time ago, and
had
> > similar trouble to discover the truth ;-)
> >
> > but in terms of efficiency, it sure makes for a slicker overall
> > implementation on for a production system to do it that way.
> >
> > cheers,  Mike.
> >
> > +----------------------------------------------------+
> > | VeriPay mPOS - Anywhere, Anytime                   |
> > | Puts money in your bank while you're on the road   |
> > | Secure Credit Card Transactions via SMS messaging  |
> > | From Xilo Online                www.xilo.com/mpos  |
> > +----------------------------------------------------+
> >
> >
> >
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to [EMAIL PROTECTED]
> >
> > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> > http://www.mxdu.com/ + 24-25 February, 2004
> >
> >
> >
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to