Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A11B59970 for ; Tue, 10 Apr 2012 13:37:58 +0000 (UTC) Received: (qmail 3653 invoked by uid 500); 10 Apr 2012 13:37:57 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 3626 invoked by uid 500); 10 Apr 2012 13:37:57 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 3611 invoked by uid 99); 10 Apr 2012 13:37:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 13:37:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of d.o.m.e@gmx.net designates 213.165.64.23 as permitted sender) Received: from [213.165.64.23] (HELO mailout-de.gmx.net) (213.165.64.23) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Apr 2012 13:37:52 +0000 Received: (qmail 940 invoked by uid 0); 10 Apr 2012 13:37:31 -0000 Received: from 93.128.59.53 by www073.gmx.net with HTTP; Tue, 10 Apr 2012 15:37:29 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Tue, 10 Apr 2012 15:37:29 +0200 From: d.o.m.e@gmx.net In-Reply-To: Message-ID: <20120410133729.212320@gmx.net> MIME-Version: 1.0 References: <20120409142408.96520@gmx.net> Subject: Re: [Tobago] How to automatically maximize tc:page on initial view of applicaiton? To: "MyFaces Discussion" X-Authenticated: #3938644 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX18Iai1ZDNMInuK2lzos7Bgnzi2onSF7P2K/CqlgSH 5xkdOPHAXRIqLSBv8VahxE462+jqcjcZo/aA== Content-Transfer-Encoding: 8bit X-GMX-UID: zlL2b5QzeSEqZDV6V3QhuzJ+IGRvbwA7 X-Virus-Checked: Checked by ClamAV on apache.org Hi Volker, Thanks for your fast reply. An initializing page with a button is not desired, since I want my application to start right away, i.e. without user interaction. With regard to your Javascript suggestion, could you be a bit more specific what you have in mind? Currently, I have a JSP forward already, which is in the initially called "index.jsp": Could this be somehow exploited? Anyway, from your reply I read that the browser window dimensions are not available right from the beginning? What is the reason for that? Thanks again for your help, Dom -------- Original-Nachricht -------- > Datum: Tue, 10 Apr 2012 09:44:14 +0200 > Von: Volker Weber > An: MyFaces Discussion > Betreff: Re: [Tobago] How to automatically maximize tc:page on initial view of applicaiton? > Hi Dom, > > just put a initializing page in front of your app as startpage. > > The startpage could request the app page via javascript or button. > > > Regards, > Volker > > > Am 9. April 2012 16:24 schrieb : > > Dear all, > > > > I am working with Tobago 1.0.*. In general, the size of tc:page gets set > automatically to the size of the Browser window, which is a desired > behaviour. Thus, there is no need to specify the "width" and "height" properties. > However, this is *not* true, when the application is first loaded. In that > case, default width and height are used and not the actual browser window > size. > > > > What can I do, so that the size is always automatically determined, > right from the beginning? > > > > Thanks a lot for your help, > > Dom > > -- > > NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! > > Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a > > > > -- > inexso - information exchange solutions GmbH > Ofener Str. 30      | 26121 Oldenburg > Tel.: +49 441 219 730 0 | > FAX:  +49 441 219 730 66 | eMail: v.weber@inexso.de > > Firmensitz: Oldenburg | Amtsgericht Oldenburg HRB 205251 > Geschäftsführer: Stefan Schulte, Michael Terschüren -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de