RE: Question about my security system

2005-09-08 Thread Jim Davis
 -Original Message-
 From: Mike Soultanian [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 08, 2005 12:05 AM
 To: CF-Talk
 Subject: Re: Question about my security system
 
  I see the point but I'm not sure if I agree with the implementation.
 
  What you talking about here is metadata: information about the file.  By
  putting all of this in the data base you're adding a level of complexity
  that I just wouldn't be comfortable with.
 
 Well, it adds flexibility at the price of complexity.  It's not *that*
 hard to implement it.  My first implementation was actually quite easy
 to code.  And yes, while it is a database lookup, it's a very small
 lookup at that so I don't think it should take that much time.  I'll
 have to research how bad the performance degredation will really be...

I'm not worried at all about performance - performance can be addressed.

I don't think anything you've talked about will pose a real challenge in
that area - it's all doable.

  The cf_Security tag has to be used (it doesn't have to be used in every
  file, by the way, just a common include that's run for every request).
  you already have a requirement to put something in every file (or in
  common place) but let's say it's included on every page.
 
 Well, yes, it does need to be included on any template that needs to be
 secured (every template in my case).  At the time of coding a template,
 I will identify what actions are to be performed in that template.  I
 will then update the cf_security tag to read like this:
 
 cf_security permissions=read,write,delete

For some reason I had assumed that all addition of permissions would be done
through the GUI... this is clearer.

For what it's worth my site works in a very similar fashion and for very
similar reasons.

The main problem is that Application.cfm can't accept parameters from the
page - it's prepended to the page and so nothing on the page can affect it.

To get around this in the past (I'm talking CF 4.5) we used
baseinclude.cfm files which, as a standard, included at the top of every
page but preceded by any number of settings, values or whatever (one of
which is the security profile).

 What happens is when the cf_security tag runs, it will update the
 database with those permissions (if it hasn't already been done) and
 then I can go into the GUI and find that file and assign groups to each
 of those permissions.

This makes a lot of sense - the page informs the system.  I like that model.
 
 Then, when a user requests the template, cf_security runs and spits out
 a structure or some variables set to TRUE for whatever permissions that
 the user's group has access to.  This is how I am abstracting any
 group/user references from the template.  The cf_security tag does the
 lookup and spits out variables that the calling template can use for its
 processing.

But would the database actually be storing the page information or just the
abstracted permissions?

It seems like all of your negatives hinge on storing the page information
(page name and location) in the database ALONG with the permissions.  But
since those permissions are already in the page why does the system need the
page?

  But you're also inheriting a need to make every file uniquely named (or
 else
  moving files would be a nightmare) and this doesn't mesh with most web
 sites
  (which use the same root for every directory).
 
 Ahh, yes, I've thought this out.  Obviously it's a problem if every file
 on my site is called index.cfm ;)  So, instead, the cf_security tag will
 include a unique file security identifier that is automatically placed
 in every file that the cf_security tag is place:
 
 cf_security permissinos=read,write,delete FileSID=jasjdj32j42kj3

This makes more sense... but I'm not sure if the complexity is worth it.  It
seems like just making sure your permissions are uniquely named would solve
the problem.

Doing: cf_security permissinos=MessageRead, MessageWrite, MessageDelete
would let you ignore the page - you'd be abstracting the permissions.  Once
ANY page added them you could reuse them for other pages just by adding the
name.

 As of now, I know of no other way to uniquely identify other than giving
 it a unique identifier.

I'd just think long and hard on whether you need to uniquely identify the
page.  Instead just consider uniquely identifying the entitlement and
reusing it over and over.

This also goes further to eliminating situations were somebody is prevented
from performing an action on one page, but can on another because each page
has a separate entitlement for the same action.

 You know, no, it's not that bad.  Where it gets annoying is if you
 rename a group.  Now you've got a big uh oh.  Suppose Admin is now
 called Support Staff and I've added a new group called System
 Administrators.  Now I'd have to edit every file that makes a reference
 to each of those groups and could possibly compromise my security by a
 stupid editing mistake.

I'm 

Re: New to CFEclipse

2005-09-08 Thread Robert Munn
you can create a main method with nothing in it, but you don't need a main 
method to compile it in eclipse. just right click on the file in the navigator 
and select run as java application. it will compile the class file right there.

You will probably want to write another class with a main method, to 
use as
a test harness for your class.

N! The main method is in CF. CF calls the class, this is a CFX 
custom tag, not an application.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217606
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Session Variables and returning to finish web forms

2005-09-08 Thread Ian Vaughan
Hi Robert

Thanks for the mail.  

I have created the WDDX for  the session.app and it is storing the
variables data.

cfwddx action=cfml2wddx input=#SESSION.app# output=wddxtext

But how would I  repopulate the session.app with the wddx packet below
when the user logs back in to complete the form?

cfwddx action=wddx2cfml input=#wddxtext# output=data

 

-Original Message-
From: Robert Munn [mailto:[EMAIL PROTECTED] 
Sent: 07 September 2005 17:50
To: CF-Talk
Subject: Re: Session Variables and returning to finish web forms

Unless you plan to do something with the partially completed
application, there is no reason to store it in a normalized way. You
could just WDDX session.app and save the resulting packet into a
database table; then, when the user comes back you just de-serialize the
packet and repopulate session.app. Your table might look something like
this:

appStore{
   userid int NOT NULL (FK),
   appData text,
   dateUpdated datetime
}



Ok I will use a CFLOCK and CFTransaction for the data processing.

At present all the data entered in the form is stored as session 
variables, which enables the form to be split up over several screens 
which works well.

i.e.
 cfinput name=jobdesc size=50 required=Yes message=Please 
provide the job description value=#SESSION.app.jobdesc#


The final option below I am trying to implement into the form and am 
just looking for ideas on how this can best be achieved using 
Coldfusion.

If the users have logged in as a member, they have the ability to save 
a partially completed online application and complete it later (by 
clicking the 'Finish Later' button at the bottom of the form)

How would this be best achieved ?

Would you save the form field session variables entered on the form 
into a database table with a relationship to the members table ?

If so when the user returns to the form to complete it what would be 
the best way of ensuring that the data returned from the database table

to populate the form fields works in conjunction with the 
value=#SESSION.app.jobdesc# that is set on the form fields by default

that enables the form to be split over several screens ?

Thanks

Ian



-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED]
Sent: 05 September 2005 15:56
To: CF-Talk
Subject: Re: Session Variables in CFMX 7

Hi Ian, Here are a few ideas regarding this.
 Best deal with session variables within a CFLOCK statement (see docs 
for details of possible race conditions) and therefore a useful way to 
go about this is to copy any session structures to the request scope on

each request.
 I have a similar 'wizard' style process and I create a structure 
(inside
cflock) session.wizard
 For each wizard step I create session.wizard.stepN (where N is step 
number).
 I then duplicate this structure to the request scope so that I can 
forget about locking from now on.
 In each form page I CFPARAM request.wizard.stepN.formfieldN for all my

form fields for this step with any default values.
 When the form is submitted I cfloop thru the form structure and copy 
the form values to the request.wizard.stepN.formfieldN values. Finally 
I duplicate the request scope to the session scope inside a CFLOCK so 
the values are remembered to the next request.
 In terms of keeping this data in some way, you might consider using 
CFWDDX which can convert complex CFML variables (like your wizard
structure) and convert them to a XML string. You could then write this 
string to a file or database. CFWDDX can then be used to convert it 
back again. There are many ways to store this data but this in my mind 
would be the neatest.
 HTH
Mike
   

 On 9/5/05, Ian Vaughan [EMAIL PROTECTED] wrote: 
 
 Hi
 
 I am starting constructing a form using session variables for 
 multiple



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217607
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Session Variables and returning to finish web forms

2005-09-08 Thread Ian Vaughan
Hi Robert

Thanks for the mail.  

I have created the WDDX for  the session.app and it is storing the
variables data.

cfwddx action=cfml2wddx input=#SESSION.app# output=wddxtext

But how would I  repopulate the session.app with the wddx packet below
when the user logs back in to complete the form?

cfwddx action=wddx2cfml input=#wddxtext# output=data

 

-Original Message-
From: Robert Munn [mailto:[EMAIL PROTECTED]
Sent: 07 September 2005 17:50
To: CF-Talk
Subject: Re: Session Variables and returning to finish web forms

Unless you plan to do something with the partially completed
application, there is no reason to store it in a normalized way. You
could just WDDX session.app and save the resulting packet into a
database table; then, when the user comes back you just de-serialize the
packet and repopulate session.app. Your table might look something like
this:

appStore{
   userid int NOT NULL (FK),
   appData text,
   dateUpdated datetime
}




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217608
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML, XSD, XSL

2005-09-08 Thread S . Isaac Dealey
 Ok, I've made the decision to use XML as the format to
 pass data between
 objects in my application.  This approach seems to have
 lots of advantages
 as opposed to using lists of parameters or structures.  My
 question now is
 how and why use XSD's and XSL.

 1.Is there a better list to post this to?
 2.XSD's don't seem to provide much benefit in a
 stand-alone application besides helping create test
 data via tools like xmlSpy.

The Blogs onTap sample application uses a lot of XSL for skinning
different blogs so you can change the layout and the look and feel of
the blog (beyond what's available with CSS) by editing a reasonably
simple XHTML packet with a handfull of custom XML tags for the blog. I
don't generally use XML to pass data to and from internal components
as it's extra overhead with no significant advantage as far as I'm
concerned. There are exceptions -- I have a generic logging tool in
the Members onTap plugin which also provides undo/redo functionality
for applications, which uses XML to store request data (form/url
variables). I use XML in that case to make the tool more extensible,
so there's a minimum of code necessary to write the undo/redo
components. I also use XML to store the data for the RuleManager
components used by both the logging tools in Members onTap and in the
blog - in which case the RuleManager component is a facade for
managing those rules and all the XML is used internally by the
RuleManager.cfc and a collection of RuleCriteria cfc's designed
specifically for managing that packet. The packet is only exported
from the component for storage -- all other use/implementation of the
packet is internal.

 I don't even see how in ColdFusion you can validate
 an XML using an associated XSD.

With CF7 it validates if you put the path to the XSD in a doctype
before you parse it.

 And it doesn't look like XSL documents are based off
 of an XSD, so you still have to validate if field
 lengths, etc using code.  Am I missing something
 here?

XSL is validated against the XSD/DTD for XSL. (Offhand I don't know
which they use -- I'm hoping they have an XSD, but then I don't know
how they would get around the problem of having only any, choose and
sequence as their options for the types of children for a node, since
you XSL allows child nodes in any order afaik.) The document on either
side of an XSL transformation (before or after being transformed) is
validated separately against any applicable DTD/XSD for that document
(which is where you'd get any string-length validation, etc).

 3.Lastly, since the XSL doesn't use data off of the XSD,
 it appears to be just a different, not necessarily better,
 mechanism for displaying data.

Not just for display, but I believe that's mostly what it's used for.
It's also used in some cases for converting one XML dialect to another
dialect, for instance, if you had your own internal XML dialect for
expressing the data in a calendar because it solves some problems for
you, you could then use XSL to transform that calendar format for an
export to a standard calendar dialect like iCal for instance (which
I'm not certain actually is XML since I haven't looked into it, but
that's what I'd heard).

 I am not sure of the value for me to learn this at this
 point in time and I see no value in converting screens
 from CF/HTML to XSL/HTML.  Again, am I missing something
 here?  What type of situations cry out for XSL vs. CF/HTML?

Skinning. :) and RuleManagers...

But yeah, if you don't have a specific reason for it you don't really
need it...

s. isaac dealey 954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217609
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: XML, XSD, XSL

2005-09-08 Thread Dave Watts
 With CF7 it validates if you put the path to the XSD 
 in a doctype before you parse it.

I don't think you can specify an XML Schema within a DOCTYPE declaration -
those only allow DTDs.

 XSL is validated against the XSD/DTD for XSL. (Offhand I don't know
 which they use -- I'm hoping they have an XSD, but then I don't know
 how they would get around the problem of having only any, choose and
 sequence as their options for the types of children for a node, since
 you XSL allows child nodes in any order afaik.)

XSL is validated against the XSL Schema.

 you could then use XSL to transform that calendar format for an
 export to a standard calendar dialect like iCal for instance (which
 I'm not certain actually is XML since I haven't looked into it, but
 that's what I'd heard).

iCalendar isn't XML. It's plaintext, though, and you can use hCalendar to
represent iCalendar documents as XHTML:

http://developers.technorati.com/wiki/hCalendar

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217610
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML, XSD, XSL

2005-09-08 Thread Massimo Foti
  With CF7 it validates if you put the path to the XSD
  in a doctype before you parse it.

 I don't think you can specify an XML Schema within a DOCTYPE declaration -
 those only allow DTDs.

Correct


  XSL is validated against the XSD/DTD for XSL. (Offhand I don't know
  which they use -- I'm hoping they have an XSD, but then I don't know
  how they would get around the problem of having only any, choose and
  sequence as their options for the types of children for a node, since
  you XSL allows child nodes in any order afaik.)

 XSL is validated against the XSL Schema.

There is no schema or DTD for XSLT, there can't be any. A XSLT template
can't be validated.
XSLT allows a finite set of tags and attributes, but since inside a XSLT
template you can mix them with any, arbitrary, well-formed XML code, you
can't validate it.

You can find a few DTD or XSD for XSLT, but their main practical purpose is
to suggest XSLT syntax to XML authoring tools.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217611
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFMX6.1 on WebLogic 7, weird web services call error (java.security.PrivilegedActionException)

2005-09-08 Thread Thomas Chiverton
We're having a weird issue with CF throwing a 
java.security.PrivilegedActionException: null error when invoking a 
webservice (for the first and subsequent times).
Thing is, it doesn't matter what order I invoke the 3 or 4 different web 
service calls in (they are in different pages on the site, with different 
WSDL URLs). The first few will be fine, and then one will go pop. It will 
then continue to fail with the same error until the server is rebooted. At 
that point I can go back to that broken service, and run it again fine. One 
or two of the others will be fine, but then one will blow up, and the loop 
repeats.

The only think google has for the exception is not having the 
java.security.AllPermission set in weblogic.policy, so I've added that, to no 
avail.

Has anyone ever seen this before, because it's very very irritating. It's not 
happening in production yet, but I'm sure it will one day.

I believe the file not found error in the CF stack dump is caused by the 
errors in the WebLogic stack dump, the file is really not there, though 
others (.java) are - looks like the Axis compile is falling over or 
something.

Below are full CF and WL stack dumps, with the part of the path to the web / 
CFC root replaced with '...'

Full CF stack trace:
at 
cfeventsInterface2ecfc65660081$funcGETEVENTS.runFunction(Lcoldfusion.runtime.LocalScope;Ljava.lang.Object;Lcoldfusion.runtime.CFPage;Lcoldfusion.runtime.ArgumentCollection;)Ljava.lang.Object;
(.../ceo_platform/com/bluefinger/saffire/eventsInterface.cfc:27) at 
cffbx_Switch2ecfm809910989.runPage()Ljava.lang.Object;
(.../FB3/eventsConfig/fbx_Switch.cfm:1) at 
cffbx_fusebox30_CF50_nix2ecfm1714461926._factor5
(Ljavax.servlet.jsp.tagext.Tag;Ljavax.servlet.jsp.JspWriter;)Ljava.lang.Object;
(.../FB3/fbx_fusebox30_CF50_nix.cfm:241) at 
cffbx_fusebox30_CF50_nix2ecfm1714461926._factor6
(Ljavax.servlet.jsp.tagext.Tag;Ljavax.servlet.jsp.JspWriter;)Ljava.lang.Object;.../FB3/fbx_fusebox30_CF50_nix.cfm:1)
 
at cffbx_fusebox30_CF50_nix2ecfm1714461926.runPage()Ljava.lang.Object;
(.../FB3/fbx_fusebox30_CF50_nix.cfm:1) at 
cfindex2ecfm1209209851.runPage()Ljava.lang.Object;(.../FB3/index.cfm:1) at 
cfeventsInterface2ecfc65660081$funcGETEVENTS.runFunction(Lcoldfusion.runtime.LocalScope;Ljava.lang.Object;Lcoldfusion.runtime.CFPage;Lcoldfusion.runtime.ArgumentCollection;)Ljava.lang.Object;
(.../com/bluefinger/saffire/eventsInterface.cfc:27) at 
cffbx_Switch2ecfm809910989.runPage()Ljava.lang.Object;
(...orm/FB3/eventsConfig/fbx_Switch.cfm:1) at 
cffbx_fusebox30_CF50_nix2ecfm1714461926._factor5
(Ljavax.servlet.jsp.tagext.Tag;Ljavax.servlet.jsp.JspWriter;)Ljava.lang.Object;
(.../FB3/fbx_fusebox30_CF50_nix.cfm:241) at 
cffbx_fusebox30_CF50_nix2ecfm1714461926._factor6
(Ljavax.servlet.jsp.tagext.Tag;Ljavax.servlet.jsp.JspWriter;)Ljava.lang.Object;
(.../FB3/fbx_fusebox30_CF50_nix.cfm:1) at 
cffbx_fusebox30_CF50_nix2ecfm1714461926.runPage()Ljava.lang.Object;
(.../FB3/fbx_fusebox30_CF50_nix.cfm:1) at 
cfindex2ecfm1209209851.runPage()Ljava.lang.Object;(.../FB3/index.cfm:1) at 
cfeventsInterface2ecfc65660081$funcGETEVENTS.runFunction(Lcoldfusion.runtime.LocalScope;Ljava.lang.Object;Lcoldfusion.runtime.CFPage;Lcoldfusion.runtime.ArgumentCollection;)Ljava.lang.Object;
(.../com/bluefinger/saffire/eventsInterface.cfc:27) at 
cffbx_Switch2ecfm809910989.runPage()Ljava.lang.Object;
(.../FB3/eventsConfig/fbx_Switch.cfm:1) at 
cffbx_fusebox30_CF50_nix2ecfm1714461926._factor5
(Ljavax.servlet.jsp.tagext.Tag;Ljavax.servlet.jsp.JspWriter;)Ljava.lang.Object;
(.../FB3/fbx_fusebox30_CF50_nix.cfm:241) at 
cffbx_fusebox30_CF50_nix2ecfm1714461926._factor6
(Ljavax.servlet.jsp.tagext.Tag;Ljavax.servlet.jsp.JspWriter;)Ljava.lang.Object;
(.../FB3/fbx_fusebox30_CF50_nix.cfm:1) at 
cffbx_fusebox30_CF50_nix2ecfm1714461926.runPage()Ljava.lang.Object;
(.../FB3/fbx_fusebox30_CF50_nix.cfm:1)

java.security.PrivilegedActionException: 
java.io.FileNotFoundException: 
.../WEB-INF/cfusion/stubs/WS-294418727//com_bf_common_dto_events/EventArmingTO.class:
 
No such file or directory
at 
coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebService(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;ILjava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(XmlRpcServiceImpl.java:233)
at 
coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;ILjava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Lorg.apache.axis.client.Stub;
(XmlRpcServiceImpl.java:464)
at 
coldfusion.xml.rpc.XmlRpcServiceImpl.getWebServiceProxy(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;ILjava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Lcoldfusion.xml.rpc.ServiceProxy;
(XmlRpcServiceImpl.java:408)
at coldfusion.tagext.lang.InvokeTag.doEndTag()I(InvokeTag.java:362)
at 

Re: New to CFEclipse

2005-09-08 Thread Claude Schneegans
 you can create a main method with nothing in it,

Yes, but this will not help. I'm trying to compile a CFX_customTag. It 
can only be run in the CF environment,
The main() method is CF itself, I cannot emulate CF!

  but you don't need a main method to compile it in eclipse.

I hope so! ;-)

 just right click on the file in the navigator and select run as java 
application. it will compile the class file right there.

Although, the wording is particularily confusing, since Compile and 
Run are completely different things,
plus a simple class is NOT an application, I tried it. The problem is 
that NOTHING happens: no compiled file
anywhere, no result message no error diagnostic anywhere.
By the way, this is something I found really frustrating in Eclipse: to 
many functions just leave you in the dark,
with nothing apparently hapening.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217613
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Compiling Java ?%$/%??

2005-09-08 Thread Claude Schneegans
 You're using the Java 1.5 JDK, CF uses the 1.4 JVM.  You need to tell the
compiler to target Java 1.4. 

Ok, I was suspecting something like that, although the message version 
49.0 doesn't really make it
particularily limpid ;-))

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217614
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: ColdFusion Security Vulnerabilities

2005-09-08 Thread Bobby Hartsfield
Do you plan to share your findings with the rest of us?

~Bobby

-Original Message-
From: Mike Nicholls [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 07, 2005 11:08 PM
To: CF-Talk
Subject: ColdFusion Security Vulnerabilities

Does anyone have any experience with reporting security vulnerabilities
to Macromedia?  I reported a vulnerability in ColdFusion using the
Macromedia Security Report Form
(http://www.macromedia.com/devnet/security/security_zone/alertus.html)
three days ago, and haven't heard anything back yet.  From what I can
tell, the example code I provided a URL for hasn't been downloaded
either.

 

Does anyone know if it is usual to receive a response in this situation?
Obviously I'm not expecting a hotfix the very next day, but just an
acknowledgement that my report has been received and is being
investigated would be reassuring.





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217615
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML, XSD, XSL

2005-09-08 Thread S . Isaac Dealey
 but since inside a XSLT template you can mix
 them with any, arbitrary, well-formed
 XML code, you can't validate it.

That's untrue. Typically the XSL tags in an XSL document are prefixed
with the XSL namespace (which is one of the few namespaces which has a
default uri) -- that being the case, xsl:template is validated
against the schema for the the xsl namespace, whereas other tags in
the document may be unvalidated or validated against any other schema
or DTD based on their respective namespace URI's. In all likelyhood
the schema for XSL uses a lot of any-tag references, although I have
seen the XSLT engine provided with CF6/7 spit back the error
xsl:template is not allowed at this position in the document or the
like, and offhand I'm not certain how they would make that work with
XSD if the containing tag has any-tag declared for its children. Of
course, the attributes would be validated against the URI for each tag
without any problems. Hence you get errors that say namespace 'blah'
is uneclared or somesuch if you omit an alternate namespace from an
XSL sheet that contains tags using that namespace and then try to
perform a transformation.



It seems strange to me that a doctype would not allow specification of
an XSD instead of a DTD -- I don't understand why that would be the
case, it doesn't make any sense to me... Though iirc I think CF7 also
automatically validates against namespace URI's if they resolve to
valid DTD's/XSD's now that think about it.


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217616
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ColdFusion Security Vulnerabilities

2005-09-08 Thread Stephen Moretti
Bobby Hartsfield wrote:

Do you plan to share your findings with the rest of us?
  

I would strongly recommend not sharing anything with anyone other than 
Macromedia.


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217617
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: ColdFusion Security Vulnerabilities

2005-09-08 Thread Robertson-Ravo, Neil (RX)
Indeed, if you must share - do it offline.  Hopefully it is one which may
have already been caught but you never know..



-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED] 
Sent: 08 September 2005 15:44
To: CF-Talk
Subject: Re: ColdFusion Security Vulnerabilities

Bobby Hartsfield wrote:

Do you plan to share your findings with the rest of us?
  

I would strongly recommend not sharing anything with anyone other than 
Macromedia.




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217618
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: ColdFusion Security Vulnerabilities

2005-09-08 Thread Bobby Hartsfield
Good point, I don’t know what I was thinking. *place caffeine excuse here*


-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 10:37 AM
To: CF-Talk
Subject: RE: ColdFusion Security Vulnerabilities

Indeed, if you must share - do it offline.  Hopefully it is one which may
have already been caught but you never know..



-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED] 
Sent: 08 September 2005 15:44
To: CF-Talk
Subject: Re: ColdFusion Security Vulnerabilities

Bobby Hartsfield wrote:

Do you plan to share your findings with the rest of us?
  

I would strongly recommend not sharing anything with anyone other than 
Macromedia.






~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217619
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Douglas Knudsen
compiles happen automagically upon saving in Eclipse Java projects,
unless you turn this off.  Any compile errors would be displayed in
the Problems view IIRC, at the bottom.

DK

On 9/8/05, Claude Schneegans [EMAIL PROTECTED] wrote:
  you can create a main method with nothing in it,
 
 Yes, but this will not help. I'm trying to compile a CFX_customTag. It
 can only be run in the CF environment,
 The main() method is CF itself, I cannot emulate CF!
 
   but you don't need a main method to compile it in eclipse.
 
 I hope so! ;-)
 
  just right click on the file in the navigator and select run as java
 application. it will compile the class file right there.
 
 Although, the wording is particularily confusing, since Compile and
 Run are completely different things,
 plus a simple class is NOT an application, I tried it. The problem is
 that NOTHING happens: no compiled file
 anywhere, no result message no error diagnostic anywhere.
 By the way, this is something I found really frustrating in Eclipse: to
 many functions just leave you in the dark,
 with nothing apparently hapening.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217620
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML, XSD, XSL

2005-09-08 Thread Massimo Foti
  but since inside a XSLT template you can mix
  them with any, arbitrary, well-formed
  XML code, you can't validate it.

 That's untrue. Typically the XSL tags in an XSL document are prefixed
 with the XSL namespace (which is one of the few namespaces which has a
 default uri) -- that being the case, xsl:template is validated
 against the schema for the the xsl namespace, whereas other tags in
 the document may be unvalidated or validated against any other schema
 or DTD based on their respective namespace URI's.

The XSLT 1.0 specs don't include a XSD, only a DTD:
http://www.w3.org/TR/xslt#dtd

You can find plenty of discussions on this topic over the web (especially on
mailing list). Like this one:
http://www.biglist.com/lists/xsl-list/archives/22/msg00087.html


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217621
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML, XSD, XSL

2005-09-08 Thread Massimo Foti
 You can find plenty of discussions on this topic over the web (especially
on
 mailing list). Like this one:
 http://www.biglist.com/lists/xsl-list/archives/22/msg00087.html

The main point is here:
http://www.biglist.com/lists/xsl-list/archives/22/msg00098.html
http://www.biglist.com/lists/xsl-list/archives/22/msg00104.html


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217622
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Compiling Java ?%$/%??

2005-09-08 Thread Douglas Knudsen
further, you need to point to the correct JARs and JRE within the
project properties in Eclipse.  right click on the project 
properties  Java Build Path  libraries.  You did start with a Java
project in Eclipse, correct?


DK

On 9/8/05, Claude Schneegans [EMAIL PROTECTED] wrote:
  You're using the Java 1.5 JDK, CF uses the 1.4 JVM.  You need to tell the
 compiler to target Java 1.4.
 
 Ok, I was suspecting something like that, although the message version
 49.0 doesn't really make it
 particularily limpid ;-))
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217623
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMX6.1 on WebLogic 7, weird web services call error

