XPages: Rendering Based on Error Messages