This content has been marked as final.
Show 2 replies
-
1. Re: Getting started with RESTful stateless application
cosmo Oct 9, 2009 4:40 PM (in response to mschmidke)2a. What do you mean by
event scoped page bean restores some state when the page is posted.
May be this is a browser cache issue. Did you try with autocomplete=off in h:inputText?3. h:outputLink renders a simple <a href> tag, but you have to specify the whole path.
-
2. Re: Getting started with RESTful stateless application
mschmidke Oct 9, 2009 6:13 PM (in response to mschmidke)2a. In my page bean, I have a reference to an entity. On the first request, it's loaded by ID using a request parameter. But on the second request - when the form is submitted -, the entity reference is somehow simply "there". So the bean must have somehow been in the session, but it is explicitly event scoped and I don't want it in the session. (In fact, I don't have a problem with the bean in the session [except that it's something I don't understand], but I don't want to run into problems when the user session times out between the first (GET) and second (POST) request.)