You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2018/09/06 08:30:00 UTC
[jira] [Comment Edited] (TOBAGO-1927) PageState width/height should
be used for layout, if defined
[ https://issues.apache.org/jira/browse/TOBAGO-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605461#comment-16605461 ]
Udo Schnurpfeil edited comment on TOBAGO-1927 at 9/6/18 8:29 AM:
-----------------------------------------------------------------
An alternative might be putting the ClientProperties in the "view" scope. Put this into your faces-config.xml
{code}
<managed-bean>
<managed-bean-name>tobagoClientProperties</managed-bean-name>
<managed-bean-class>org.apache.myfaces.tobago.context.ClientProperties</managed-bean-class>
<managed-bean-scope>view</managed-bean-scope>
</managed-bean>
{code}
was (Author: lofwyr):
An alternative might be putting the ClientProperties in the "view" scope. Put this into your faces-config.xml
{code}
<managed-bean>
<managed-bean-name>tobagoClientProperties</managed-bean-name>
<managed-bean-class>org.apache.myfaces.tobago.context.ClientProperties</managed-bean-class>
<managed-bean-scope>view</managed-bean-scope>
</managed-bean>
{code}
> PageState width/height should be used for layout, if defined
> ------------------------------------------------------------
>
> Key: TOBAGO-1927
> URL: https://issues.apache.org/jira/browse/TOBAGO-1927
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core, Themes
> Affects Versions: 2.1.1
> Reporter: Udo Schnurpfeil
> Assignee: Udo Schnurpfeil
> Priority: Major
> Fix For: 2.2.0
>
>
> The PageState is deprecated, but needs to used for layout computation, if is set.
> This is helpful to write clean multi-window applications.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)