On Monday, Nov 25, 2002, at 14:32 US/Pacific, Joe Eugene wrote:
> Here is an Example that works with CFMX. The Java file should be
> compiled
> under WEB-INF/classes/
> ...
> if(c.equalsIgnoreCase("null")) cat=null; else cat=c;
> if(s.equalsIgnoreCase("null")) schPattern=null; else schPattern=s;
> if(t.equalsIgnoreCase("null")) tblNPattern=null; else tblNPattern=t;
But Dick's point is that you cannot natively pass null into Java - you
are currently forced to write a Java wrapper class as you have done. I
would like to see CFMX be able to pass null to Java correctly but I
suspect it wouldn't be trivial to do (adding 'null' to a language that
doesn't have it has a semantic impact right across the language because
you have to define in every case what happens in an expression if one
of your sub-expressions is null).
Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.corfield.org/blog/
Introducing Macromedia Contribute. Web publishing for everyone.
Learn more at http://www.macromedia.com/contribute
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm