incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renzo Tomaselli <>
Subject [Trinidad] missing FacesContext while deserializing
Date Tue, 19 Dec 2006 17:19:17 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Hi, once more while adapting to Trinidad an existing
application (Tomahawk + Facelets):<br>
a request-scoped bean LoginBean was made persistent across requests
through Tomahawk t:saveState.<br>
Thus LoginBean exports a deserialization method such as:<br>
private void readObject( aInputStream) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; FacesContext fc = FacesContext.getCurrentInstance();<br>
At application startup I see a LoginBean deserialized first, but there
is no FacesContext at that time, since fc = null.<br>
This used to work fine before extending web/faces-config to Trinidad.<br>
Any idea ?<br>
Thanks -- Renzo<br>

View raw message