I am trying to show the edges in my render but it is not working.

To see what I mean, I am trying to create the same result as the image below in Blender render.

Of course I did some research. I came across this question but when I follow the instructions of the answers, my objects just disappear if I render.

So, is there somebody who can help me out with rendering the edges?

desired result