-
1. Re: Facelets XHTML refresh problem
meurisse Dec 5, 2007 7:41 AM (in response to mail.micke)I have the same problem, which is quite annoying.
When I restart a session, the page is displayed normally, but it is still annoying to restart a session a lot.
It looks like only (some) richfaces components have this problem.
Joel -
2. Re: Facelets XHTML refresh problem
mail.micke Dec 5, 2007 9:25 AM (in response to mail.micke)Hi Joel
What do you mean with "restart a session"? Resetting the user session somehow? -
3. Re: Facelets XHTML refresh problem
lmk Dec 5, 2007 9:56 AM (in response to mail.micke)I have the same problem
did you found any solution?
can the problem be relatad to IE cache? -
4. Re: Facelets XHTML refresh problem
meurisse Dec 5, 2007 11:02 AM (in response to mail.micke)Yes, indeed, we have a 'log out' button in our application which invalidates the http session. Opening a new browser does also the trick of course. (But somehow it does not work using the menu "File-new-window" of IE, you have to open a new IE via the OS... And firefox does not handle more than 1 session at all, even opening a new window....)
I don't think that it is a cache problem. I don't think it is necessary to disable the IE cache, but I did anyway during development.
Joel -
5. Re: Facelets XHTML refresh problem
mail.micke Dec 5, 2007 11:46 AM (in response to mail.micke)Interesting solution to invalidate the session, might have to implement that.
Perhaps you could post on the facelets users mailing list about having this problem as well? Hopefully the facelets developers will reply if more people complain about this...
You can register here
https://facelets.dev.java.net/servlets/ProjectMailingListList
Mike -
6. Re: Facelets XHTML refresh problem
mail.micke Dec 6, 2007 6:29 AM (in response to mail.micke)Hi all
I've got some exiting news!
Just switched from myfaces-1.1.5 the latest JSF RI (or Mojarra as it is called these days) and after some quick tests of changing the content of ouputTexts and commandButtons I it is refresing !!!!
Which JSF impl are you using?
- Mike -
7. Re: Facelets XHTML refresh problem
lmk Dec 10, 2007 5:22 AM (in response to mail.micke)"mail.micke@gmail.com" wrote:
Hi all
I've got some exiting news!
Just switched from myfaces-1.1.5 the latest JSF RI (or Mojarra as it is called these days) and after some quick tests of changing the content of ouputTexts and commandButtons I it is refresing !!!!
Which JSF impl are you using?
- Mike
myfaces-1.1.5-impl..
you talk about switching myfaces to sun JSF or only upgrade the JSF RO API ? -
8. Re: Facelets XHTML refresh problem
mail.micke Dec 10, 2007 5:35 AM (in response to mail.micke)Hi
what I did was switch to the latest JSF 1.2 release from sun, replaced both jar files.
You have to do that and add a listener in web.xml. (I also had to remove tldCache.ser files since they contained a myfaces context listener reference).
Haven't yet tried the myfaces 1.2-SNAPSHOT which I was asked to do on the facelets mailinglist, but I'll try and do that shortly.
- Mike -
9. Re: Facelets XHTML refresh problem
lmk Dec 10, 2007 8:46 AM (in response to mail.micke)thanks mike.
Im using facelets and there is only a draft version for JSF 1.2..so I cannot switch to JSF 1.2..Im waiting for a release version.. -
10. Re: Facelets XHTML refresh problem
mail.micke Dec 10, 2007 9:07 AM (in response to mail.micke)Hi Imk,
The JSF RI 1.2 has bee released for a long time now and seems quite mature. It is a FCS release (First Customer Ship) which I belive is the same as final release.
Have a look here:
https://javaserverfaces.dev.java.net/servlets/NewsItemView?newsItemID=5558