You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (Issue Comment Edited) (JIRA)" <de...@myfaces.apache.org> on 2011/11/13 01:29:51 UTC
[jira] [Issue Comment Edited] (EXTCDI-239) Expire RestScoped beans
if it's used in different views
[ https://issues.apache.org/jira/browse/EXTCDI-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147779#comment-13147779 ]
Gerhard Petracek edited comment on EXTCDI-239 at 11/13/11 12:27 AM:
--------------------------------------------------------------------
#1
please add more details about the big benefit compared to the view-scope (besides the support of jsf 1.2).
losing the state only after a navigation via get sounds confusing for users
(e.g. someone refactors a view and uses a h:link instead of a h:commandLink and the behaviour of a scope changes doesn't sound like a nice idea).
#2
we don't need RestParameters#isPostback.
we already have RequestTypeResolver#isPostRequest
#3
please add the reason for using "//" as separator - that's yet another new separator in the code-base
was (Author: gpetracek):
#1
please add more details about the big benefit compared to the view-scope (besides the support of jsf 1.2).
losing the state after a navigation >in any case< violates the idea of conversations and it's actually one of the biggest issues with the view-scope.
#2
we don't need RestParameters#isPostback.
we already have RequestTypeResolver#isPostRequest
#3
please add the reason for using "//" as separator - that's yet another new separator in the code-base
> Expire RestScoped beans if it's used in different views
> -------------------------------------------------------
>
> Key: EXTCDI-239
> URL: https://issues.apache.org/jira/browse/EXTCDI-239
> Project: MyFaces CODI
> Issue Type: Bug
> Components: JEE-JSF12-Module, JEE-JSF20-Module
> Affects Versions: 1.0.2
> Reporter: Marcus Büttner
> Assignee: Mark Struberg
> Priority: Minor
>
> I have to views (viewA and viewB) and both use the same model. If I change the view from A to B via GET the old model should be expired.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira