Sending HTML Email with Wicket part II: Converting links

In my previous post, I showed how you can use Wicket‘s HTML rendering engine to render HTML emails by faking a request/response cycle. In this post, I’ll show you how to use an IVisitor to change image and anchor URLs to be absolute instead of relative. This is absolutely essential in order to make yourContinue reading “Sending HTML Email with Wicket part II: Converting links”

Render a Wicket page to a string for HTML email

Something that’s very desirable to do in Apache Wicket is create HTML emails using Wicket’s brilliant component-oriented markup. I’ve been working on this problem on and off for ages — it’s tricky because of teh way that markup rendering is so deeply tied to the requestcycle, which in turn is deeply dependent on the httpservletrequestContinue reading “Render a Wicket page to a string for HTML email”