Wednesday, 23 December 2009

Why can't icefaces give proper error messages? II

After days of searching and experimentation it seems that its not possible to dynamically import
a .jspx file into another (one which is loaded from a jar, and the src location is supplied by the backing bean).

I'm trying to embed iframes now, but as soon as the iframes render, icefaces freezes up and does not send any events again. The only clue was this javascript error:
Error: no element found
Source File: http://localhost:17080/EbrWeb/block/receive-updated-views
Line: 1

After searching and a hunch that concurrently loading jspx pages breaks icefaces, I looked at the portlet sample

I found that if I include the following in my web.xml, it works! Hurray!

This makes sense because I want to load several iceface pages in iframes in my main page.

Thursday, 10 December 2009

Why can't icefaces give proper error messages?

SEVERE: StandardWrapperValve[Persistent Faces Servlet]: PWC1406: Servlet.service() for servlet Persistent Faces Servlet threw exception
java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: null

was trying to tell me:

<ice:tree> needed to be encapsulated inside an <ice:form>.

Tuesday, 1 December 2009


"a plus", short for "a plus tard" (French, pronounced ah-plu-tar), that is "see you later".
Used to end an informal email, or a chat. Equivalent to "C U"

You can listen to the pronunciation here: