Hi Bjorn,
try to disable serializing the state with the corresponding
MyFaces-parameter in your web.xml.
Use:
<context-param>
<description>Only applicable if state saving method is "server" (= default).
If true (default) the state will be serialized to a byte
stream before it
is written to the session.
If false the state will not be serialized to a byte
stream.</description>
<param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
<param-value>false</param-value>
</context-param>
regards,
Martin
On 10/21/06, Bjørn T Johansen <[EMAIL PROTECTED]> wrote:
I just discovered something else from the myfaces log, namely..:
21.10.2006 21:27:15,099 DEBUG ValueBindingImpl -
getValue(ref=appCtxSelections.trykkformatList)
21.10.2006 21:27:15,099 DEBUG ApplicationImpl - Couldn't find a factory for
appCtxSelections
21.10.2006 21:27:15,099 DEBUG VariableResolverImpl - resolveVariable: Resolved
variable:null
21.10.2006 21:27:15,099 DEBUG ValueBindingImpl - getValue Result:[EMAIL
PROTECTED],
[EMAIL PROTECTED], javax.faces.model.Selec [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] 21.10.2006
21:27:15,099 DEBUG ValueBindingImpl -
getValue(ref=appCtxSelections.trykkformatList) 21.10.2006 21:27:15,099 DEBUG
ApplicationImpl - Couldn't find a factory for appCtxSelections 21.10.2006
21:27:15,099 DEBUG VariableResolverImpl -
resolveVariable: Resolved variable:null 21.10.2006 21:27:15,099 DEBUG
ValueBindingImpl - getValue
Result:[EMAIL PROTECTED], [EMAIL PROTECTED], javax.faces.model.Selec [EMAIL
PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED] 21.10.2006 21:27:15,099 DEBUG ValueBindingImpl -
getValue(ref=orderBean.ordre.trykkformatid)
appCtxSelections is a spring bean and not jsf managed bean and I am using the
following in my faces-config.xml
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
which, if I have understood it correctly, would first try to resolve the bean
in jsf context and then search for it in the spring
context....
This, as I have said, works ok in JSF RI..
BTJ
On Sat, 21 Oct 2006 15:23:19 -0400
"David Friedman" <[EMAIL PROTECTED]> wrote:
> From the error it is describing a problem with a comment inside one of your
> panelgroups. Try following the f:verbatim suggestion from your logs (show
> immediately below) or try removing the comments. Whatever it is the item
> cannot be serialized for state saving in /protected/log/fortrykk.jsp item
> grpWo (inside formOrder) or item grpWO. This section of your trace should
> have got you into the right place to figure it out:
>
> javax.faces.component.html.HtmlPanelGroup,Id: grpWORepeat]}renders it's
> children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for
> nested HTML. For comments use <%/* */%> style JSP comments instead of
> <!-- --> style HTML comments.
> BodyContent:
>
> 21.10.2006 20:40:53,687 - Component with id 'content:formOrder:grpWO'
> (org.apache.myfaces.taglib.html.HtmlPanelGroupTag tag) and path :
> {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId:
> /protected/log/fortrykk.jsp][Class:
> javax.faces.component.html.HtmlPanelGrid,Id: _idJsp0][Class:
> javax.faces.component.UIColumn,Id: _idJsp27][Class:
> javax.faces.component.UINamingContainer,Id: content][Class:
> javax.faces.component.html.HtmlForm,Id: formOrder][Class:
> com.exadel.htmLib.components.UITable,Id: _idJsp30][Class:
> javax.faces.component.html.HtmlPanelGroup,Id: _idJsp31][Class:
> javax.faces.component.html.HtmlPanelGroup,Id: grpWO]}renders it's children,
> but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML.
> For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML
> comments.
> BodyContent:
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces