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
(ICEfaces-1.8.2-src/icefaces/samples/portlet/location/web/WEB-INF/web.xml).

I found that if I include the following in my web.xml, it works! Hurray!
<context-param>
<param-name>com.icesoft.faces.concurrentDOMViews</param-name>
<param-value>true</param-value>
</context-param>

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>.

http://seamframework.org/Community/ProblemWithIceTree#comment101040

Tuesday, 1 December 2009

A+

"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"
http://www.urbandictionary.com/zazzle.products.php?defid=1461004

You can listen to the pronunciation here: http://www.forvo.com/word/a_plus_tard/