On 5/24/05, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote:
> I get back a blank page.  There is some whitespace (CR/LF's, tabs).

If you return a value from a CFC, it's only useful if you call it from
other CF code. If you attempt to call it via the browser as you are
doing, then the Servlet API encodes the result to WDDX so that it can
guarantee it's a string. Do View Source in your browser to see what's
happening.

> I'm trying to access the CFC directly and return XML data so that I
> can use it in an xmlhttp.request transaction to populate some form
> fields, sort of like Google suggest.

If you are trying to write to the HTTP response buffer (i.e., do
output) then specify returntype="void" otherwise you will have
problems.
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:207604
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

Reply via email to