Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Application set up wizard(Start Application Setup Wizard)
Application set up wizard [message #1850531] Mon, 07 March 2022 16:26 Go to next message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 134
Registered: June 2014
Location: Paris
Senior Member
Hello,
I have a requirement where application should display a wizard ( or an initial form ) at first start where the initial setup of application is done. The user should not have access to any outline while the setup is not finished.
If any one made this before please share !
Thanks in advance
Anis
Re: Application set up wizard [message #1850636 is a reply to message #1850531] Fri, 11 March 2022 09:13 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
Hi

I'd try something like this:

- You need a flag on your application user, like "setupCompleted" true/false - add a column for that in your 'user' table in the database
- Check the state of the flag in Desktop#execInit and set a variable like m_setupMode=true/false
- Use setHeaderVisible(false) and setNavigationVisible(false) to hide the header and the navigation if m_setupMode is true
- You might also need skip loading/activation of default views when m_setupMode is true
- If m_setupMode is true, open a SetupWizardForm and display it as a view in the Desktop bench (which makes the form use the full screen, because header and navigation is not visible)
- When setup is done, update the flag in the database, close the setup form, show header and navigation again and load the default view.

Cheers
André


Eclipse Scout Homepage | Documentation | GitHub
Re: Application set up wizard [message #1850875 is a reply to message #1850636] Sun, 20 March 2022 18:28 Go to previous message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 134
Registered: June 2014
Location: Paris
Senior Member
Hello,
Thank you, that works for me !
Anis

[Updated on: Sun, 20 March 2022 18:35]

Report message to a moderator

Previous Topic:How to upload a PDF file to a web page, get the PDF fields values and render them into the same web
Next Topic:Calling a Scout Web Service from URL
Goto Forum:
  


Current Time: Tue Oct 08 06:12:18 GMT 2024

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

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

Back to the top