[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
React on Browser (Window) resizing  XML
Forum Index -> Development
Author Message
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

Hi,

is there a possibility to react on windows resizing?
My goal is to do a roundtrip when the browser window is resized.

regards
Markus
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

Hi,

yes... - inside a PANE you can place a SIZETRANSFER component. This one tells the server about the current size. So place a corresponding PANE into your outest dialog.

If SIZETRANSFER-FLUSH is set to "true" then changes are immediately transferred, otherwise (as usual...) with the next roundtrip.

You can also categorize sizes e.g. e.g. small=upTo400, medium=upTo800, big=upTo100000. In this case the size is not transferred with every pixel resizing, but only if category changes.

In the demo workplace there are examples:
Containers > transfer of actual size
Containers > adaptive containers > Size transfer

Kind regards! Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team