Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Application set up wizard(Start Application Setup Wizard)
Application set up wizard [message #1850531] Mon, 07 March 2022 11:26 Go to next message
Eclipse UserFriend
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 04:13 Go to previous messageGo to next message
Eclipse UserFriend
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é
Re: Application set up wizard [message #1850875 is a reply to message #1850636] Sun, 20 March 2022 14:28 Go to previous message
Eclipse UserFriend
Hello,
Thank you, that works for me !
Anis

[Updated on: Sun, 20 March 2022 14:35] by 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: Wed Jun 25 01:52:02 EDT 2025

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

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

Back to the top