Hi Hadrien,

You should definitely make sure you've turned on session support in
your app:

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0";>
  <application></application>
  <version>1</version>
  <sessions-enabled>true</sessions-enabled>
  <!-- Configure java.util.logging -->
  <system-properties>
    <property name="java.util.logging.config.file" value="WEB-INF/
logging.properties"/>
  </system-properties>
</appengine-web-app>


In general you can see how JSF is supported in GAE by checking this
page:
https://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine?pli=1

There's also this page as well focuses purely on JSF and GAE.

https://sites.google.com/a/wildstartech.com/adventures-in-java/Java-Platform-Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces-reference-implementation/configuring-jsf-20-to-run-on-the-google-appengine

Hope this helps,
-Chris


On Sep 2, 2:00 pm, hadf <hadrien.for...@gmail.com> wrote:
> I'm a newbie in JSF and AppEngine technology. I've created a simple
> form which redirect to a summary page that displays the form data. The
> trouble is that form data is lost during redirect as if session beans
> were not supported. So I would like to know how to deal with session
> data.
>
> Here is my JSF config :
> <managed-bean>
>         <managed-bean-name>user</managed-bean-name>
>         <managed-bean-class>fr.hadf.test.login.User</managed-bean-class>
>         <managed-bean-scope>session</managed-bean-scope>
> </managed-bean>
>
> And my AppEngine config :
> <sessions-enabled>true</sessions-enabled>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to