Hi!
java.lang.ClassCastException:
org.apache.myfaces.shared_impl.renderkit.html.util.DummyFormRequestInfo
        at
org.apache.myfaces.shared_tomahawk.renderkit.html.util.DummyFormUtils.getDummyFormParameters(DummyFormUtils.java:121)
        at
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBodyEnd(ExtensionsPhaseListener.java:109)
        at
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.getCodeBeforeBodyEnd(ExtensionsPhaseListener.java:93)
        at
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.renderCodeBeforeBodyEnd(ExtensionsPhaseListener.java:83)
        at
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java

The above exception is the current status of my try to get the dummyForm
working again.
So what happens here.

Depending on which module is requesting the dummy form at first, it
differs which DummyFormRequestInfo class will be put into the request map.
It can be the shared_impl..DummyFormRequestInfo or
shared_tomahawk...DummyFormRequestInfo

Now that the ExtensionsPhaseListener is in tomahawk it has to work with
shared_tomahawk and thus awaits a shared_tomahawk...DummyFormRequestInfo.
If this is not the case the above CCE will happen.

Well, now I am lost.

I cant take the dummyForm stuff out of shared as shared itself requires it.
And it doesnt help to put the ExtensionsFilter stuff in shared as then
is still makes a difference if you configure the suff for shared_impl or
shared_tomahawk, the above CCE still happens.

Any idea?
Ciao,
Mario

Reply via email to