2005-09-08 Thread RADEMAKERS Tanguy
Hello Tom,

Is this on a development (unlicensed) copy of weblogic server?

/t 

-Original Message-
Subject: CFMX6.1 on WebLogic 7, weird web services call error 
(java.security.PrivilegedActionException)
From: Thomas Chiverton [EMAIL PROTECTED]
Date: Thu, 8 Sep 2005 15:23:01 +0100
Thread: 
http://www.houseoffusion.com/cf_lists/index.cfm/method=messages
threadid=42114forumid=4#217612

We're having a weird issue with CF throwing a 
java.security.PrivilegedActionException: null error when invoking a 
webservice (for the first and subsequent times).
Thing is, it doesn't matter what order I invoke the 3 or 4 
different web 
service calls in (they are in different pages on the site, 
with different 
WSDL URLs). The first few will be fine, and then one will go 
pop. It will 
then continue to fail with the same error until the server is 
rebooted. At 
that point I can go back to that broken service, and run it 
again fine. One 
or two of the others will be fine, but then one will blow up, 
and the loop 
repeats.

The only think google has for the exception is not having the 
java.security.AllPermission set in weblogic.policy, so I've 
added that, to no 
avail.

Has anyone ever seen this before, because it's very very 
irritating. It's not 
happening in production yet, but I'm sure it will one day.

