[ 
https://issues.apache.org/jira/browse/TOBAGO-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Udo Schnurpfeil resolved TOBAGO-1249.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   2.0.0-alpha-1
                   1.5.10

Now you can use in EL: #{tobagoContext.pageDimension.width.pixel - 100}
                
> The size/dimension of the page should be accessible via TobagoContext
> ---------------------------------------------------------------------
>
>                 Key: TOBAGO-1249
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1249
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 1.5.10, 2.0.0-alpha-1, 2.0.0
>
>
> This might be helpful when e. g. setting the width of a popup.
> A workaround is using 
>   <tc:popup 
> width="#{facesContext.viewRoot.children[0].attributes['width'].pixel - 100}">
> But children[0] might not be the page (depending of the design of the sides).

--
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

Reply via email to