Robert,

      I would add a classloader to the mix for the people who can't drop
jars on
there classpath.

It's two years old
http://groups.yahoo.com/group/java_coldfusion_hacks/message/53?l=1

follow up
http://groups.yahoo.com/group/java_coldfusion_hacks/message/54?l=1

My last solution was with prepareStatements java.sql.Date. It turns out you
can
just use java.util.Date.

Does anyone know why Calender needs getInstance() method?

// get milliseconds and adjust for java starting at zero

<cfset c = CreateObject("java", "java.util.Calendar").getInstance()>
<cfset c.clear()>
<cfset c.set(c.YEAR, DateFormat(Now(), "yyyy"))>
<cfset c.set(c.MONTH, evaluate(DateFormat(Now(), "mm") - 01))>
<cfset c.set(c.DATE, DateFormat(Now(), "dd"))>

<cfset date = CreateObject("java", "java.sql.Date").init(c.getTime
().getTime())>

<cfset application.update_webservicedb.setDate(2,date)>

<cfset updated = application.update_webservicedb.executeUpdate()>


On 6/16/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>
> > If you are interested I have a function that takes a csv of tiff images
> > and creates a .pdf from them using iText, blogged about it at
> > http://www.cfcode.net/blog/index.cfm/2006/6/6/Using-iText-to-create-a-PD
> > F-from-multiple-TIFF-images#comments
> >
> > - Chris
>
> .....same here ;-)
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
> ----- Original Message -----
> From: "Peterson, Chris" <[EMAIL PROTECTED]>
> To: "CF-Talk" <cf-talk@houseoffusion.com>
> Sent: Thursday, June 15, 2006 6:06 AM
> Subject: RE: Announcing ColdPDF
>
>
> > If you are interested I have a function that takes a csv of tiff images
> > and creates a .pdf from them using iText, blogged about it at
> > http://www.cfcode.net/blog/index.cfm/2006/6/6/Using-iText-to-create-a-PD
> > F-from-multiple-TIFF-images#comments
> >
> > - Chris
> >
> > -----Original Message-----
> > From: Robert Everland III [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 15, 2006 8:24 AM
> > To: CF-Talk
> > Subject: Announcing ColdPDF
> >
> > I have decided to create an open source CFC that will allow everyone to
> > take advantage of the iText libraries whether you have CF 6 or CF 7. I
> > have added what functions I have needed but there are so many things
> > that can be done with the iText library I would like to call on the
> > community to get other functions you have created on your own that you
> > would like to share with the rest of the community. So far here is what
> > I have.
> >
> >
> > fillInForm(sourcePDF, query, destinationPDF) - Fills in a pdf with
> > values from a query. Returns the name and path of newly created PDF.
> >
> > Planning to add
> > listPDFFields(sourcePDF) - List names of fields, also want to return
> > other attributes such as size and type of field.
> >
> > So if you have something to contribute just reply to this email or
> > contact me offline. Once we get a few more functions I will release it.
> > Keep in mind this is also for CF 6 so if you have a function that merely
> > duplicates the functionality of CFDocument that would be great.
> >
> >
> >
> > Bob
> >
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243757
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

Reply via email to