IE9 / IE10 CSS shadow not rendered

Yesterday I got the problem that IE does not render the box-shadow property. After a while a figgured out that the property „border-collapse: collapse;“ for a surrounding table prevents the rendering. I got the property inherited from a stylesheet of a JS Framework. After manipulating my css to the following configuration:

.shadowed {
   -moz-box-shadow: 0 0 5px 5px #DDD;
   -webkit-box-shadow: 0 0 5px 5px #DDD;
   box-shadow: 0 0 5px 5px #DDD;
   border-collapse: separate;

it also works for IE, Safari, and Firefox. Thanks to thirtydot who gives me the right clue.

Read More

JAXB and CDATA Sections

Because I spended a few hours for that, I decided to write a small blog post about that. The challenge was to create a JAXB implementation independent solution for writing CDATA sections with a JAXB marshaller. There are a lot of solutions out there but they are not satisfying me. A lot of them reference the MOXy CDATA annotation or using the Apache XMLSerializer. They are either not implementation independent, does not work, reference deprecated code or have other pitfalls.  The following solution fixes these by using a custom implementation of and has not 3rd party library dependencies. Only the classes of the Java 6 JDK are used. The solution is able to create the following xml:

<test xmlns="" msg="foo">

(mehr …)

Read More

Portlet Spring Vaadin Integration

Based on blog post from Nicolas Frankel I created the same class which works with portlets. So the method getNewApplication returns an application which is created via Spring.

import javax.portlet.PortletConfig;
import javax.portlet.PortletException;
import javax.portlet.PortletRequest;
import org.springframework.context.ApplicationContext;
import org.springframework.web.portlet.context.PortletApplicationContextUtils;
import com.vaadin.Application;
import com.vaadin.terminal.gwt.server.AbstractApplicationPortlet;
public class SpringApplicationPortlet extends AbstractApplicationPortlet
   private Class<? extends Application> clazz;
   public void init(PortletConfig config) throws PortletException
      ApplicationContext appContext = PortletApplicationContextUtils.getWebApplicationContext(config.getPortletContext());
      Application application = appContext.getBean("application", Application.class);
      clazz = application.getClass();
   protected Class<? extends Application> getApplicationClass() throws ClassNotFoundException
      return clazz;
   protected Application getNewApplication(PortletRequest request) throws PortletException
      ApplicationContext appContext = PortletApplicationContextUtils.getWebApplicationContext(request.getPortletSession()
      return appContext.getBean("application", Application.class);
Read More

Ordered Adobe Lightroom3

Found a nice deal on for a full version of Lightroom 3. I want to use it not because of my big camera equipment (a Panasonic DMC-FX500), nor to start a career as photographer but for managing my photos and to remove small unbeautiful things like red eyes or a overexposure.

Read More

It is shipped!

I received a mail:

Dear Michael Ernst,

We are pleased to send you this dispatch regarding your Apple Store order W289XXXXXX.

Your Delivery Reference Number is 813XXXXXX.

We expect your order to be delivered to your shipping address on or before 27.09.2010.

So I think it will be in my hand at the end of the next week.

Read More

The plan to buy an iPhone in Strasbourg is canceled

I ordered it today on the apple website in the United Kingdom. It should be deliverd in 4 weeks. Let’s see! To handle the no address in UK problem I used borderlinx from DHL. They provide me an address in UK, so I can place my order.

Update: We estimate your order to be shipped 04 Oct, 2010.

Read More

The plan: buy an iPhone 4 in Strasbourg

I’m looking for a new smartphone. My old one, a 5 years old Xda from my carrier O2 is loosing the memery and all phone numbers etc. all the time I forgot to load the phone. This is very cumbersome. So I decided to buy a new one, an iPhone. I will not buy it at the local carrier t-mobile and their very expensive contracts.

Costs at t-mobile:

  • Monthly rate: 59,95 * 24 months: 1438,80 €
  • 32 GB iPhone 4: 199,95 €
  • Service charge: 24,95
  • Price per minute: 0,29 € (when not t-mobile)

So where can I buy an iPhone else? I googelt a lot and first I thought I buy it in the Glattzentrum close to Zurich. But than I thought why should I buy it in a country which is not part of the EU and to pay value added tax for it at the border again. So I decided to look for countries which are part of the EU and sell iPhones without any sim-locks and hey I could buy it in France. Next month I have an appointment 50 km away from Strasbourg so I googelt again and than I found lots of sites which describes where you can buy it in Strasbourg. I found a good link to a shop locator of apple:

The page lists the following shops for Strasbourg:

  • FNAC Srasbourg
    La Maison Rouge – 22, Place Kléber
    Tel:  (+33) 03 88 52 21 21
    Tagged as an Apple shop
    14BIS, Rue de la Mesange
    Tel: (+33) 03 88 22 78 87
    Tagged as a premium reseller
    18 Quai St Nicolas
    Tel: (+33) 03 88 25 84 88

A car park is next to Place Kléber:

  • Vincie Park Services
    24 Rue du Fossé des Tanneurs
    (+33) 03 88 23 14 30

Read More