Few days ago I was searching for a solution to the problem I’ve encountered – I needed to prevent a third party page to break out of iframe inside a web page of my web application. For people who are not closely familiar with JavaScript, the following JS snippet will make it more clear how [...]
Read Full Post »
Posted by Alexander Zagniotov in: design patterns, javascript on Mar 29th, 2009 16:37
In my previous post I attempted to generate PDF on the fly using iText library. My goal was to parse HTML snippet into PDF. Unfortunately, as I discovered iText alone is not powerful enough as HTML parser. iText is not flexible enough to manipulate the CSS. Its understandable, since iText‘s main functionality is PDF generation [...]
Read Full Post »
Posted by Alexander Zagniotov in: java, pebble on Mar 28th, 2009 10:23
I had some time during this weekend, so I used iText, free Java-PDF library to make a plug in for Pebble blogging software. This plug in now allows to export blog entries to PDF document. I liked this library, except one thing – converting HTML snippets to PDF. The library allows you to set styles [...]
Read Full Post »
Posted by Alexander Zagniotov in: java, pebble on Mar 22nd, 2009 20:07
Its quite common when you create an application, there is a need to create an audit trail on the application level where all entity insert, update and delete events are logged. In this post, I would like to describe a simple approach that can help you to avoid littering with unnecessary statements in your application [...]
Read Full Post »
Posted by Alexander Zagniotov in: hibernate, java, xml on Mar 8th, 2009 15:42