> objects using <cfobjects> but I can't use my own class files
If you only have read access to these Java Objects...you are stuck!.
if your ISP.. will let you add a few line of code.. your problem is solved!.
> Maybe I could figure out an alternative digging JRE 1.3's docs
JRE has nothing to do with parsing.. "null" strings into Java(null).
To translate the type conversion.. you have to set the instance variable
of the object.. checking for string "null" something like
public class TranslateNulls{
private String str;
public void setStr(String s){
if(s.equals("null"))
str=null;
else
str = s;
}
}
Joe
> -----Original Message-----
> From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 13, 2002 4:31 PM
> To: CF-Talk
> Subject: Re: Pass "null" to a Java object?
>
>
> > Again.. Listen to the question...
> > Massimo's comment were to the effect...
> > ">from CFML and I am forced to do everything with plain CFML."
> >
> > HE CANNOT WRITE JAVA OBJECTS BUT CAN USE THEM?
>
> Yes, because I am on a server (shared hosting) where I can
> instantiate Java
> objects using <cfobjects> but I can't use my own class files
>
>
> > All he needs to do is modify that Java Class to handle "null" as strings
> and
> > convert them to Java null
>
> I can't modify the Java Class, I have to use plain vanilla CFML
> and what the
> JRE 1.3 can provide.
> I am not using my own classes (am not allowed) and can't write a wrapper
>
> Maybe I could figure out an alternative digging JRE 1.3's docs
> better, but I
> guess the issue may arise in different scenarios
>
> Massimo
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at http://www.coolfusion.com