Gary: Thank you, I'm running Sun Java System Application
Server 8.2 and I'll check the classpath for the domain in the
morning.
--Todd
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 09, 2006 10:30 PM
To: MyFaces Discussion
Subject: RE: There is a string "com.sun.faces.saveStateFieldMarker" on my screen, even though my managed bean implements Serializable?
>From: "Todd Patrick" <[EMAIL PROTECTED]>
>
> Gary: Thank you.
>
> What I am really confused about is how do I get to that information on:
>
> http://myfaces.apache.org/impl/apidocs/index.html
>
> There is no clear link to the CONSTANTS information and examples of how to use
> them.
>
> How do I properly use?
>
> ""
>
>
> Gary: Thank you.
>
> What I am really confused about is how do I get to that information on:
>
> http://myfaces.apache.org/impl/apidocs/index.html
>
> There is no clear link to the CONSTANTS information and examples of how to use
> them.
>
> How do I properly use?
>
> ""
>
You don't direcly use them. They are markers that are written into
the rendered output from the JSF form component. The Form and View JSP
tags are required by the JSF runtime. The marker is then replaced
with a hidden html input tag that is an
encoded serialized representation of the component's state for
the page. The JSF view tag does this parsing.
This trick is needed in JSF 1.1 because the JSP components build the
component tree and invoke rendering versus building the entire tree and then
invoking rendering.
Since you are seeing this maker in the page,
it most likey indicates that the Sun RI Form component added it
but the Myfaces View Tag was looking for the other
marker. Most app servers are prepackaged with the RI
JSF jars that are self registering by the fact that they are in the
classpath.
My guess is that the JSF RI jars are in the classpath and you
have a mix of JSF runtimes. I've seen this with WAS 6 and I just had
to delete the RI jars for the servers lib folder.
Gary
> Thanks,
>
> --Todd
>
> ________________________________
>
> From: Gary VanMatre [mailto:[EMAIL PROTECTED]
> Sent: Tue 5/9/2006 4:55 PM
> To: MyFaces Discussion
> Subject: Re: There is a string "com.sun.faces.saveStateFieldMarker" on my
> screen, even though my managed bean implements Serializable?
>
>
> >From: "Todd Patrick" [EMAIL PROTECTED]
> >There is a string "com.sun.faces.saveStateFieldMarker" on my screen,
> >even though my managed bean implements Serializable?
> >
> >In my web.xml, I do have the context:
> >
> >
> > javax.faces.STATE_SAVING_METHOD
> > client
> >
> >Thoughts or suggestions are greatly appreciated.
>
> You have a mix of the myfaces runtime and th e RI r untime. The marker above is
> the RI marker. Myfaces uses a form marker of
> "".
>
> The ViewTag handles adding the hidden input state to the form in JSF 1.1.
>
>
> >Thanks,
> >--Todd
>
> Gary
>
>

