yeah, sorry Adam my example earlier should have been a $ not : between
the classes.





On Apr 26, 8:15 pm, MrBuzzy <[EMAIL PROTECTED]> wrote:
> Howdy,
>
> There's an old article here on inner 
> classes;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19580
>
> Also I have seen syntax something like this, but I haven't ever tried it;
>
> <cfobject type="JAVA"
>   action="Create"
>   name="xxx"
>   class="OuterThing$InnerThing">
>
> Also, if you're interested I can provide you with a java wrapper class to
> create Lucene Fields as I've already been down that road.
>
> Cheers.
>
> On 4/26/07, Grant Straker <[EMAIL PROTECTED]> wrote:
>
> > You do it the same way you do in Java
>
> > <cfset
> > createobject("component","org.apache.lucene.document.Field:Index")>
>
> > I pretty sure you'll still have some problems though as CF won't
> > recognise the static value of the Field. My experience is that with
> > Lucene 2 you need to write a complete java wrapper and not try and do
> > it all in CF.
>
> > Grant
>
> > On Apr 26, 5:34 am, "Andrew Scott" <[EMAIL PROTECTED]> wrote:
> > > Hmmm,
>
> > > Actually a good point, but as they are not inner classes and are
> > > constructors / methods have you tried
>
> > > myClass.Field(arg1);
> > > myClass.Field(arg1,arg2);
>
> > > ??
>
> > > On 4/26/07, Adam Cameron <[EMAIL PROTECTED]> wrote:
>
> > > > G'day
> > > > How does one - in CF - refer to an inner class (ClassFoo.Bar) of a
> > > > given
> > > > class (ClassFoo), when the constructor of ClassFoo takes an argument
> > > > of
> > > > type ClassFoo.Bar?
>
> > > > For example the first, third,fourth and fifth constructors shown here:
> > > >http://tinyurl.com/hfg9s(org.apache.lucene.document.Field).
>
> > > > Any ideas?
>
> > > > --
> > > > Adam
>
> > > > (PS: first posted to the Adobe CF forums:http://tinyurl.com/2r3w84)
>
> > > --
>
> > > Senior Coldfusion Developer
> > > Aegeon Pty. Ltd.www.aegeon.com.au
> > > Phone: +613  8676 4223
> > > Mobile: 0404 998 273


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to