Here are my XPages Java presentation and files from AdminDev2012 May 15-17, 2012, in Washington, D.C.
Extending Your XPages Applications with Java
- Learn how to use Core Java, external JAR files, and custom Java classes with XPages
- Learn how to use the new Java design element
- Create PDF and Excel files using Java
- Understand the code steps needed to call Web services from XPages
Russ,
It was a great presentation. I've had some time to catch up on my work and get back to looking at this. I'm trying to use it, but I'm guessing my problems are due to not having Apache Ant or POI in my classpath. Since I'd be deploying it only via Notes databases, what would I put into my script libraries or Java design elements to make this work (since I won't be manually adding it to anyone's local drive, just putting it in the database.)
Thanks!
Dave
So, of course, after I post, I figure out it's in there already (had to review the presentation to see where) and my actual problem was that it wasn't picking up the environment variable "Directory". Once I hard-coded that to C:/Temp, my problems went away and it worked as advertised.
Excellent.
Hello Russ,
We tried another way of exporting data to excel without storing the file on the local when you and Paul were in Melbourne for advanced xpages. Will you be able to add that code here??
Regards
Prashant
Yeah, I'm beating my head against the wall trying to export without saving to the local drive. I got some hints and ideas via StackOverflow, but I just haven't been able to make it happen.
I have sample code that does that. Please post your email address and I'll send it to you.
Thanks Paul, please send it to prashant.bhavsar@gmail.com
Paul, my email is navarre_dave@yahoo.com