[richfaces-planning-issues] [JBoss JIRA] (RFPL-3267) Create tests for stateless views
Lukáš Fryč (JIRA)
issues at jboss.org
Wed Feb 5 05:44:28 EST 2014
[ https://issues.jboss.org/browse/RFPL-3267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12941446#comment-12941446 ]
Lukáš Fryč commented on RFPL-3267:
----------------------------------
Note that in order to make a component work in stateless mode, the top-level view needs to be marked as {{transient="true"}}.
I think we are able to achieve this by use of an EL expression e.g. <f:view transient="#{applicationBean.viewTransient}" />.
Metamer can be then run in two modes: transient and non-transient, but one needs to be aware of @ViewScoped beans (they should behave as @RequestScoped).
> Create tests for stateless views
> --------------------------------
>
> Key: RFPL-3267
> URL: https://issues.jboss.org/browse/RFPL-3267
> Project: RichFaces Planning
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Reporter: Matej Novotny
> Labels: jsf22
>
> Based on RFPL-2506, we need to test that our components work with _stateless views_ which were introduced in JSF 2.2.
> We could probably reuse test pages from Metamer with just some tempering.
> For more information on _stateless views_ see [this|http://jdevelopment.nl/jsf-22/#1055] page.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-planning-issues
mailing list