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.


  1. thanks for the input it help me a great deal

  2. Thanks AmanicA,

    Your input helped a lot. I use Seam, IceFaces, Hibernate, etc for web application development. Mainly for monitoring idustrial process.

    Please let me know about youself.

    Nanda Motikane