CFDocument Header Not Responding to Font-Size
Hey Everyone - Just wondering if other people can duplicate this: If I put this in my CFDocument: div style=font-family:Arial,sans-serif;font-weight:bold;font-size:36px;I am in the Body/div The text fonts, weights, and sizes correctly. If I put this in my CFDocumentitem type=header (inside my CFDocument): div style=font-family:Arial,sans-serif;font-weight:bold;font-size:36px;I am in the Header/div The text fonts and weights, but does not size (size is default size). If this can be duplicated, is this a bug, is this something I can work around (and if yes, what would be the process to work around this problem?). Thanks - Stephen ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305060 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
chroot and ColdFusion multiserver
Has anyone implemented chroot in their multiserver installation? I am wondering how sandbox security is affected. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305061 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Refreshing CFPod Contents
Is there a way to programmatically refresh the contents of a CFPod similar to the way you can call the GridRefresh method to refresh the grid. OR Is there a way to set a refresh time for a pod? Thanks, Michael ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305062 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
writing to ms excel with jexcel
Hi i have been using jexcel to read documents and it is working great. i got my first initial example from someone on this forum however, i now need to create a new ms excel file and write data to it all with jexcel. i know its possible as the jexcel provides the instructions (http://www.andykhan.com/jexcelapi/tutorial.html#writing) but they are all in java and not in coldfusion, and i am not that good yet to know how to translate the java instructions to coldfusion instructions i have found many tutorials on how to read data from excel using jexcel but not 'writing data' specifically using coldfusion does anyone know of any tutorials i can go through, or would anyone be kind enough to provide me with a translation of the java instructions into coldfusion please :) i know its just a few lines of code, basically creating a new excel document, writing cells, and writing and closing the document thanks very much for any help you can give me richard ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305063 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDocument Header Not Responding to Font-Size
Stephen, I've run into something similar before and solved the problem by putting the CSS in the body. Example: cfdocument type=pdf cfdocumentitem type=headerdiv id=headerh1I am in the header/ h1/h1/cfdocumentitem style type=text/css div#header h1{font-size:36px; font-family: Arial,Helvetica,sans-serif;} /style div id=content I am in the Body /div /cfdocument HTH, Jon On May 11, 2008, at 3:52 AM, Stephen Cassady wrote: Hey Everyone - Just wondering if other people can duplicate this: If I put this in my CFDocument: div style=font-family:Arial,sans-serif;font-weight:bold;font-size: 36px;I am in the Body/div The text fonts, weights, and sizes correctly. If I put this in my CFDocumentitem type=header (inside my CFDocument): div style=font-family:Arial,sans-serif;font-weight:bold;font-size: 36px;I am in the Header/div The text fonts and weights, but does not size (size is default size). If this can be duplicated, is this a bug, is this something I can work around (and if yes, what would be the process to work around this problem?). Thanks - Stephen ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305064 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: writing to ms excel with jexcel [heur SPAMTRAP]
On Sun, 11 May 2008 10:13:09 -0400 (EDT), Richard White [EMAIL PROTECTED] wrote: kind enough to provide me with a translation of the java instructions into coldfusion please :) cfscript outFile = createObject(java, java.io.File).init(e:\temp\excel\test.xls); workBook=createObject(java,jxl.Workbook).createWorkbook(outFile); labelObj=createObject(java,jxl.write.Label); numberObj=createObject(java,jxl.write.Number); sheet = workBook.createSheet(First Sheet, 0); thisLabel=labelObj.init(0,0,happy happy gizmo); sheet.addCell(thisLabel); thisNumber=numberObj.init(0, 1, 3.1459); sheet.addCell(thisNumber); workbook.write(); workbook.close(); /cfscript ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305065 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: writing to ms excel with jexcel [heur SPAMTRAP]
thanks very much paul, it works perfectly :) thanks again richard kind enough to provide me with a translation of the java instructions into coldfusion please :) cfscript outFile = createObject(java, java.io.File).init(e:\temp\excel\test.xls); workBook=createObject(java,jxl.Workbook).createWorkbook(outFile); labelObj=createObject(java,jxl.write.Label); numberObj=createObject(java,jxl.write.Number); sheet = workBook.createSheet(First Sheet, 0); thisLabel=labelObj.init(0,0,happy happy gizmo); sheet.addCell(thisLabel); thisNumber=numberObj.init(0, 1, 3.1459); sheet.addCell(thisNumber); workbook.write(); workbook.close(); /cfscript ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305066 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: writing to ms excel with jexcel [heur SPAMTRAP]
hi paul, thanks again for this just one more thing then i have everything i need :) there are sections in the documentation that allows for number formatting and date formatting such as: WritableCellFormat integerFormat = new WritableCellFormat (NumberFormats.INTEGER); Number number2 = new Number(0, 4, 3.141519, integerFormat); sheet.addCell(number2); WritableCellFormat floatFormat = new WritableCellFormat (NumberFormats.FLOAT); Number number3 = new Number(1, 4, 3.141519, floatFormat); sheet.addCell(number3); NumberFormat fivedps = new NumberFormat(#.#); WritableCellFormat fivedpsFormat = new WritableCellFormat(fivedps); Number number4 = new Number(2, 4, 3.141519, fivedpsFormat); sheet.addCell(number4); // Get the current date and time from the Calendar object Date now = Calendar.getInstance().getTime(); DateFormat customDateFormat = new DateFormat (dd MMM hh:mm:ss); WritableCellFormat dateFormat = new WritableCellFormat (customDateFormat); DateTime dateCell = new DateTime(0, 6, now, dateFormat); sheet.addCell(dateCell); and i have noticed that you translated it to: labelObj=createObject(java,jxl.write.Label); numberObj=createObject(java,jxl.write.Number); thisLabel=labelObj.init(0,0,happy happy gizmo); sheet.addCell(thisLabel); thisNumber=numberObj.init(0, 1, 3.1459); sheet.addCell(thisNumber); therefore how would you translate this formatting stated above thanks very much richard kind enough to provide me with a translation of the java instructions into coldfusion please :) cfscript outFile = createObject(java, java.io.File).init(e:\temp\excel\test.xls); workBook=createObject(java,jxl.Workbook).createWorkbook(outFile); labelObj=createObject(java,jxl.write.Label); numberObj=createObject(java,jxl.write.Number); sheet = workBook.createSheet(First Sheet, 0); thisLabel=labelObj.init(0,0,happy happy gizmo); sheet.addCell(thisLabel); thisNumber=numberObj.init(0, 1, 3.1459); sheet.addCell(thisNumber); workbook.write(); workbook.close(); /cfscript ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305067 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Avoid multiple form submits.
There is a workaround for this on my blog www.revolutionwebdesign .com/blog Search around you should find it in there Tw On 5/9/08, Robert Rawlins [EMAIL PROTECTED] wrote: Hello Guys, I've got an issue with a form which is sometimes a little slow to process. Seems that some of the users are clicking the submit button a whole bunch of times and we're getting a few problems arise as a result of it. How are you tackling this problem? presumably something with jQuery would be nice but I wanted to get your thoughts. Any ideas and code examples welcome :-D Robert ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305068 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: writing to ms excel with jexcel [heur SPAMTRAP]
therefore how would you translate this formatting stated above cfscript outFile = createObject(java, java.io.File).init( e:\temp\excel\test.xls ); workBook=createObject(java,jxl.Workbook).createWorkbook(outFile); labelObj=createObject(java,jxl.write.Label); numberObj=createObject(java,jxl.write.Number); sheet = workBook.createSheet(First Sheet, 0); thisLabel=labelObj.init(0,0,happy happy gizmo); sheet.addCell(thisLabel); thisNumber=numberObj.init(0, 1, 3.1459); sheet.addCell(thisNumber); NumberFormats = createObject(java, jxl.write.NumberFormats); WritableCellFormat = createObject(java, jxl.write.WritableCellFormat); Number = createObject(java, jxl.write.Number); DateFormat = createObject(java, jxl.write.DateFormat); DateTime = createObject(java, jxl.write.DateTime); Calendar = createObject(java, java.util.Calendar); NumberFormat = createObject(java, jxl.write.NumberFormat); integerFormat = WritableCellFormat.init( NumberFormats.INTEGER ); number2 = Number.init( 0, 4, 3.141519, integerFormat ); sheet.addCell( number2 ); floatFormat = WritableCellFormat.init( NumberFormats.FLOAT ); number3 = Number.init( 1, 4, 3.141519, floatFormat ); sheet.addCell( number3 ); // note, # signs are escaped/doubled for CF fivedps = NumberFormat.init(##.##); fivedpsFormat = WritableCellFormat.init( fivedps ); number4 = Number.init( 2, 4, 3.141519, fivedpsFormat ); sheet.addCell( number4 ); // Get the current date and time from the Calendar object now = Calendar.getInstance().getTime(); customDateFormat = DateFormat.init( dd MMM hh:mm:ss ); dateFormat = WritableCellFormat.init( customDateFormat ); dateCell = DateTime.init( 0, 6, now, dateFormat ); sheet.addCell( dateCell ); workbook.write(); workbook.close(); WriteOutput(Done); /cfscript ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305069 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
VMWare Open BlueDragon image made available
Good news! The following post went up about 1 hour ago: VMWare Open BlueDragon image made available http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made- available/http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made-available/ See download link in page at the link above. Note that the download is of a zip that is 1GB. Happy CF'ing! [image: :-)] g ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305070 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: writing to ms excel with jexcel [heur SPAMTRAP]
excellent, thanks very much :) works fine!!! therefore how would you translate this formatting stated above cfscript outFile = createObject(java, java.io.File).init( e:\temp\excel\test.xls ); workBook=createObject(java,jxl.Workbook).createWorkbook(outFile); labelObj=createObject(java,jxl.write.Label); numberObj=createObject(java,jxl.write.Number); sheet = workBook.createSheet(First Sheet, 0); thisLabel=labelObj.init(0,0,happy happy gizmo); sheet.addCell(thisLabel); thisNumber=numberObj.init(0, 1, 3.1459); sheet.addCell(thisNumber); NumberFormats = createObject(java, jxl.write.NumberFormats); WritableCellFormat = createObject(java, jxl.write.WritableCellFormat); Number = createObject(java, jxl.write.Number); DateFormat = createObject(java, jxl.write.DateFormat); DateTime = createObject(java, jxl.write.DateTime); Calendar = createObject(java, java.util.Calendar); NumberFormat = createObject(java, jxl.write.NumberFormat); integerFormat = WritableCellFormat.init( NumberFormats.INTEGER ); number2 = Number.init( 0, 4, 3.141519, integerFormat ); sheet.addCell( number2 ); floatFormat = WritableCellFormat.init( NumberFormats.FLOAT ); number3 = Number.init( 1, 4, 3.141519, floatFormat ); sheet.addCell( number3 ); // note, # signs are escaped/doubled for CF fivedps = NumberFormat.init(##.##); fivedpsFormat = WritableCellFormat.init( fivedps ); number4 = Number.init( 2, 4, 3.141519, fivedpsFormat ); sheet.addCell( number4 ); // Get the current date and time from the Calendar object now = Calendar.getInstance().getTime(); customDateFormat = DateFormat.init( dd MMM hh:mm:ss ); dateFormat = WritableCellFormat.init( customDateFormat ); dateCell = DateTime.init( 0, 6, now, dateFormat ); sheet.addCell( dateCell ); workbook.write(); workbook.close(); WriteOutput(Done); /cfscript ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305071 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: VMWare Open BlueDragon image made available
Greg, Good deal. Could you provide any more info on the centos distro? A gig sounds like it is a Desktop install. Is it one of the existing VM's form VMWares Virtual Appliances Center or a custom install? Any admin tools on it like webmin or is it a pure command line interface? Many TIA, G On Sun, May 11, 2008 at 3:23 PM, greg h [EMAIL PROTECTED] wrote: Good news! The following post went up about 1 hour ago: VMWare Open BlueDragon image made available http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made- available/http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made-available/ http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made-available/ See download link in page at the link above. Note that the download is of a zip that is 1GB. Happy CF'ing! [image: :-)] g ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305072 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF Report Builder Questions
So I'm new to report builder and full of question. I guess I'll start out easy and work my way up. In my header I need to have a letter head display only on the first page. In the field Print when condition I added calc.PAGE_NUMBER = 1 Now the template throws an error. How do I only display content on certain pages? I need to doe the same thing with page numbers in the footer when calc.PAGE_NUMBER 1. Additionally, I have a bunch of sub reports. Sometimes the queries that drive these reports will not have any content, so I need for them to not display, I also need the paragraph number scheme not to get messed up. Each major section that is displayed needs to increment the number, but the number needs to not increment for those reports where recordCount eq 0. Is this possible? TIA ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: VMWare Open BlueDragon image made available
Also an FYI Peter from the Open BD steering committee has been hard at work getting AMI's set up as well: CentOS 5 Ready2Run AMI: ami-274faa4e Fedora Core 6 Ready2Run AMI: ami-014da868 http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=101 Enjoy! And don't forget to check out OpenBluDragon.org and the group if you have questions. Adam Haskell On Sun, May 11, 2008 at 4:36 PM, Gerald Guido [EMAIL PROTECTED] wrote: Greg, Good deal. Could you provide any more info on the centos distro? A gig sounds like it is a Desktop install. Is it one of the existing VM's form VMWares Virtual Appliances Center or a custom install? Any admin tools on it like webmin or is it a pure command line interface? Many TIA, G On Sun, May 11, 2008 at 3:23 PM, greg h [EMAIL PROTECTED] wrote: Good news! The following post went up about 1 hour ago: VMWare Open BlueDragon image made available http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made- available/ http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made-available/ http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made-available/ See download link in page at the link above. Note that the download is of a zip that is 1GB. Happy CF'ing! [image: :-)] g ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305074 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Report Builder Questions
This is ColdFusion remember Change calc.PAGE_NUMBER = 1 to calc.PAGE_NUMBER eq 1 Regards Dale Fraser http://learncf.com http://flexcf.com -Original Message- From: Loathe [mailto:[EMAIL PROTECTED] Sent: Monday, 12 May 2008 10:15 AM To: CF-Talk Subject: CF Report Builder Questions So I'm new to report builder and full of question. I guess I'll start out easy and work my way up. In my header I need to have a letter head display only on the first page. In the field Print when condition I added calc.PAGE_NUMBER = 1 Now the template throws an error. How do I only display content on certain pages? I need to doe the same thing with page numbers in the footer when calc.PAGE_NUMBER 1. Additionally, I have a bunch of sub reports. Sometimes the queries that drive these reports will not have any content, so I need for them to not display, I also need the paragraph number scheme not to get messed up. Each major section that is displayed needs to increment the number, but the number needs to not increment for those reports where recordCount eq 0. Is this possible? TIA ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305075 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: VMWare Open BlueDragon image made available
Adam, you guys rock. I am hoping to have some cycles to spare in the near future Just saying open source cfml gives me the gibblies. G On Sun, May 11, 2008 at 9:05 PM, Adam Haskell [EMAIL PROTECTED] wrote: Also an FYI Peter from the Open BD steering committee has been hard at work getting AMI's set up as well: CentOS 5 Ready2Run AMI: ami-274faa4e Fedora Core 6 Ready2Run AMI: ami-014da868 http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=101 Enjoy! And don't forget to check out OpenBluDragon.org and the group if you have questions. Adam Haskell On Sun, May 11, 2008 at 4:36 PM, Gerald Guido [EMAIL PROTECTED] wrote: Greg, Good deal. Could you provide any more info on the centos distro? A gig sounds like it is a Desktop install. Is it one of the existing VM's form VMWares Virtual Appliances Center or a custom install? Any admin tools on it like webmin or is it a pure command line interface? Many TIA, G On Sun, May 11, 2008 at 3:23 PM, greg h [EMAIL PROTECTED] wrote: Good news! The following post went up about 1 hour ago: VMWare Open BlueDragon image made available http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made- available/ http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made-available/ http://blog.sixsigns.com/2008/05/11/vmware-open-bluedragon-image-made-available/ See download link in page at the link above. Note that the download is of a zip that is 1GB. Happy CF'ing! [image: :-)] g ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305076 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4