Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Wizard initial focus
Wizard initial focus [message #1220519] Thu, 12 December 2013 10:27 Go to next message
Thomas Weber is currently offline Thomas WeberFriend
Messages: 2
Registered: December 2013
Junior Member
Hi,

I'm having troubles with the initial focus of a Wizard.
Opening the wizard as a dialog, the first field gets the focus. When opening the wizard within a view (DISPLAY_HINT_VIEW) no focus is set.
How can I set the focus in second case?

Best regards,
Thomas

Scout Version: 3.9.1
Re: Wizard initial focus [message #1220766 is a reply to message #1220519] Fri, 13 December 2013 13:19 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 797
Registered: October 2011
Senior Member
Hi Thomas,

Nice to see you here, on this forum!

Have a look at: IFormField#requestFocus()

I had the same discussion yesterday with someone also asking this...
Focus handling is not the biggest strength of Eclipse Scout. If you think we should improve something in this domain, feel free to make a proposal...

Nb: From what I know, your project uses or will use 3.10. In particular 3.10.0-M4. If your sources indicates 3.9.1 this is not an official version because of all the patches your project has applied on your scout-fork.
Re: Wizard initial focus [message #1221001 is a reply to message #1220519] Mon, 16 December 2013 15:46 Go to previous messageGo to next message
Thomas Weber is currently offline Thomas WeberFriend
Messages: 2
Registered: December 2013
Junior Member
Hello Jeremie,

I tried IFormField#requestFocus() but the requestFocus is not accepted.
Shall I create a new Bug?
Re: Wizard initial focus [message #1223392 is a reply to message #1221001] Mon, 23 December 2013 08:52 Go to previous message
André Wegmüller is currently offline André WegmüllerFriend
Messages: 8
Registered: September 2012
Junior Member
I've opened a Bugzilla ticket for this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=424603

Summary: requestFocus does not work when displayHint of wizard is set to VIEW (default DIALOG works).
Previous Topic:Password decoding
Next Topic:Custom security filter calling a scout service
Goto Forum:
  


Current Time: Fri Nov 28 12:41:22 GMT 2014

Powered by FUDForum. Page generated in 0.01814 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software