|
Re: Registration page [message #1840549 is a reply to message #1840539] |
Mon, 19 April 2021 05:40 |
|
Hi Mark
You could work with deep-link handlers. Check the interface IDeepLinkHandler and the OutlineDeepLinkHandler as an example. These handlers are built to do something in the Scout model when a certain URL-pattern is called. The handler for the outlines activates the correct outline in the Scout model for instance when this URL is called:
/contacts/?dl=outline-22561&i=search
You could do something like that for your registration page, implement a RegistrationDeepLinkHandler and call it like this:
/contacts/?dl=registration
The typical code to open a form, depends on whether you want to open a modal dialog or a view, but usually you simply use the start() method of the form, which handles all the details with the desktop:
PersonForm form = new PersonForm();
form.setHandler(form.new RegistrationHandler());
form.start();
Cheers,
André
Eclipse Scout Homepage | Documentation | GitHub
|
|
|
|
Powered by
FUDForum. Page generated in 0.03338 seconds