I believe the file not found error in the CF stack dump is 
caused by the 
errors in the WebLogic stack dump, the file is really not 
there, though 
others (.java) are - looks like the Axis compile is falling over or 
something.

Below are full CF and WL stack dumps, with the part of the 
path to the web / 
CFC root replaced with '...'

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217624
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Claude Schneegans
 I don't see why you can't build a test harness outside of CF.

Simply because a CFX needs to be executed inside the CF environment. It 
need a bunch of methods,
properties and so on provided by the CF application. I cannot and I 
don't want to emulate the whole CF server
in order to test the tag. I just need a compiler to check for syntax 
errors and eventually produce a class file.
A custom tag cannot be run inside any debugger.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217625
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: New to CFEclipse

2005-09-08 Thread kola.oyedeji
Can I ask what it is you are trying to do... is this on cfmx?

Does it have to be a cfx?

For what its worth you should simply be able to create a new project in
eclipse, ensure that any external libraries are referenced by the project
(such as the cfx.jar)

Eclipse is usually setup to build automatically so it should highlight
errors as you go along. Its been a while since I did this and it was pre-mx
but I'm pretty sure you can setup a cf page to test it ..create a basic tag
which works - load it in the administrator etc, and then add your changes.
If I recall correctly you had to have a certain jar in the classpath as well
to ensure that changes were reflected as well.

LHTH

 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: 08 September 2005 14:30
 To: CF-Talk
 Subject: Re: New to CFEclipse
 
  I don't see why you can't build a test harness outside of CF.
 
 Simply because a CFX needs to be executed inside the CF environment. It
 need a bunch of methods,
 properties and so on provided by the CF application. I cannot and I
 don't want to emulate the whole CF server
 in order to test the tag. I just need a compiler to check for syntax
 errors and eventually produce a class file.
 A custom tag cannot be run inside any debugger.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 ~
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217626
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Mark Drew
Hi there

I have done this and if you want to contact me on Google Talk to help go 
ahead

MD

On 08/09/05, Claude Schneegans [EMAIL PROTECTED] wrote:
 
 I don't see why you can't build a test harness outside of CF.
 
 Simply because a CFX needs to be executed inside the CF environment. It
 need a bunch of methods,
 properties and so on provided by the CF application. I cannot and I
 don't want to emulate the whole CF server
 in order to test the tag. I just need a compiler to check for syntax
 errors and eventually produce a class file.
 A custom tag cannot be run inside any debugger.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217627
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ColdFusion Security Vulnerabilities

2005-09-08 Thread Matt Robertson
Try directly emailing -- offlist -- one of the MM guys on this list.
 Or, actually, your post has probably already accomplished this :-)

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com http://mysecretbase.com


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217628
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Compiling Java ?%$/%??

2005-09-08 Thread Claude Schneegans
 You're using the Java 1.5 JDK, CF uses the 1.4 JVM.

BTW, this is weird, I mean wasn't Java supposed to solve all 
compatibility problems?
With CF 3, 4, 5, I never encountered any compatibility problem with my C 
custom tags,
whether they where compiled using VC++ 4, 5, or 6.
Now that CF goes Java, it is fussy about a MINOR version?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217629
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML, XSD, XSL

2005-09-08 Thread Anthony Prato
  2.XSD's don't seem to provide much benefit in a stand-alone
  application besides helping create test data via tools like xmlSpy.  I
  don't
  even see how in ColdFusion you can validate an XML using an associated
  XSD.
  And it doesn't look like XSL documents are based off of an XSD, so you
  still
  have to validate if field lengths, etc using code.  Am I missing something
  here?
 
 Nope... XSDs are far from a panacea... they check structure and dialect.
 Dat's it.
 
 CF 7 can validate an XSD and previous versions can do with outside help (COM
 or Java).


This is incorrect. you can validate a number of things with a proper
XSD. Beyond the actual document struction validation XSD supports many
native data types. You can define your own and use them within your
document. You can validate on ranges and numeric values. It supports
enumerations, and most importantly you can validate on REGEX patterns.

Check out w3schools for a good intro on creating XSD files. (then as
has been said use xml validate)  But just to warn you, the results
aren't always pretty :) Also FYI coldfusion use XERCES from
xml.apache.org for the validation.

Anthony

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217630
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX6.1 on WebLogic 7, weird web services call error

2005-09-08 Thread Thomas Chiverton
On Thursday 08 September 2005 16:11, RADEMAKERS Tanguy wrote:
 Is this on a development (unlicensed) copy of weblogic server?

Dev, yeah. Development != unlicensed though.
I haven't entered a serial number into it, if that is what you mean.

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217631
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMX6.1 on WebLogic 7, weird web services call error

2005-09-08 Thread RADEMAKERS Tanguy
Tom,

I think you might be running into a limitation of the development
version. Don't know about v7, but on v8 it's restricted to x number of
IP addresses after which it refuses connections. I think for ws calls
there's a furthur restriction on number of subsequent calls or something
- consult the docco on bea's web site. Do you by any chance have a fully
licensed server available for testing that you could afford to restart? 

/t 

-Original Message-
Subject: CFMX6.1 on WebLogic 7, weird web services call error
From: Thomas Chiverton [EMAIL PROTECTED]
Date: Thu, 8 Sep 2005 16:50:55 +0100
Thread: 
http://www.houseoffusion.com/cf_lists/index.cfm/method=messages
threadid=42115forumid=4#217631

On Thursday 08 September 2005 16:11, RADEMAKERS Tanguy wrote:
 Is this on a development (unlicensed) copy of weblogic server?

Dev, yeah. Development != unlicensed though.
I haven't entered a serial number into it, if that is what you mean.

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217632
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Claude Schneegans
 compiles happen automagically upon saving in Eclipse Java projects,
unless you turn this off.

The problem is probabilly turning it on. Where is it?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217633
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Compiling Java ?%$/%??

2005-09-08 Thread Ken Ferguson
I always think it's funny to hear people talk about things that are 
going to eliminate compatibility problems. It makes you wonder why 
people strive so hard to say things that are gonna make them look 
ridiculous in hindsight. Compatibility problems exist becuase so many 
technologies are so different. Nothing is going to completely eliminate 
that.

--Ferg

Claude Schneegans wrote:

 You're using the Java 1.5 JDK, CF uses the 1.4 JVM.

BTW, this is weird, I mean wasn't Java supposed to solve all 
compatibility problems?
With CF 3, 4, 5, I never encountered any compatibility problem with my C 
custom tags,
whether they where compiled using VC++ 4, 5, or 6.
Now that CF goes Java, it is fussy about a MINOR version?

  



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217634
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Spike
On the project menu.

There is a build automatically option which should have a tick beside it.

If it does, the build project and build all options should be disabled. If 
it doesn't have a tick mark you should be able to use the build project 
option if you just want to compile the code.

Spike

On 9/8/05, Claude Schneegans [EMAIL PROTECTED] wrote:
 
 compiles happen automagically upon saving in Eclipse Java projects,
 unless you turn this off.
 
 The problem is probabilly turning it on. Where is it?
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217635
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: New to CFEclipse

2005-09-08 Thread kola.oyedeji
I Believe its - project - build automatically

K

 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: 08 September 2005 16:25
 To: CF-Talk
 Subject: Re: New to CFEclipse
 
  compiles happen automagically upon saving in Eclipse Java projects,
 unless you turn this off.
 
 The problem is probabilly turning it on. Where is it?
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 ~
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217636
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFOBJECT type=java - server hangs

2005-09-08 Thread Dimo Michailov
I am stuck on this issue and need help.

It seems that cfobject type=java... does not work for me at all.
Whenever I try to run this command the ColdFusion server just hangs
and the browser keeps waiting for any result. I have tried several
different types of java objects, and the result is the same - the box
hangs,

cfobject type=java name=sys class=java.lang.System
action=createcfset properties=sys.getProperties()cfdump
var=#properties#

or 

 cfobject type=JAVA action=Create name=factory
class=coldfusion.server.ServiceFactoryCFdump var=#factory#

Running CFMX 7 Enterprise Edition on Windows 2000 and Apach 2.0.48.
Java version is   1.4.2_05-b04. Can anyone help? Same code runs fine
on CFMX7/Developers' edition and CFMX7 Standard.

Thanks!

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217637
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ColdFusion Security Vulnerabilities

