Messages posted by keulche
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: keulche  XML
Profile for keulche -> Messages posted by keulche [4]
Author Message
Have a look at my recent post "Icefaces and Facelets".
Originally there is a classcastexception that would be mapped to an IllegalStateException
Hi all,

I spent a lot of time in facelets with icefaces. I think it 's time to get help.
My environment is configured like in the example of booking-faces with spring web flow 2.0.3 and icefaces 1.8.2. I use jsf 1.2 with the impl of myfaces. Before I have tested it with the impl of com.sun.faces but there is the same error.
I've debugged the application and seen that the Instance for the FacesContext is not instance of Brigded FacesContext so there is a ClassCastException.
How could I get the BridgeFacesContext running. It seems the appliaction does not use the iceface-instanciation?

thanks christian
hi thx,

but that didn't help me.

My Solution:
I've used an iframe and reloaded it from the Mbean before returning the action.

Code:
 
 public String myMethod(){
 
 ...
 //as last part the reload of the method reload the iframe
 JavascriptContext.addJavascriptCall(FacesUtil.getFacesContext(), "ReloadIframe();");
 
 return the action;
 
Hi,
I would like to load a inner HTML-page from a bean-property (String).
The problem is that this page has its own stylesheet, so that the outer page-stylesheet manipultes the inner, at the moment.
I have tested it with an iframe but I get in trouble with reloading the iframe, so a iframe doesn't work.
The only thing that works is the <ice:inputRichText /> tag, but its very oversized for viewing only.
An other problem is, if a HTML-tag of the inner page isn't not closed correctly so the outer page will also be broken.

Thanks for help

chris

 
Profile for keulche -> Messages posted by keulche [4]
Go to:   
Powered by JForum 2.1.7ice © JForum Team