[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
focus handling when new window is opened  XML
Forum Index -> Development
Author Message
moebus

Power User

Joined: 21/11/2007 12:49:18
Messages: 93
Offline

We open a new workpage in its own window via #addWorkpageAsPopup.
We want the input cursor to go to a certain text field in the new view.

This does not work, from the Client log the following lines can be seen:

| **********(RF) CCFOCUSSETTER: org.eclnt.client.elements.impl.FIELDElement$MyTextField/org.eclnt.client.elements.impl.FIELDElement@993203

| **********(RF) CCFOCUSSETTER: org.eclnt.client.elements.impl.FIELDElement$MyTextField/org.eclnt.client.elements.impl.FIELDElement@993203

| **********(RF) CCFOCUSSETTER: org.eclnt.client.elements.impl.FIELDElement$MyTextField/org.eclnt.client.elements.PageElementColumn$MyWindowListner@1733582

| **********(RF) CCFOCUSSETTER: org.eclnt.client.elements.impl.FIELDElement$MyTextField/org.eclnt.client.elements.impl.FIELDElement@993203

| **********(RF) CCFOCUSSETTER: org.eclnt.client.elements.PageElementPopup$MyFrame/org.eclnt.client.elements.impl.MODELESSPOPUPElement@15c918a

-------------------------------------------------------
so apparently there is a fight between the Focus-to-textfield and Focus-to-new-popup, and the latter wins.
Not sure if this ever worked, but I suppose so - the code to set initial focus in some of our views is found in rather old classes.

Regards
Manfred
CaptainCasa

Power User
[Avatar]

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

Hi Manfred,

uuuh, focus problems are the nicest ones! ;-)
Will check + fix!

Regards, Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

fyi: can reproduce the issue... - Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

...problem is fixed, I'll contact you because of solution... - Björn

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