[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Statusbar.outputAlert show PopUp centered  XML
Forum Index -> Development
Author Message
mreich

Power User
[Avatar]

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

Hi,

is there a possibilty to generally center the pop up called by Statusbar.outputAlert()?

Markus
[WWW]
CaptainCasa

Power User
[Avatar]

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

Hi,

currently it is opened "as close as possible" to the component that initiated the last call to the server. I believe that changing this behaviour will not be liked by all users...
But we can extend the interface of Statusbar by passing back the Popup instance for the alerts. Then you can access these popups just as normal modal popups and center/position them on your own.

Is a "mini-change" on our side, will be in next update.
You can prepare and isolate all your message outputs into a helper class that wraps the statusbar calls, so that you have to only change at one point within your code.

Björn

Björn Müller, CaptainCasa GmbH
mreich

Power User
[Avatar]

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

Thanx
[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team