Tuesday, March 31, 2009

myfaces-extval and icefaces

i did some quick tests with icefaces and extval.

behind the scenes icefaces does some tricks.
so it's required to deactivate 2 extval mechanisms. with this workaround a hello world icesfaces started working with myfaces extval.

#1: deactivate the extval el-resolver via web.xml context-parameter:


#2 switch or deactivate the default renderer proxy implementation via a extval-startup-listener.
deactivate it via:
protected void init()
ExtValContext.getContext().addGlobalProperty(ExtValRendererProxy.KEY, null);

i haven't tried more complex applications. you are welcome to try it out :)
if you find some issues please report them.