how to cfoutput from com.allaire.cfx. methods
Hi ppl i have to make some changes in a CFX tag , and i need to cfoutput something inside the CFX , anyone knows what method i can use?.. or betten than that a url with fully documentation about cfx.jar greetings. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209972 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: how to cfoutput from com.allaire.cfx. methods
Hi David, You can use the .write() function of the Response Object. e.g: reponse.write(This is some bbold/b text from the custom tag.); In the class declaration which inherits from the Custom Tag Interface, the Response and Request objects are passed in which you use to recieve and send data to and from your CFX. Regards, Dan. David Manriquez wrote: Hi ppl i have to make some changes in a CFX tag , and i need to cfoutput something inside the CFX , anyone knows what method i can use?.. or betten than that a url with fully documentation about cfx.jar greetings. ~| 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:209973 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
RE: how to cfoutput from com.allaire.cfx. methods
Thanks Now I have this problem in the same issue. I have a method public String[] getColumns(HSSFSheet hssfsheet, boolean flag) and inside this. Query query = Response.addQuery(output,mycolumns); And the complier says that addquery isn't static , but I didn't defined the method as Static.. :-S Thanks in advance. David Manriquez [EMAIL PROTECTED] (+56-2) 43 00 155 -Mensaje original- De: Daniel Mackey [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 20 de Junio de 2005 9:31 Para: CF-Talk Asunto: Re: how to cfoutput from com.allaire.cfx. methods Hi David, You can use the .write() function of the Response Object. e.g: reponse.write(This is some bbold/b text from the custom tag.); In the class declaration which inherits from the Custom Tag Interface, the Response and Request objects are passed in which you use to recieve and send data to and from your CFX. Regards, Dan. David Manriquez wrote: Hi ppl i have to make some changes in a CFX tag , and i need to cfoutput something inside the CFX , anyone knows what method i can use?.. or betten than that a url with fully documentation about cfx.jar greetings. ~| 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:209976 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: how to cfoutput from com.allaire.cfx. methods
Not sure what version you need, but these are the docs for 6.1 http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/cfxref_j.htm Its been a while since I did anything with a cfx but according to the docs here you can use the write method to output. http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/cfxrea25.htm HTH Kola -Original Message- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: 20 June 2005 13:28 To: CF-Talk Subject: how to cfoutput from com.allaire.cfx. methods Hi ppl i have to make some changes in a CFX tag , and i need to cfoutput something inside the CFX , anyone knows what method i can use?.. or betten than that a url with fully documentation about cfx.jar greetings. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209978 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: how to cfoutput from com.allaire.cfx. methods
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Manriquez wrote: I have a method public String[] getColumns(HSSFSheet hssfsheet, boolean flag) and inside this. Query query = Response.addQuery(output,mycolumns); And the complier says that addquery isn't static, but I didn't defined the method as Static.. Request is an interface. When you did Query query = Response.addQuery(output, mycolumns); Java assumes that you are looking for a class method (although interfaces can't have them) on the Response interface. What you need to do is pass the response object passed into processRequest() to getColumns(). Your method signature for that method would become: public String[] getColumns(Request request, HSSFSheet hssfsheet, boolean flag) And you'd call addQuery() as follows: Query query = response.addQuery(output, mycolumns); When you call getColumns(), it'd look something like this: public void processRequest(Request request, Response response) { // ... columns = getColumns(request, sheet, flag); // ... } K. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCttvjmSWF0pzlQ04RAtZDAJsGRD/khGrlVQiGOyOMIh7kzEfDPQCbBRQ6 OzpRStmBUhsc5hmKzyjEL/Q= =1Qei -END PGP SIGNATURE- ~| 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:209983 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