Actually RequestIF is the interface that is implemented by the class Request. So its like I need to create a Request object... that code could have been written as:
RequestIF request = new Request(RequestIF.CC_AUTHORIZE); where Request implements RequestIF.... >> This is the piece of code that I am trying to rewrite in coldfusion : > >I'm certainly no Java expert, but the CF code you wrote doesn't match the >Java code you're trying to rewrite. I think you'll need to explicitly >initialize your RequestIF object: > ><cfset request = CreateObject("java", >"RequestIF").init(RequestIF.AUTHORIZE)> > >I'm not sure where you're getting your second class from. I'm not sure why >you'd need to pass a public property of an object to its own initialization, >either. > >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! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:212422 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