2005-09-08 Thread Stephen Dupre
Does anyone have any experience with reporting security vulnerabilities
to Macromedia?  I reported a vulnerability in ColdFusion using the
Macromedia Security Report Form
(http://www.macromedia.com/devnet/security/security_zone/alertus.html)
three days ago, and haven't heard anything back yet.  From what I can
tell, the example code I provided a URL for hasn't been downloaded
either.

 

Does anyone know if it is usual to receive a response in this situation?
Obviously I'm not expecting a hotfix the very next day, but just an
acknowledgement that my report has been received and is being
investigated would be reassuring.


You can email me directly.  I'm a member of the security team.  We're working 
on several issues right now - most turn out to be config issues, not product 
problems but we look at each and every one.  Can you send me what you've sent 
in?

Stephen Dupre 
([EMAIL PROTECTED])
Macromedia, Inc

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217638
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Guy Rish
Claude,

You might consider:
http://ccoj.coldfusionjournal.com/originalseriessummaries.htm

Part 6.

rish

Original Message ---
 I don't see why you can't build a test harness outside of CF.

Simply because a CFX needs to be executed inside the CF environment. It 
need a bunch of methods,
properties and so on provided by the CF application. I cannot and I 
don't want to emulate the whole CF server
in order to test the tag. I just need a compiler to check for syntax 
errors and eventually produce a class file.
A custom tag cannot be run inside any debugger.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217639
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


[OT] transparent source control

2005-09-08 Thread Anthony Prato
I was hoping to hear what the list thinks on an issue I have. 
I'm trying to make a number of changes at the place I've been working
for a few months. The small group of programmers has a disorganized
development process. I'm trying to work in some standard source
control but until that point I want to at least be able to, when
tracking bugs, to find out what changes where made to a file and when.
Backups somewhat help but what would be really nice is, like source
control, if I could look at the revision history for a single file. Is
there some sort of way to point a utility at a directory and have it
automatically check in files as they change on the server? (I know,
event gateways, but we don't have enterprise) The easier to install
and config the better.

Anthony

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217640
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
Hey all:

I'm tasked with the job of reworking someone else's FB CF code, and one 
thing that is driving me crazy is that the person who originally wrote 
the code dropped in s many cfoutput's that it's really not readable. 
  Is there a performance benefit for doing this vs just cfoutputting a 
whole block of code?

Ray


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217641
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [OT] transparent source control

2005-09-08 Thread Robert Munn
I don't think you would necessarily want that, even if you could have it. I 
save a file to disk many more times than I check it out and check it in. With 
automatic check-in on save, you could end up with hundreds of versions of a 
file very quickly. 

IMHO you are better off going straight to version control. Lots of people 
around here of late seem to like Subversion. I haven't used it myself yet (I am 
still using MS Visual Source Safe) but it gets a lot of good reviews, and it 
can now be integrated with CFEclipse, I believe.

I was hoping to hear what the list thinks on an issue I have. 
I'm trying to make a number of changes at the place I've been working
for a few months. The small group of programmers has a disorganized
development process. I'm trying to work in some standard source
control but until that point I want to at least be able to, when
tracking bugs, to find out what changes where made to a file and when.
Backups somewhat help but what would be really nice is, like source
control, if I could look at the revision history for a single file. Is
there some sort of way to point a utility at a directory and have it
automatically check in files as they change on the server? (I know,
event gateways, but we don't have enterprise) The easier to install
and config the better.

Anthony

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217642
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Andy McShane
I was always led to believe that putting cfoutput tags around a whole block
of code was slower that only putting the tags around the code that you
wanted output. If I remember correctly it is because the entire code block
between cfoutput tags has to be parsed and that could mean wasting time on a
lot of layout code. Not sure if there is a major difference in performance,
suppose it depends on the amount of code in the block?

-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: 08 September 2005 18:09
To: CF-Talk
Subject: multiple cfoutputs vs one as a wrapper

Hey all:

I'm tasked with the job of reworking someone else's FB CF code, and one 
thing that is driving me crazy is that the person who originally wrote 
the code dropped in s many cfoutput's that it's really not readable. 
  Is there a performance benefit for doing this vs just cfoutputting a 
whole block of code?

Ray




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217643
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Claude Schneegans
 Can I ask what it is you are trying to do... is this on cfmx?

I'm trying top make a CFX tag: a JDBC version of my CFX_ODBCinfo tag.

Does it have to be a cfx?

May be not, but for compatibility with ODBCinfo, it may be a better choice.
Anyway, all I need is to com-pile, period.
All the debugging and running I can do myself.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217644
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Compiling Java ?%$/%??

2005-09-08 Thread Claude Schneegans
 Nothing is going to completely eliminate

Ok, may be not completely eliminate, but Java was definitely not 
supposed to increase uncompatibilities.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217645
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
That makes sense.  Although, I'm definitely inclined to think this 
person had no idea of performance issues, since there are lines that 
look like this:

cfoutput
/td   
  /tr
/cfoutput

which is obviously just ridiculous, but they are EVERYWHERE.  LOL.  I 
know I could get rid of those, just wondering if it would be easier to 
just eliminate them all and surround the whole block (most are less than 
100 lines)  with one without sacrificing too much.





Andy McShane wrote:
 I was always led to believe that putting cfoutput tags around a whole block
 of code was slower that only putting the tags around the code that you
 wanted output. If I remember correctly it is because the entire code block
 between cfoutput tags has to be parsed and that could mean wasting time on a
 lot of layout code. Not sure if there is a major difference in performance,
 suppose it depends on the amount of code in the block?
 
 -Original Message-
 From: Ray Champagne [mailto:[EMAIL PROTECTED] 
 Sent: 08 September 2005 18:09
 To: CF-Talk
 Subject: multiple cfoutputs vs one as a wrapper
 
 Hey all:
 
 I'm tasked with the job of reworking someone else's FB CF code, and one 
 thing that is driving me crazy is that the person who originally wrote 
 the code dropped in s many cfoutput's that it's really not readable. 
   Is there a performance benefit for doing this vs just cfoutputting a 
 whole block of code?
 
 Ray
 
 
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217646
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Barney Boisvert
That was the case on CF5 and lower, because they did runtime parsing
of the CF, but with CFMX onward, the CF is compiled on the first
request, so the parsing/compiling complexity doesn't have any effect
on subsequent requests.  In other words, having one or many CFOUTPUT
tags only affects the initial compilation, which might make the first
request slightly slower, but once it's compiled, there is no
difference.

cheers,
barneyb

On 9/8/05, Andy McShane [EMAIL PROTECTED] wrote:
 I was always led to believe that putting cfoutput tags around a whole block
 of code was slower that only putting the tags around the code that you
 wanted output. If I remember correctly it is because the entire code block
 between cfoutput tags has to be parsed and that could mean wasting time on a
 lot of layout code. Not sure if there is a major difference in performance,
 suppose it depends on the amount of code in the block?
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217647
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [OT] transparent source control

2005-09-08 Thread Barney Boisvert
You can set up Subversion with Apache and access it over webDAV, which
is really slick.  Best of all, you can use both Subversion clients
(that understand the SVN extensions to webDAV), and normal webDAV
clients.  For normal clients, Subversion will just do a commit for any
files saved to the folders, giving entirely transparent versioning. 
If you've got a Subversion client, then you can do all the other stuff
like pull revision histories.

It's really a very elegant setup; the Subversion guys definitely got
their stuff together.

cheers,
barneyb

On 9/8/05, Anthony Prato [EMAIL PROTECTED] wrote:
 I was hoping to hear what the list thinks on an issue I have.
 I'm trying to make a number of changes at the place I've been working
 for a few months. The small group of programmers has a disorganized
 development process. I'm trying to work in some standard source
 control but until that point I want to at least be able to, when
 tracking bugs, to find out what changes where made to a file and when.
 Backups somewhat help but what would be really nice is, like source
 control, if I could look at the revision history for a single file. Is
 there some sort of way to point a utility at a directory and have it
 automatically check in files as they change on the server? (I know,
 event gateways, but we don't have enterprise) The easier to install
 and config the better.
 
 Anthony
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217648
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
Thanks BB!  That's exactly what I needed to prove my point.

Barney Boisvert wrote:
 That was the case on CF5 and lower, because they did runtime parsing
 of the CF, but with CFMX onward, the CF is compiled on the first
 request, so the parsing/compiling complexity doesn't have any effect
 on subsequent requests.  In other words, having one or many CFOUTPUT
 tags only affects the initial compilation, which might make the first
 request slightly slower, but once it's compiled, there is no
 difference.
 
 cheers,
 barneyb
 
 On 9/8/05, Andy McShane [EMAIL PROTECTED] wrote:
 
I was always led to believe that putting cfoutput tags around a whole block
of code was slower that only putting the tags around the code that you
wanted output. If I remember correctly it is because the entire code block
between cfoutput tags has to be parsed and that could mean wasting time on a
lot of layout code. Not sure if there is a major difference in performance,
suppose it depends on the amount of code in the block?

 
 

-- 
=
Ray Champagne - Senior Application Developer
CrystalVision Web Site Design and Internet Services
603.433.9559
www.crystalvision.org
=


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217649
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Bryan Stevenson
Andy...this is old news and only applied prior to CF 5 I believe.

The difference in processing time is quite insignificant (used to be more 
significant)so I weigh that against how much cleaner the code looks and 
is to maintain when using a whole file wrapper (not opening and closing 
everywhere and missing tags by accidentjust ain't worth the hassle).

Hope that helps

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217650
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Joshua Cyr
Does he have cfsetting enablecfoutputonly=yes on that page?Just a
thought. 

-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 1:20 PM
To: CF-Talk
Subject: Re: multiple cfoutputs vs one as a wrapper

That makes sense.  Although, I'm definitely inclined to think this person
had no idea of performance issues, since there are lines that look like
this:

cfoutput
/td   
  /tr
/cfoutput

which is obviously just ridiculous, but they are EVERYWHERE.  LOL.  I know I
could get rid of those, just wondering if it would be easier to just
eliminate them all and surround the whole block (most are less than 100
lines)  with one without sacrificing too much.





Andy McShane wrote:
 I was always led to believe that putting cfoutput tags around a whole 
 block of code was slower that only putting the tags around the code 
 that you wanted output. If I remember correctly it is because the 
 entire code block between cfoutput tags has to be parsed and that 
 could mean wasting time on a lot of layout code. Not sure if there is 
 a major difference in performance, suppose it depends on the amount of
code in the block?
 
 -Original Message-
 From: Ray Champagne [mailto:[EMAIL PROTECTED]
 Sent: 08 September 2005 18:09
 To: CF-Talk
 Subject: multiple cfoutputs vs one as a wrapper
 
 Hey all:
 
 I'm tasked with the job of reworking someone else's FB CF code, and 
 one thing that is driving me crazy is that the person who originally 
 wrote the code dropped in s many cfoutput's that it's really not
readable.
   Is there a performance benefit for doing this vs just cfoutputting a 
 whole block of code?
 
 Ray
 
 
 
 
 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217651
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread David Livingston
Bugzilla is a pretty decent one. I know it integrates with a few of  
the more popular open source source control programs like CVS and  
Subversion.
http://www.bugzilla.org/features/
Might be worth looking into.

Dave

On Sep 8, 2005, at 12:09 PM, Ray Champagne wrote:

 Hey all:

 I'm tasked with the job of reworking someone else's FB CF code, and  
 one
 thing that is driving me crazy is that the person who originally wrote
 the code dropped in s many cfoutput's that it's really not  
 readable.
   Is there a performance benefit for doing this vs just cfoutputting a
 whole block of code?

 Ray


 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217652
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Compiling Java ?%$/%??

2005-09-08 Thread Ken Ferguson
No, I wasn't baggin' on your statement Claude. I was baggin' on people 
I've heard make that statement over the years...
--Ferg

Claude Schneegans wrote:

 Nothing is going to completely eliminate

Ok, may be not completely eliminate, but Java was definitely not 
supposed to increase uncompatibilities.

  



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217654
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Claude Schneegans
Thanks to all,

I finally managed to set up a project and got a sample tag running.
The only thing I'm still missing is where I can set the path where 
Eclipse should
drop the class file. By default, it is in the same as the source file, 
not seen by CF.

Or may be should I add the path in the CF administrator Java settings?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217653
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Andy McShane
Well, I wasn't aware of that change in CFMX, useful info. :-)

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: 08 September 2005 18:20
To: CF-Talk
Subject: Re: multiple cfoutputs vs one as a wrapper

That was the case on CF5 and lower, because they did runtime parsing
of the CF, but with CFMX onward, the CF is compiled on the first
request, so the parsing/compiling complexity doesn't have any effect
on subsequent requests.  In other words, having one or many CFOUTPUT
tags only affects the initial compilation, which might make the first
request slightly slower, but once it's compiled, there is no
difference.

cheers,
barneyb

On 9/8/05, Andy McShane [EMAIL PROTECTED] wrote:
 I was always led to believe that putting cfoutput tags around a whole
block
 of code was slower that only putting the tags around the code that you
 wanted output. If I remember correctly it is because the entire code block
 between cfoutput tags has to be parsed and that could mean wasting time on
a
 lot of layout code. Not sure if there is a major difference in
performance,
 suppose it depends on the amount of code in the block?
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217655
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
Hey Josh, no, but good question.  I hadn't thought of that.  But, with 
this code, there'd be no reason that I'd see to use it anyways.

Joshua Cyr wrote:
 Does he have cfsetting enablecfoutputonly=yes on that page?Just a
 thought. 
 
 -Original Message-
 From: Ray Champagne [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 08, 2005 1:20 PM
 To: CF-Talk
 Subject: Re: multiple cfoutputs vs one as a wrapper
 
 That makes sense.  Although, I'm definitely inclined to think this person
 had no idea of performance issues, since there are lines that look like
 this:
 
 cfoutput
   /td   
   /tr
 /cfoutput
 
 which is obviously just ridiculous, but they are EVERYWHERE.  LOL.  I know I
 could get rid of those, just wondering if it would be easier to just
 eliminate them all and surround the whole block (most are less than 100
 lines)  with one without sacrificing too much.
 
 
   
 
 
 Andy McShane wrote:
 
I was always led to believe that putting cfoutput tags around a whole 
block of code was slower that only putting the tags around the code 
that you wanted output. If I remember correctly it is because the 
entire code block between cfoutput tags has to be parsed and that 
could mean wasting time on a lot of layout code. Not sure if there is 
a major difference in performance, suppose it depends on the amount of
 
 code in the block?
 
-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: 08 September 2005 18:09
To: CF-Talk
Subject: multiple cfoutputs vs one as a wrapper

Hey all:

I'm tasked with the job of reworking someone else's FB CF code, and 
one thing that is driving me crazy is that the person who originally 
wrote the code dropped in s many cfoutput's that it's really not
 
 readable.
 
  Is there a performance benefit for doing this vs just cfoutputting a 
whole block of code?

Ray





 
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217656
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
???

wrong topic?  :)

David Livingston wrote:
 Bugzilla is a pretty decent one. I know it integrates with a few of  
 the more popular open source source control programs like CVS and  
 Subversion.
 http://www.bugzilla.org/features/
 Might be worth looking into.
 
 Dave
 
 On Sep 8, 2005, at 12:09 PM, Ray Champagne wrote:
 
 
Hey all:

I'm tasked with the job of reworking someone else's FB CF code, and  
one
thing that is driving me crazy is that the person who originally wrote
the code dropped in s many cfoutput's that it's really not  
readable.
  Is there a performance benefit for doing this vs just cfoutputting a
whole block of code?

Ray



 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217657
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Question about my security system

2005-09-08 Thread Mike Soultanian
Ok Jim,
I think I found the last area where we're getting mixed up.  However, I
think I understand where you're coming from (and see some of the
advantages that you have suggested).  My proposed idea below is still
storing the file information, but I'm using your filename-permission
idea.  Check this out:

Blank initialized system - Permission database is currently empty (no
permissions registered).

Some random user logs in and hits two templates (user.cfm and
message.cfm) which have the following:

USER.CFM
cf_security perms=read,edit,delete

MESSAGE.CFM
cf_security perms=read,edit,delete,post

Since neither of these files have been registered with the security
system yet, cf_security registers the filenames and permissions in the
database (assuming filenames are the unique identifier for simplicity)
and tells the user to wait until permissions have been set.  The
permission table would look like this:

PERMID  FILENAMEPERMGROUP
1   MESSAGE READ
2   MESSAGE EDIT
3   MESSAGE DELETE  
4   MESSAGE POST
5   USERREAD
6   USEREDIT
7   USERDELETE  

Now, I log into my super-duper permission editor and assign groups to
those permissions so the table will now look like this:

PERMID  FILENAMEPERMGROUP
1   MESSAGE READUSERS   
2   MESSAGE EDITMODS
3   MESSAGE DELETE  ADMINS
4   MESSAGE POSTUSERS
5   USERREADUSERMODS
6   USEREDITUSERMODS
7   USERDELETE  ADMINS


Now, here is the user/group membership table:

USERS   GROUPS
joe USERMODS, USERS
mikeADMINS, MODS
dan USERS


Let's say user Joe logs in and he's obviously a member of the USERMODS
and USERS groups.  Upon login, the system performs a lookup to see what
permissions are assigned to those groups (IDs 1, 4, 5 and 6).  Those
permissions are then loaded into memory like this:

session.permissions = messageread, messagepost, userread, useredit

Now, let's say Joe hits the USER.CFM template.  The cf_security tag is
the following:

USERS.CFM
cf_security perms=read,edit,delete

so the cf_security tag can do a compare between the permissions loaded
in memory (session.permissions) and what permissions are stored in the
file and set any permission to TRUE that match up (remember, cf_security
assembles the permission by taking the filename and the permission).

The nice thing about this is within the code, you just use standard
words like:

if edit
  do this
end if

Instead of:

if messageedit
  do that
end if

which makes the code nice and portable if you decide to reuse it
somewhere else (not specific to that file).

What I really like about this is that there are no database hits while
the user is browsing the site.  Keeps things nice and fast.

The only thing I don't like about this setup is that I'm loading up all
those permissions into memory - seems kinda wasteful.  Let's say I had
100 files with each of them having a few permissions, that list could be
huge, multiply that by lots of users, that could be a lot of memory.  I
could instead load the PERMID list into memory, but then I'd obviously
have to do a lookup to pull the actual permission out of the database
every time someone hits a template so cf_security could make the match.

The other option is loading up the group memberships into the session
variable at login and then doing a group/permission lookup for every
template, but that would have a similar performance hit (if not slightly
higher) than the PERMID list, but the session variable stays small.


Now, I understand that I'm repeating permissions, i.e. there is a
permission EDIT in USER.CFM and also another permission EDIT in
MESSAGE.CFM, but those permissions are still template specific.  I can't
give some group generic EDIT permissions because EDIT on one template
doesn't mean the same thing on another template.

i.e. You have an file in NTFS that has modify permission.  You also have
an OU in Active Directory that can be assigned the modify permission.
However, that doesn't mean that I should have generic modify access to
both of those objects just because their permission titles are the same.

So whatcha think?

Mike

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217658
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [OT] transparent source control

2005-09-08 Thread Anthony Prato
I am pretty set on subversion already, my problem's been getting the
developers to break their bad habits. The process here seems to be
someone talks about a bug or something they don't like. A programmer
jumps on it with very little planning and starts coding. They think it
works, through it into production. I can't tell you how bad my stomach
turns when they say lets just see what breaks when referring to
putting things in production. And unfortunately these habits aren't
yet seen as problems by management either. I know its not pretty but I
need something for damage control until I can get a handle on things
here.

:(



On 9/8/05, Barney Boisvert [EMAIL PROTECTED] wrote:
 You can set up Subversion with Apache and access it over webDAV, which
 is really slick.  Best of all, you can use both Subversion clients
 (that understand the SVN extensions to webDAV), and normal webDAV
 clients.  For normal clients, Subversion will just do a commit for any
 files saved to the folders, giving entirely transparent versioning.
 If you've got a Subversion client, then you can do all the other stuff
 like pull revision histories.
 
 It's really a very elegant setup; the Subversion guys definitely got
 their stuff together.
 
 cheers,
 barneyb
 
 On 9/8/05, Anthony Prato [EMAIL PROTECTED] wrote:
  I was hoping to hear what the list thinks on an issue I have.
  I'm trying to make a number of changes at the place I've been working
  for a few months. The small group of programmers has a disorganized
  development process. I'm trying to work in some standard source
  control but until that point I want to at least be able to, when
  tracking bugs, to find out what changes where made to a file and when.
  Backups somewhat help but what would be really nice is, like source
  control, if I could look at the revision history for a single file. Is
  there some sort of way to point a utility at a directory and have it
  automatically check in files as they change on the server? (I know,
  event gateways, but we don't have enterprise) The easier to install
  and config the better.
 
  Anthony
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217659
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Douglas Knudsen
try right-click on project  properties  Java Build Path.  At the
bottom you should see the default output folder.  You can set this to
where ever you want.  ( Assuming eclipse 3.1 )



DK...an eclipse noob 

On 9/8/05, Claude Schneegans [EMAIL PROTECTED] wrote:
 Thanks to all,
 
 I finally managed to set up a project and got a sample tag running.
 The only thing I'm still missing is where I can set the path where
 Eclipse should
 drop the class file. By default, it is in the same as the source file,
 not seen by CF.
 
 Or may be should I add the path in the CF administrator Java settings?
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217660
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


[CSS] vertical justify

2005-09-08 Thread Ray Champagne
Is there a vertical alternative to justify in CSS (or html, really)? 
I want to stretch the content in my cells if they are all don't line up 
on one line.

Ray



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217662
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Claude Schneegans
 You can set this to
where ever you want.  ( Assuming eclipse 3.1 )

This is what I thought, but I don't what kind of folder the field will 
accept,
when I enter C:\CFusionMX\cfx\java as it should be for a custom tag, it 
kind of
does not like it, and the OK button goes to gret.
Even the Browse button browses on I don't know what.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217663
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Compiling Java ?%$/%??

2005-09-08 Thread Claude Schneegans
 I was baggin' on people
I've heard make that statement over the years...

Yeah, got it.
Looks like the way Java has solved to compatibility problem is that no 
machine now is uncompatible with another one:
The all are uncompatible with the same damn virtual and emulated dumb 
machine! ;-))

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217664
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: [CSS] vertical justify

2005-09-08 Thread Robertson-Ravo, Neil (RX)
You mean:

vertical-align?  valign in HTML.  

Supports:

baseline (align baselines of element and parent) 
middle (align vertical midpoint of element with baseline plus half the
x-height--the height of the letter x--of the parent) 
sub (subscript) 
super (superscript) 
text-top (align tops of element and parent's font) 
text-bottom (align bottoms of element and parent's font)



-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: 08 September 2005 19:01
To: CF-Talk
Subject: [CSS] vertical justify

Is there a vertical alternative to justify in CSS (or html, really)? 
I want to stretch the content in my cells if they are all don't line up 
on one line.

Ray





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217665
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Charting questions

2005-09-08 Thread Rick Root
Hi folks,

I'm trying to build a line graph using CFCHART in cf7.

After all is said and done there will be 1460 points of data.

So right now I've got this:

http://reports.ads.duke.edu/test2.cfm

ignore the HTML chart, that's just the current running total.

The flash chart shows an integer along the X axis... this is days since 
the beginning of the progression.  How can I convert these to dates?  I 
did RTFM and I can't figure it out :)

Also, can I make the lines thinner?

Thanks.

rick


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217666
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Charting questions

2005-09-08 Thread Barney Boisvert
Near as I can tell, the line width is set, which sucks.  I haven't
played with making custom styles via the stylesheets, however, so that
might allow for it, but it a needlessly complex manner.  For the
dates, you have to have a query with dates in it, rather than a day
offset.  Just use that column, but make sure you pass the sortxaxis
attribute to CFCHART, or you're get all kinds of screwed up stuff.

cheers,
barneyb

On 9/8/05, Rick Root [EMAIL PROTECTED] wrote:
 Hi folks,
 
 I'm trying to build a line graph using CFCHART in cf7.
 
 After all is said and done there will be 1460 points of data.
 
 So right now I've got this:
 
 http://reports.ads.duke.edu/test2.cfm
 
 ignore the HTML chart, that's just the current running total.
 
 The flash chart shows an integer along the X axis... this is days since
 the beginning of the progression.  How can I convert these to dates?  I
 did RTFM and I can't figure it out :)
 
 Also, can I make the lines thinner?
 
 Thanks.
 
 rick
 


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217667
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [CSS] vertical justify

2005-09-08 Thread Ray Champagne
Not quite.  I know about that one.

What I really want is to stretch, vertically, the content inside a cell. 
  Here's an example, this might get my point across:

http://tinyurl.com/bumv8

See?  They all don't line up, because the short description (finish) in 
the center of the info is missing on one.  I won't have control over 
this once I turn it over, since the end user is going to be entering 
products into the database, and some descriptions will be two lines, 
some none, etc.  I can do any of the alignments you listed, but none 
will stretch them to align at the bottom and the top.  I thought there 
might be an outside chance of a vertical justify, like the horizontal 
one that I already know about.

Robertson-Ravo, Neil (RX) wrote:
 You mean:
 
 vertical-align?  valign in HTML.  
 
 Supports:
 
 baseline (align baselines of element and parent) 
 middle (align vertical midpoint of element with baseline plus half the
 x-height--the height of the letter x--of the parent) 
 sub (subscript) 
 super (superscript) 
 text-top (align tops of element and parent's font) 
 text-bottom (align bottoms of element and parent's font)
 
 
 
 -Original Message-
 From: Ray Champagne [mailto:[EMAIL PROTECTED] 
 Sent: 08 September 2005 19:01
 To: CF-Talk
 Subject: [CSS] vertical justify
 
 Is there a vertical alternative to justify in CSS (or html, really)? 
 I want to stretch the content in my cells if they are all don't line up 
 on one line.
 
 Ray
 
 
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217668
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [OT] transparent source control

2005-09-08 Thread Tanguy Rademakers
You could hack a solution together based on batch files / shell scripts and the 
at / cron commands for scheduling. What you will gain is a visibility into what 
changed and when, but not why or by who. It's a matter of opinion, but i'd say 
that glass is very much half full.

/t

I was hoping to hear what the list thinks on an issue I have. 
I'm trying to make a number of changes at the place I've been working
for a few months. The small group of programmers has a disorganized
development process. I'm trying to work in some standard source
control but until that point I want to at least be able to, when
tracking bugs, to find out what changes where made to a file and when.
Backups somewhat help but what would be really nice is, like source
control, if I could look at the revision history for a single file. Is
there some sort of way to point a utility at a directory and have it
automatically check in files as they change on the server? (I know,
event gateways, but we don't have enterprise) The easier to install
and config the better.

Anthony

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217669
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [OT] transparent source control

2005-09-08 Thread Douglas Knudsen
sounds familiar, where do you work?  hehe!  Yeah, after using CVS on
my own ( well I cajoled maybe 2 others after a bit)  within a team of
non-cvs users for the past two years I finanlly just said everyone has
to use it.  Being the production owner gave me some leverage.  Use
CVS or your code does not go to production I said. :)  I set them up
with TortoiseCVS.  It is uber simple to use.  Only thing that wil lbe
difficult is branching/merging...another day for that.

DK

On 9/8/05, Anthony Prato [EMAIL PROTECTED] wrote:
 I am pretty set on subversion already, my problem's been getting the
 developers to break their bad habits. The process here seems to be
 someone talks about a bug or something they don't like. A programmer
 jumps on it with very little planning and starts coding. They think it
 works, through it into production. I can't tell you how bad my stomach
 turns when they say lets just see what breaks when referring to
 putting things in production. And unfortunately these habits aren't
 yet seen as problems by management either. I know its not pretty but I
 need something for damage control until I can get a handle on things
 here.
 
 :(
 
 
 
 On 9/8/05, Barney Boisvert [EMAIL PROTECTED] wrote:
  You can set up Subversion with Apache and access it over webDAV, which
  is really slick.  Best of all, you can use both Subversion clients
  (that understand the SVN extensions to webDAV), and normal webDAV
  clients.  For normal clients, Subversion will just do a commit for any
  files saved to the folders, giving entirely transparent versioning.
  If you've got a Subversion client, then you can do all the other stuff
  like pull revision histories.
 
  It's really a very elegant setup; the Subversion guys definitely got
  their stuff together.
 
  cheers,
  barneyb
 
  On 9/8/05, Anthony Prato [EMAIL PROTECTED] wrote:
   I was hoping to hear what the list thinks on an issue I have.
   I'm trying to make a number of changes at the place I've been working
   for a few months. The small group of programmers has a disorganized
   development process. I'm trying to work in some standard source
   control but until that point I want to at least be able to, when
   tracking bugs, to find out what changes where made to a file and when.
   Backups somewhat help but what would be really nice is, like source
   control, if I could look at the revision history for a single file. Is
   there some sort of way to point a utility at a directory and have it
   automatically check in files as they change on the server? (I know,
   event gateways, but we don't have enterprise) The easier to install
   and config the better.
  
   Anthony
  
  
 
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217661
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New to CFEclipse

2005-09-08 Thread Douglas Knudsen
ah, right.  The output folder path is relative to the project root. 
Sorry, slipped by me.  So, if you created the project in  workspace
like c:\jrun4\servers\cfusion\  then this might work.  otherwise you
have to manually copy it.  Or set up an ANT build that you can kick
off easily in the ANT view in eclipse.  Maybe someone else has a
better suggestion there, I'm still abit green in eclipse.

DK

On 9/8/05, Claude Schneegans [EMAIL PROTECTED] wrote:
  You can set this to
 where ever you want.  ( Assuming eclipse 3.1 )
 
 This is what I thought, but I don't what kind of folder the field will
 accept,
 when I enter C:\CFusionMX\cfx\java as it should be for a custom tag, it
 kind of
 does not like it, and the OK button goes to gret.
 Even the Browse button browses on I don't know what.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217670
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Charting questions

2005-09-08 Thread Rick Root
Barney Boisvert wrote:
 Near as I can tell, the line width is set, which sucks.  I haven't
 played with making custom styles via the stylesheets, however, so that
 might allow for it, but it a needlessly complex manner.  For the
 dates, you have to have a query with dates in it, rather than a day
 offset.  Just use that column, but make sure you pass the sortxaxis
 attribute to CFCHART, or you're get all kinds of screwed up stuff.

Well now I've got this...

http://reports.ads.duke.edu/test3.cfm

But I can't seem to apply any formatting to the axis which now contains 
lovely timestamps.

Rick


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217671
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Charting questions

2005-09-08 Thread Barney Boisvert
I can't hit that page, is it internal?  But if you've got what I seem
to get (long date strings and only every seventh point labeled), then
yeah, you're stuck with that too.  I don't know what they heck they
were thinking when they picked this new engine.

cheers,
barneyb

On 9/8/05, Rick Root [EMAIL PROTECTED] wrote:
 Barney Boisvert wrote:
  Near as I can tell, the line width is set, which sucks.  I haven't
  played with making custom styles via the stylesheets, however, so that
  might allow for it, but it a needlessly complex manner.  For the
  dates, you have to have a query with dates in it, rather than a day
  offset.  Just use that column, but make sure you pass the sortxaxis
  attribute to CFCHART, or you're get all kinds of screwed up stuff.
 
 Well now I've got this...
 
 http://reports.ads.duke.edu/test3.cfm
 
 But I can't seem to apply any formatting to the axis which now contains
 lovely timestamps.
 
 Rick
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217672
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Aaron Rouse
Did they start the page off with:
 cfsetting enablecfoutputonly=yes
 I have worked on peoples code that always start with that and wrap things 
like you described. Best I can tell they did it in an attempt to save on 
white space.

 On 9/8/05, Ray Champagne [EMAIL PROTECTED] wrote: 
 
 That makes sense. Although, I'm definitely inclined to think this
 person had no idea of performance issues, since there are lines that
 look like this:
 
 cfoutput
 /td
 /tr
 /cfoutput
 
 which is obviously just ridiculous, but they are EVERYWHERE. LOL. I
 know I could get rid of those, just wondering if it would be easier to
 just eliminate them all and surround the whole block (most are less than
 100 lines) with one without sacrificing too much.
 
 
 
 
 
 Andy McShane wrote:
  I was always led to believe that putting cfoutput tags around a whole 
 block
  of code was slower that only putting the tags around the code that you
  wanted output. If I remember correctly it is because the entire code 
 block
  between cfoutput tags has to be parsed and that could mean wasting time 
 on a
  lot of layout code. Not sure if there is a major difference in 
 performance,
  suppose it depends on the amount of code in the block?
 
  -Original Message-
  From: Ray Champagne [mailto:[EMAIL PROTECTED]
  Sent: 08 September 2005 18:09
  To: CF-Talk
  Subject: multiple cfoutputs vs one as a wrapper
 
  Hey all:
 
  I'm tasked with the job of reworking someone else's FB CF code, and one
  thing that is driving me crazy is that the person who originally wrote
  the code dropped in s many cfoutput's that it's really not readable.
  Is there a performance benefit for doing this vs just cfoutputting a
  whole block of code?
 
  Ray
 
 
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217673
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
Nope.

Aaron Rouse wrote:
 Did they start the page off with:
  cfsetting enablecfoutputonly=yes
  I have worked on peoples code that always start with that and wrap things 
 like you described. Best I can tell they did it in an attempt to save on 
 white space.
 
  On 9/8/05, Ray Champagne [EMAIL PROTECTED] wrote: 
 
That makes sense. Although, I'm definitely inclined to think this
person had no idea of performance issues, since there are lines that
look like this:

cfoutput
/td
/tr
/cfoutput

which is obviously just ridiculous, but they are EVERYWHERE. LOL. I
know I could get rid of those, just wondering if it would be easier to
just eliminate them all and surround the whole block (most are less than
100 lines) with one without sacrificing too much.





Andy McShane wrote:

I was always led to believe that putting cfoutput tags around a whole 

block

of code was slower that only putting the tags around the code that you
wanted output. If I remember correctly it is because the entire code 

block

between cfoutput tags has to be parsed and that could mean wasting time 

on a

lot of layout code. Not sure if there is a major difference in 

performance,

suppose it depends on the amount of code in the block?

-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: 08 September 2005 18:09
To: CF-Talk
Subject: multiple cfoutputs vs one as a wrapper

Hey all:

I'm tasked with the job of reworking someone else's FB CF code, and one
thing that is driving me crazy is that the person who originally wrote
the code dropped in s many cfoutput's that it's really not readable.
Is there a performance benefit for doing this vs just cfoutputting a
whole block of code?

Ray







 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217674
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


funky strings in CFCs?

2005-09-08 Thread Paul
I'm getting results from my DAO that don't exactly match the same value when
retrieved using good old-fashioned cfquery.  I suspect I'm doing something
goofy.

 

When I grab the data directly using cfquery, I can see that the value stored
in my database is simply 81150-100.  When I retrieve the same value
through my DAO, the value is essentially the same but the string is
prepended by a line break and extra spaces.  So 81150-100 is returned as 

 81150-100

 

Am I making, by chance, a common mistake?  If the symptoms sound familiar to
you I'd sure appreciate the help.  Here's what I think is the relevant code.

 

In the calling page: 

entry=createObject(component,com.portal.amex.entryDAO).init().read(url.e
ntryID);

dump(entry.getAccount()); 

 

The read function of my DAO:

cffunction name=read access=public returntype=com.portal.amex.entry

  cfargument name=entryID required=true type=numeric

  cfset var q=

  cfset var o=createObject(component,entry).init()

  cfquery name=q datasource=#getDSN()#

select * from entries

where entryID = cfqueryparam value=#arguments.entryID#
cfsqltype=CF_SQL_INTEGER

  /cfquery

  cfscript

o.setEntryID(q.entryID);

o.setTransactionID(q.transactionID);

o.setAccount(q.account);

o.setAmount(q.amount);

o.setEnteredBy(q.enteredBy);

o.setEnteredDate(q.enteredDate);

o.setNotes(q.notes);

  /cfscript

  cfreturn o

/cffunction 

 

And the init and getAccount methods from the entry object:

cffunction name=init access=public displayname=init() output=no
returntype=entry

  cfargument name=transactionID default=0 type=numeric

  cfargument name=account default= type=string

  cfargument name=amount default=0 type=numeric

  cfargument name=enteredBy default= type=string

  cfargument name=enteredDate default=#now()# type=date

  cfargument name=notes default= type=string

  cfargument name=entryID default=0 type=numeric

  cfscript

variables.instance=structNew();

setTransactionID(arguments.transactionID);

setAccount(arguments.account);

setAmount(arguments.amount);

setEnteredBy(arguments.enteredBy);

setEnteredDate(arguments.enteredDate);

setNotes(arguments.notes);

setEntryID(arguments.entryID);

  /cfscript

  cfreturn this /

/cffunction

 

cffunction name=getAccount returntype=string

  cfreturn variables.instance.account

/cffunction

cffunction name=setAccount returntype=void

  cfargument name=newValue required=Yes

  cfset variables.instance.account=trim(arguments.newValue)

/cffunction

 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217675
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: funky strings in CFCs?

2005-09-08 Thread Ryan Guill
try using a trim() on insert.  see how its storing it in the db, if it
has the line breaks and extra spaces there.

On 9/8/05, Paul [EMAIL PROTECTED] wrote:
 I'm getting results from my DAO that don't exactly match the same value when
 retrieved using good old-fashioned cfquery.  I suspect I'm doing something
 goofy.
 
 
 
 When I grab the data directly using cfquery, I can see that the value stored
 in my database is simply 81150-100.  When I retrieve the same value
 through my DAO, the value is essentially the same but the string is
 prepended by a line break and extra spaces.  So 81150-100 is returned as 
 
  81150-100
 
 
 
 Am I making, by chance, a common mistake?  If the symptoms sound familiar to
 you I'd sure appreciate the help.  Here's what I think is the relevant code.
 
 
 
 In the calling page:
 
 entry=createObject(component,com.portal.amex.entryDAO).init().read(url.e
 ntryID);
 
 dump(entry.getAccount());
 
 
 
 The read function of my DAO:
 
 cffunction name=read access=public returntype=com.portal.amex.entry
 
   cfargument name=entryID required=true type=numeric
 
   cfset var q=
 
   cfset var o=createObject(component,entry).init()
 
   cfquery name=q datasource=#getDSN()#
 
 select * from entries
 
 where entryID = cfqueryparam value=#arguments.entryID#
 cfsqltype=CF_SQL_INTEGER
 
   /cfquery
 
   cfscript
 
 o.setEntryID(q.entryID);
 
 o.setTransactionID(q.transactionID);
 
 o.setAccount(q.account);
 
 o.setAmount(q.amount);
 
 o.setEnteredBy(q.enteredBy);
 
 o.setEnteredDate(q.enteredDate);
 
 o.setNotes(q.notes);
 
   /cfscript
 
   cfreturn o
 
 /cffunction
 
 
 
 And the init and getAccount methods from the entry object:
 
 cffunction name=init access=public displayname=init() output=no
 returntype=entry
 
   cfargument name=transactionID default=0 type=numeric
 
   cfargument name=account default= type=string
 
   cfargument name=amount default=0 type=numeric
 
   cfargument name=enteredBy default= type=string
 
   cfargument name=enteredDate default=#now()# type=date
 
   cfargument name=notes default= type=string
 
   cfargument name=entryID default=0 type=numeric
 
   cfscript
 
 variables.instance=structNew();
 
 setTransactionID(arguments.transactionID);
 
 setAccount(arguments.account);
 
 setAmount(arguments.amount);
 
 setEnteredBy(arguments.enteredBy);
 
 setEnteredDate(arguments.enteredDate);
 
 setNotes(arguments.notes);
 
 setEntryID(arguments.entryID);
 
   /cfscript
 
   cfreturn this /
 
 /cffunction
 
 
 
 cffunction name=getAccount returntype=string
 
   cfreturn variables.instance.account
 
 /cffunction
 
 cffunction name=setAccount returntype=void
 
   cfargument name=newValue required=Yes
 
   cfset variables.instance.account=trim(arguments.newValue)
 
 /cffunction
 
 
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217676
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Is there a way to see webservice request generated by CFMX?

2005-09-08 Thread Stacy Young
Trying to debug a complex xml document based web service. Is there way
to see how cfmx is translating my parameters into the webservice
request?

Thx!
Stace

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217677
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Simple CFC quesiton

2005-09-08 Thread Matthew Blatchley
When using arguments that are not required:

cfargument name=imageName type=string required=no

Why do we refer to the argument as #form.imageName# instead of 
#ARGUMENTS.imageName#, or does it not matter?

Matt

 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217678
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Is there a way to see webservice request generated by CFMX?

2005-09-08 Thread Bryan Stevenson
have a lok at the tools at mindreef.netvery cool!!

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217679
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Simple CFC quesiton

2005-09-08 Thread Adrocknaphobia
You should never refer to the FORM scope from within a component.
Always refers to #ARGUMENTS.imageName#.

-Adam

On 9/8/05, Matthew Blatchley [EMAIL PROTECTED] wrote:
 When using arguments that are not required:
 
 cfargument name=imageName type=string required=no
 
 Why do we refer to the argument as #form.imageName# instead of
 #ARGUMENTS.imageName#, or does it not matter?
 
 Matt
 
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217680
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cfcatch/cfdump weirdness

2005-09-08 Thread Timothy Heald
Afternoon folks!

We have run into some really strange problems with cfdump-ing a cfcatch 
structure.  It is almost as though at the end of cfdump var=#cfcatch# is 
cfsetiing enablecfoutputonly=yes.

We are running this and getting the same results on 2 different servers.  Both 
are on CFMX 6.1, one is windows 2000, one is 2003.  Here are three test cases:

Test1.cfm
!--- 

start test1.cfm

This will not render anything below the cfdump outside of a cf tag or cfoutput 
block
---

div
Stuff in the div top
/div


cftry
cfthrow type=application message=stuff happens
cfcatch type=application
cfdump var=#cfcatch#
cfdump var=#server#
/cfcatch
/cftry

div
Stuff in the div bottom
/div

!--- end test1.cfm ---

test2.cfm
!---
start test2.cfm

This test has cfsetting enablecfoutputonly set to no.  It will allow content to 
be rendered
---


div
Stuff in the div top
/div


cftry
cfthrow type=application message=stuff happens
cfcatch type=application
cfdump var=#cfcatch#
cfsetting enablecfoutputonly=no
cfdump var=#server#
/cfcatch
/cftry

div
Stuff in the div bottom
/div

!--- end test2.cfm ---

test3.cfm
!---
test3.cfm

This one has the dump of the cfcatch structure removed.  You can see the 
content at the bottom of the page is rendered
---


div
Stuff in the div top
/div


cftry
cfthrow type=application message=stuff happens
cfcatch type=application
!--- 
cfdump var=#cfcatch#
cfsetting enablecfoutputonly=no
---
cfdump var=#server#
/cfcatch
/cftry

div
Stuff in the div bottom
/div

!--- end test3.cfm ---

Tim

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217681
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Simple CFC quesiton

2005-09-08 Thread Matthew Blatchley
Ah, so is this must be a typo...I couldn't understand why it was written 
this way in one spot in not in another...

thanks

- Original Message - 
From: Adrocknaphobia [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, September 08, 2005 3:40 PM
Subject: SPAM-LOW: Re: Simple CFC quesiton


 You should never refer to the FORM scope from within a component.
 Always refers to #ARGUMENTS.imageName#.

 -Adam

 On 9/8/05, Matthew Blatchley [EMAIL PROTECTED] wrote:
 When using arguments that are not required:

 cfargument name=imageName type=string required=no

 Why do we refer to the argument as #form.imageName# instead of
 #ARGUMENTS.imageName#, or does it not matter?

 Matt







 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217682
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: funky strings in CFCs?

2005-09-08 Thread Joe Rinehart
Hey Paul,

That's weird...I'd make sure the getAccount() (and all other getters)
have output=false appliedotherwise, you may get a line break in
the value if you do INSERT 
cfqueryparam...value=#foo.getXXX()#

Cheers,

Joe

On 9/8/05, Paul [EMAIL PROTECTED] wrote:
 I'm getting results from my DAO that don't exactly match the same value when
 retrieved using good old-fashioned cfquery.  I suspect I'm doing something
 goofy.
 
 
 
 When I grab the data directly using cfquery, I can see that the value stored
 in my database is simply 81150-100.  When I retrieve the same value
 through my DAO, the value is essentially the same but the string is
 prepended by a line break and extra spaces.  So 81150-100 is returned as 
 
  81150-100
 
 
 
 Am I making, by chance, a common mistake?  If the symptoms sound familiar to
 you I'd sure appreciate the help.  Here's what I think is the relevant code.
 
 
 
 In the calling page:
 
 entry=createObject(component,com.portal.amex.entryDAO).init().read(url.e
 ntryID);
 
 dump(entry.getAccount());
 
 
 
 The read function of my DAO:
 
 cffunction name=read access=public returntype=com.portal.amex.entry
 
   cfargument name=entryID required=true type=numeric
 
   cfset var q=
 
   cfset var o=createObject(component,entry).init()
 
   cfquery name=q datasource=#getDSN()#
 
 select * from entries
 
 where entryID = cfqueryparam value=#arguments.entryID#
 cfsqltype=CF_SQL_INTEGER
 
   /cfquery
 
   cfscript
 
 o.setEntryID(q.entryID);
 
 o.setTransactionID(q.transactionID);
 
 o.setAccount(q.account);
 
 o.setAmount(q.amount);
 
 o.setEnteredBy(q.enteredBy);
 
 o.setEnteredDate(q.enteredDate);
 
 o.setNotes(q.notes);
 
   /cfscript
 
   cfreturn o
 
 /cffunction
 
 
 
 And the init and getAccount methods from the entry object:
 
 cffunction name=init access=public displayname=init() output=no
 returntype=entry
 
   cfargument name=transactionID default=0 type=numeric
 
   cfargument name=account default= type=string
 
   cfargument name=amount default=0 type=numeric
 
   cfargument name=enteredBy default= type=string
 
   cfargument name=enteredDate default=#now()# type=date
 
   cfargument name=notes default= type=string
 
   cfargument name=entryID default=0 type=numeric
 
   cfscript
 
 variables.instance=structNew();
 
 setTransactionID(arguments.transactionID);
 
 setAccount(arguments.account);
 
 setAmount(arguments.amount);
 
 setEnteredBy(arguments.enteredBy);
 
 setEnteredDate(arguments.enteredDate);
 
 setNotes(arguments.notes);
 
 setEntryID(arguments.entryID);
 
   /cfscript
 
   cfreturn this /
 
 /cffunction
 
 
 
 cffunction name=getAccount returntype=string
 
   cfreturn variables.instance.account
 
 /cffunction
 
 cffunction name=setAccount returntype=void
 
   cfargument name=newValue required=Yes
 
   cfset variables.instance.account=trim(arguments.newValue)
 
 /cffunction
 
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217683
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfcatch/cfdump weirdness

2005-09-08 Thread Barney Boisvert
I see the bottom content for all three cases.  CFMX 6.1 on JRun on
RedHat 8.0.  You got an Application.cfm somewhere that's screwing
things up?

cheers,
barneyb

On 9/8/05, Timothy Heald [EMAIL PROTECTED] wrote:
 Afternoon folks!
 
 We have run into some really strange problems with cfdump-ing a cfcatch 
 structure.  It is almost as though at the end of cfdump var=#cfcatch# is 
 cfsetiing enablecfoutputonly=yes.
 
 We are running this and getting the same results on 2 different servers.  
 Both are on CFMX 6.1, one is windows 2000, one is 2003.  Here are three test 
 cases:
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217684
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: funky strings in CFCs?

2005-09-08 Thread Marlon Moyer
make sure all of your cffunction tags have output=false.  That has
bit me more than I can recall.

On 9/8/05, Paul [EMAIL PROTECTED] wrote:
 I'm getting results from my DAO that don't exactly match the same value when
 retrieved using good old-fashioned cfquery.  I suspect I'm doing something
 goofy.
 
 
 
 When I grab the data directly using cfquery, I can see that the value stored
 in my database is simply 81150-100.  When I retrieve the same value
 through my DAO, the value is essentially the same but the string is
 prepended by a line break and extra spaces.  So 81150-100 is returned as 
 
  81150-100
 
 
 
 Am I making, by chance, a common mistake?  If the symptoms sound familiar to
 you I'd sure appreciate the help.  Here's what I think is the relevant code.
 
 
 
 In the calling page:
 
 entry=createObject(component,com.portal.amex.entryDAO).init().read(url.e
 ntryID);
 
 dump(entry.getAccount());
 
 
 
 The read function of my DAO:
 
 cffunction name=read access=public returntype=com.portal.amex.entry
 
   cfargument name=entryID required=true type=numeric
 
   cfset var q=
 
   cfset var o=createObject(component,entry).init()
 
   cfquery name=q datasource=#getDSN()#
 
 select * from entries
 
 where entryID = cfqueryparam value=#arguments.entryID#
 cfsqltype=CF_SQL_INTEGER
 
   /cfquery
 
   cfscript
 
 o.setEntryID(q.entryID);
 
 o.setTransactionID(q.transactionID);
 
 o.setAccount(q.account);
 
 o.setAmount(q.amount);
 
 o.setEnteredBy(q.enteredBy);
 
 o.setEnteredDate(q.enteredDate);
 
 o.setNotes(q.notes);
 
   /cfscript
 
   cfreturn o
 
 /cffunction
 
 
 
 And the init and getAccount methods from the entry object:
 
 cffunction name=init access=public displayname=init() output=no
 returntype=entry
 
   cfargument name=transactionID default=0 type=numeric
 
   cfargument name=account default= type=string
 
   cfargument name=amount default=0 type=numeric
 
   cfargument name=enteredBy default= type=string
 
   cfargument name=enteredDate default=#now()# type=date
 
   cfargument name=notes default= type=string
 
   cfargument name=entryID default=0 type=numeric
 
   cfscript
 
 variables.instance=structNew();
 
 setTransactionID(arguments.transactionID);
 
 setAccount(arguments.account);
 
 setAmount(arguments.amount);
 
 setEnteredBy(arguments.enteredBy);
 
 setEnteredDate(arguments.enteredDate);
 
 setNotes(arguments.notes);
 
 setEntryID(arguments.entryID);
 
   /cfscript
 
   cfreturn this /
 
 /cffunction
 
 
 
 cffunction name=getAccount returntype=string
 
   cfreturn variables.instance.account
 
 /cffunction
 
 cffunction name=setAccount returntype=void
 
   cfargument name=newValue required=Yes
 
   cfset variables.instance.account=trim(arguments.newValue)
 
 /cffunction
 
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217685
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: funky strings in CFCs?

2005-09-08 Thread Joe Rinehart
Hey Paul,

That's weird...I'd make sure the getAccount() (and all other getters)
have output=false appliedotherwise, you may get a line break in
the value if you do INSERT 
cfqueryparam...value=#foo.getXXX()#

Cheers,

Joe

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217686
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: funky strings in CFCs?

2005-09-08 Thread Paul
Yeah, I checked that first thing...  The value returned in a cfquery is 
nothing but the string, as it should be, indicating that the database record
is as I expect.  Something seems to be happening within one of my CFCs to
screw this up.

-Original Message-
From: Ryan Guill [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 2:23 PM
To: CF-Talk
Subject: Re: funky strings in CFCs?

try using a trim() on insert.  see how its storing it in the db, if it
has the line breaks and extra spaces there.

On 9/8/05, Paul [EMAIL PROTECTED] wrote:
 I'm getting results from my DAO that don't exactly match the same value
when
 retrieved using good old-fashioned cfquery.  I suspect I'm doing something
 goofy.
 
 
 
 When I grab the data directly using cfquery, I can see that the value
stored
 in my database is simply 81150-100.  When I retrieve the same value
 through my DAO, the value is essentially the same but the string is
 prepended by a line break and extra spaces.  So 81150-100 is returned as

 
  81150-100
 
 
 
 Am I making, by chance, a common mistake?  If the symptoms sound familiar
to
 you I'd sure appreciate the help.  Here's what I think is the relevant
code.
 
 
 
 In the calling page:
 

entry=createObject(component,com.portal.amex.entryDAO).init().read(url.e
 ntryID);
 
 dump(entry.getAccount());
 
 
 
 The read function of my DAO:
 
 cffunction name=read access=public
returntype=com.portal.amex.entry
 
   cfargument name=entryID required=true type=numeric
 
   cfset var q=
 
   cfset var o=createObject(component,entry).init()
 
   cfquery name=q datasource=#getDSN()#
 
 select * from entries
 
 where entryID = cfqueryparam value=#arguments.entryID#
 cfsqltype=CF_SQL_INTEGER
 
   /cfquery
 
   cfscript
 
 o.setEntryID(q.entryID);
 
 o.setTransactionID(q.transactionID);
 
 o.setAccount(q.account);
 
 o.setAmount(q.amount);
 
 o.setEnteredBy(q.enteredBy);
 
 o.setEnteredDate(q.enteredDate);
 
 o.setNotes(q.notes);
 
   /cfscript
 
   cfreturn o
 
 /cffunction
 
 
 
 And the init and getAccount methods from the entry object:
 
 cffunction name=init access=public displayname=init() output=no
 returntype=entry
 
   cfargument name=transactionID default=0 type=numeric
 
   cfargument name=account default= type=string
 
   cfargument name=amount default=0 type=numeric
 
   cfargument name=enteredBy default= type=string
 
   cfargument name=enteredDate default=#now()# type=date
 
   cfargument name=notes default= type=string
 
   cfargument name=entryID default=0 type=numeric
 
   cfscript
 
 variables.instance=structNew();
 
 setTransactionID(arguments.transactionID);
 
 setAccount(arguments.account);
 
 setAmount(arguments.amount);
 
 setEnteredBy(arguments.enteredBy);
 
 setEnteredDate(arguments.enteredDate);
 
 setNotes(arguments.notes);
 
 setEntryID(arguments.entryID);
 
   /cfscript
 
   cfreturn this /
 
 /cffunction
 
 
 
 cffunction name=getAccount returntype=string
 
   cfreturn variables.instance.account
 
 /cffunction
 
 cffunction name=setAccount returntype=void
 
   cfargument name=newValue required=Yes
 
   cfset variables.instance.account=trim(arguments.newValue)
 
 /cffunction
 
 
 
 
 
 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217687
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cfdocument work around?

2005-09-08 Thread dan martin
Does anyone know how to avoid or workaround the bug in CFMX7 in cfdocument that 
causes images to be randomly enlarged?

It is supposed to be fixed in the Merrimack release, whenever that comes out. 

Has anyone discovered a way to prevent this tag from screwing up images?

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217688
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: funky strings in CFCs?

2005-09-08 Thread Paul
Huh!  Adding output=false to the getter did the trick.  So nice to have
smarter minds available to solve my problems!

Thanks Joe!

Paul

-Original Message-
From: Joe Rinehart [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 2:55 PM
To: CF-Talk
Subject: Re: funky strings in CFCs?

Hey Paul,

That's weird...I'd make sure the getAccount() (and all other getters)
have output=false appliedotherwise, you may get a line break in
the value if you do INSERT 
cfqueryparam...value=#foo.getXXX()#

Cheers,

Joe

On 9/8/05, Paul [EMAIL PROTECTED] wrote:
 I'm getting results from my DAO that don't exactly match the same value
when
 retrieved using good old-fashioned cfquery.  I suspect I'm doing something
 goofy.
 
 
 
 When I grab the data directly using cfquery, I can see that the value
stored
 in my database is simply 81150-100.  When I retrieve the same value
 through my DAO, the value is essentially the same but the string is
 prepended by a line break and extra spaces.  So 81150-100 is returned as

 
  81150-100
 
 
 
 Am I making, by chance, a common mistake?  If the symptoms sound familiar
to
 you I'd sure appreciate the help.  Here's what I think is the relevant
code.
 
 
 
 In the calling page:
 

entry=createObject(component,com.portal.amex.entryDAO).init().read(url.e
 ntryID);
 
 dump(entry.getAccount());
 
 
 
 The read function of my DAO:
 
 cffunction name=read access=public
returntype=com.portal.amex.entry
 
   cfargument name=entryID required=true type=numeric
 
   cfset var q=
 
   cfset var o=createObject(component,entry).init()
 
   cfquery name=q datasource=#getDSN()#
 
 select * from entries
 
 where entryID = cfqueryparam value=#arguments.entryID#
 cfsqltype=CF_SQL_INTEGER
 
   /cfquery
 
   cfscript
 
 o.setEntryID(q.entryID);
 
 o.setTransactionID(q.transactionID);
 
 o.setAccount(q.account);
 
 o.setAmount(q.amount);
 
 o.setEnteredBy(q.enteredBy);
 
 o.setEnteredDate(q.enteredDate);
 
 o.setNotes(q.notes);
 
   /cfscript
 
   cfreturn o
 
 /cffunction
 
 
 
 And the init and getAccount methods from the entry object:
 
 cffunction name=init access=public displayname=init() output=no
 returntype=entry
 
   cfargument name=transactionID default=0 type=numeric
 
   cfargument name=account default= type=string
 
   cfargument name=amount default=0 type=numeric
 
   cfargument name=enteredBy default= type=string
 
   cfargument name=enteredDate default=#now()# type=date
 
   cfargument name=notes default= type=string
 
   cfargument name=entryID default=0 type=numeric
 
   cfscript
 
 variables.instance=structNew();
 
 setTransactionID(arguments.transactionID);
 
 setAccount(arguments.account);
 
 setAmount(arguments.amount);
 
 setEnteredBy(arguments.enteredBy);
 
 setEnteredDate(arguments.enteredDate);
 
 setNotes(arguments.notes);
 
 setEntryID(arguments.entryID);
 
   /cfscript
 
   cfreturn this /
 
 /cffunction
 
 
 
 cffunction name=getAccount returntype=string
 
   cfreturn variables.instance.account
 
 /cffunction
 
 cffunction name=setAccount returntype=void
 
   cfargument name=newValue required=Yes
 
   cfset variables.instance.account=trim(arguments.newValue)
 
 /cffunction
 
 
 
 
 
 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217689
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [OT] transparent source control

2005-09-08 Thread Peter Farrell
I whole heartedly go with Subversion and just force people to use it.  Trust me 
- people will use it if you catch them put in buggy untested code into 
production.  Offer a $100 gift certificate for the person with the lease amount 
of demerit points after two months (use a public whiteboard or something).  
Just a thought...

I'm planning on writing a tutorial on getting SVN running on Apache, setting up 
your first repository, setting up authentication/authorization and using it 
with Subeclipse.

Leave a vote for it as a comment at:
http://blog.maestropublishing.com/index.cfm?mode=entryentry=C8AB0D8A-AD99-75CD-4EA66322B5A40871

I'll leave a comment when the tutorial is finished and where the blog post of 
it is.

Best,
...Peter
Maestro Publishing

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217690
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Directory permissions (ADSI ??) and CFMX7

2005-09-08 Thread Ryan Mitchell
Hello

Has anybody been able to set up directory permissions on windows2003 server 
using CFMX7. Preferably using active directory, but i'm open to other 
possibilities.

Basically i need to be able to allow/disallow users by script on specific 
directories...

TIA,
Ryan

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217691
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: funky strings in CFCs?

2005-09-08 Thread Paul
Huh!  Adding output=false to the getter did the trick.  So nice to have
smarter minds available to solve my problems.

Thanks!

Paul



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217692
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RegEx to grab title from referring page

2005-09-08 Thread Robert Redpath
I'm trying to grab the title from a referring page and not having much luck.  
 
I keep getting a  Bad regular expression  error.
 
This is what seems to be causing the error, but it seems like it should work. 
 
 cfset pageTitle = ReReplace(cfhttp.fileContent, 
.*title([^]*)/title.*, \1)
 
 
 
Any ideas?
 
Thanks, 
Bob
 
 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217693
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Need help with multiple insert action page, please

2005-09-08 Thread Mark Fuqua
Hey there,

Sorry for the newbie question, but...

I have a form that posts to an action page.  The form page is working like I
want it to.  It loops over a query and gives me a list of variables like
so...

variableA#i#
variableB#i#
variableC#i#

where the value of #i# will be usually 1-100 +/-

I am having difficulty with the action page.  I am guessing I need to use
evaluate(variableA, [#i#]) or something but I cannot get it to work for
nothing.


Here is what I have been trying to get to work (the action page):

!---set variables---

cfset areaId =
cfset jobId =
cfset areaName =
cfset laborStep =
cfset NumMin = 


!---loop over form variables---

cfloop index=i from=1 to=#form.maxValue#



cfset jobId = Evaluate(form.jobId[#i#])
cfset areaName =Evaluate(form.roomName[#i#])
cfset laborStep =evaluate(form.laborStep[#i#])
cfset NumMin =evaluate(form.NumMin[#i#])
cfset areaId = evaluate (form.areaId[#i#])

!---insert record---

cfquery name=JobSetup datasource=mdfinish
INSERT INTO LaborTracking (
 AreaId,
 JobId,
  AreaName,
 LaborStep,
 NumberMinutes
)
VALUES (
 #AreaId#,
 #JobId#,
 '#areaName#',
 '#laborStep#',
 #NumMin#
)

/cfquery
/cfloop




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217694
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: RegEx to grab title from referring page

2005-09-08 Thread Damien McKenna
 -Original Message-
 From: Robert Redpath [mailto:[EMAIL PROTECTED] 
 
  cfset pageTitle = ReReplace(cfhttp.fileContent, 
 .*title([^]*)/title.*, \1)

cfset pageTitle = ReReplace(cfhttp.fileContent,
(.*)title([^]*)/title(.*), \2) /

That should work?

-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include stdjoke.h

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217695
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Need help with multiple insert action page, please

2005-09-08 Thread Ian Skinner
Nope, evaluate is evil incarnate.  Ok it just has a really bad reputation, but 
99.999% of the time it is unnecessary.

The better way is to use the array form of the form variables.

cfset jobID = form[jobID  i] 
cfset areaName = form[roomName  i]


Unless you are doing this for OO reasons, I would just do this in the 
cfquery... block.

VALUES (
#form[roomName  i]#,
#form[jobId  i],



--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217696
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Simple CFC quesiton

2005-09-08 Thread Barney Boisvert
You should never* be referring to the form scope in a CFC.  You should
be doing structKeyExists(arguments, imageName) and if that returns
true, then use it.  If it returns false, you don't have the variable
to work with (regardless of whether it happens to exist in the 'form'
scope).  If it does exist in form, not in arguments, and you NEED to
have it, then it should be passed into the method.

cheers,
barneyb

* blah blah blah, never is never accurate, there are always exceptions.

On 9/8/05, Matthew Blatchley [EMAIL PROTECTED] wrote:
 When using arguments that are not required:
 
 cfargument name=imageName type=string required=no
 
 Why do we refer to the argument as #form.imageName# instead of
 #ARGUMENTS.imageName#, or does it not matter?
 
 Matt
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217697
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


passing list to CFC

2005-09-08 Thread Matthew Blatchley
Do I need to use an Array instead of a List when passing it in an argument 
to the CFC?

I've got a CFLOOP that uses a list with an index...should I find another 
way using an Array?




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217698
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Simple CFC quesiton

2005-09-08 Thread Matthew Blatchley
Is this structKeyExists(arguments, imageName) the same as 
IsDefined(ARGUMENTS.imageName)?

- Original Message - 
From: Barney Boisvert [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, September 08, 2005 3:41 PM
Subject: Re: Simple CFC quesiton


 You should never* be referring to the form scope in a CFC.  You should
 be doing structKeyExists(arguments, imageName) and if that returns
 true, then use it.  If it returns false, you don't have the variable
 to work with (regardless of whether it happens to exist in the 'form'
 scope).  If it does exist in form, not in arguments, and you NEED to
 have it, then it should be passed into the method.

 cheers,
 barneyb

 * blah blah blah, never is never accurate, there are always exceptions.

 On 9/8/05, Matthew Blatchley [EMAIL PROTECTED] wrote:
 When using arguments that are not required:

 cfargument name=imageName type=string required=no

 Why do we refer to the argument as #form.imageName# instead of
 #ARGUMENTS.imageName#, or does it not matter?

 Matt


 -- 
 Barney Boisvert
 [EMAIL PROTECTED]
 360.319.6145
 http://www.barneyb.com/

 Got Gmail? I have 100 invites.

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217699
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: passing list to CFC

2005-09-08 Thread Barney Boisvert
No, you can pass either into a CFC method.  Just make sure you've got
the right type defined in your CFARGUMENT tag (use 'string' for a
list, since a list is just a string with special delimitting
characters).

cheers,
barneyb

On 9/8/05, Matthew Blatchley [EMAIL PROTECTED] wrote:
 Do I need to use an Array instead of a List when passing it in an argument
 to the CFC?
 
 I've got a CFLOOP that uses a list with an index...should I find another
 way using an Array?
 
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217700
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Need help with multiple insert action page, please

2005-09-08 Thread Mark Fuqua
Dude,

Thank you very much.  I should learn to ask sooner.  I spent hours trying to
figure this out.  Like maybe six or seven hours.

Just out of curiosity, how does coldfusion know i is a variable?
#form[roomName  i]#

Thanks again,

Mark Fuqua

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 5:34 PM
To: CF-Talk
Subject: RE: Need help with multiple insert action page, please


Nope, evaluate is evil incarnate.  Ok it just has a really bad reputation,
but 99.999% of the time it is unnecessary.

The better way is to use the array form of the form variables.

cfset jobID = form[jobID  i]
cfset areaName = form[roomName  i]
.

Unless you are doing this for OO reasons, I would just do this in the
cfquery... block.

VALUES (
#form[roomName  i]#,
#form[jobId  i],
.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217701
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Simple CFC quesiton

2005-09-08 Thread Barney Boisvert
No.  Most of the time they'll be functionally identical, but the
former is what you want to use in nearly all cases.  It's more
performant, far less ambigious, and more clearly communicates what
you're doing.  For example isDefined(arguments.imageName) will
return true if you have a URL variable named arguments.imageName.

cheers,
barenyb

On 9/8/05, Matthew Blatchley [EMAIL PROTECTED] wrote:
 Is this structKeyExists(arguments, imageName) the same as
 IsDefined(ARGUMENTS.imageName)?
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217702
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


How to reload Java classes in CF server

2005-09-08 Thread Claude Schneegans
Hi,

it looks like the CF server is reading once for all Java classes it need 
the first time it needs it.
I explain:
I have a Java CFX tag (Yeah, at last! ;-).
It executes nirmally, fine, now I modify it, reload the page, and the 
modification does not show.
CF is still executing the previous version of the tag, EVEN if I delete 
the class file.
If I stop and restart the CF server, and reload the page, then the 
modification is seen.

It's really a PITA for the developer.
I hope there is another way to tell CF it should reload a new class file?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217703
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SPAM-LOW: Re: passing list to CFC

2005-09-08 Thread Matthew Blatchley
Oh yeah...that would make senseduh

- Original Message - 
From: Barney Boisvert [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, September 08, 2005 4:52 PM
Subject: SPAM-LOW: Re: passing list to CFC


 No, you can pass either into a CFC method.  Just make sure you've got
 the right type defined in your CFARGUMENT tag (use 'string' for a
 list, since a list is just a string with special delimitting
 characters).

 cheers,
 barneyb

 On 9/8/05, Matthew Blatchley [EMAIL PROTECTED] wrote:
 Do I need to use an Array instead of a List when passing it in an 
 argument
 to the CFC?

 I've got a CFLOOP that uses a list with an index...should I find 
 another
 way using an Array?



 -- 
 Barney Boisvert
 [EMAIL PROTECTED]
 360.319.6145
 http://www.barneyb.com/

 Got Gmail? I have 100 invites.

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217704
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >