Runtime log4j configuration using commons-logging

Since some time I run several instances of the same application on a tomcat server. This is the poor man’s approach of multi-tenancy, I’d prefer to change the application to really support multiple tenants, but that’ll take some time.

The main problem...

Read the rest...

Convert serialized Apex Object to Javascript Object

I recently had the problem that I wanted to pass a variable from a Visualforce page to a Visualforce component and assign it to the component’s controller.

So far so good, no problems at all, but then I wanted the controller’s variable to be updated...

Read the rest...

Resolve incoming conflicts with SVN automatically

OK, you might expect that I have the killer tool that really solves merge conflicts automatically, but this one-liner is much simpler.

I sometimes update my local sandbox from the SVN repository and it happens that I get merge conflicts for some reasons...

Read the rest...

Cross Domain Popup opener reload

A couple of days ago I had the problem that I needed to reload the opener from a popup window. Thought that it should be a breeze. Simply call opener.reload() and I’m done. Far from it!

The parent and popup window have different domains and therefore...

Read the rest...