at the moment we use the Installation screen to display the installation progress and the currently running action (e.g. "Installing step 4").
As an additional information we would like to present the user informations, what happend before, e.g.:
Installed step 1 - ok
Installed step 2 - ok
Installed step 3 - ok
To do this we would need some kind of console (e.g. a text field / area) on the Installation screen below the progress bar. Is there a chance to do this?
Thanks!
Frank
Currently that's not easily possible. You could extend com.install4j.runtime.beans.screens.InstallationScreen and override the method protected void addScreenContent(JPanel panel, GridBagConstraints gc) to add more visual elements.
Update:
As Frank pointed out, you can just use a customizable form screen and add a "Progress display" component to it. In the "Post-activation script" property you would have to switch to the next screen automatically by calling
context.goForward(1, true, true);
Related
I tried get login into my account using this capabilities
Android version-7.0
Appium version - 1.71
java-client - 5.8.0
selenium-standalone server -3.52.0
1.first username, password entered successfully using selenium
2.while entering password soft keyboard was enabled but I did hide keyboard also
3.But I clicked login but it is passed but where it is clicked I don't know
(I thought it might be soft keyboard issue)
Please let me know why the action not performed.
Is a native app, hybrid, web? Paste what you got until now...
Anyway, if you searched the element before the software keyboard is hidden and you try to click it after the keyboard is not longer visible... Then you could have a problem.
Add a delay for a few seconds and search again for the element and try clicking
What are you using to hide keyboard? I guess -> driver.hide_keyboard() method? Have you tried doing click at X, Y coordinates like 10,10 that are obviously out of the keyboard(for example...). Or have you tried simulating terminal back button? -> driver.back()
If 1. and 2. are not working, why don't you try with capabilities -> 'unicodeKeyboard' and 'resetKeyboard' setted to true?
You will need to provide more information to be able to help. Then I will edit my answer with code and examples
I want the change Display Progress highlighted steps when proceeding to next actions within the same screen.
I tried the following java scripts to run after each action:
context.goForward(1, true, true);
or
context.getWizardContext().setWizardIndexKey("2");
But the steps wouldn't change. They change only when next screen is displayed.
Up to install4j 7.0.3, wizard steps can only change when the screen changes.
Thanks to your feedback, it will be possible in install4j 7.0.4 to call WizardContext#setWizardIndexKey and WizardContext#setWizardIndex in actions or form component event handlers with the intended effect.
Is it possible to hide the re-assign button in the workflow dialog box for the users? and if so how?
Thanks
my solution may not be the best one, but it works for me. I hid the button using CSS.
Just go to the Application Designer app and use Export system XML action from Select Action dropdown. Then pick LIBRARY XML and save it somewhere on your disk. Open it (using WordPad preferably, Notepad is causing some issues when importing back to Maximo) and CTRL+F find Complete workflow assignment dialog. Go down a bit and you'll see <pushbutton> with label Reassignment:
<pushbutton id="completewf_b_4" label="Reassign" mxevent="directorinput" value="reassign"/>
Add textcss="reassign_btn" (the name is up to you of course)
<pushbutton id="completewf_b_4" label="Reassign" mxevent="directorinput" textcss="reassign_btn" value="reassign"/>
Then save the file and import LIBRARY.xml back to the Maximo using Application Designer app again. Then just edit your maximo.css file (located somewhere in \applications\maximo\maximouiweb\webmodule\webclient\ depending on which skin you are using) and add:
.reassign_btn { visibility: hidden; }
Hope this helps :-)
could someone please tell me how to disable cancel button in a job's progress entry in Progress View tab in eclipse rcp application. i have not been able to locate any references on the web aside from the ones that suggest the use of ProgressMonitorDialog. using the dialog, however, is not an option, as the Progress View must remain in a form of a view.
i have come upon ProgressMonitorPart, which sounds like something that i can use. if that is the case, how do i go about passing it to Job.run(IProgressMonitor)?
thank you for your time!
You don't. You can call Job#setSystem() on your Job so it's hinted as not to be shown, but you don't get to spin off jobs that the user can't at least ask you to cancel. The stop button does little more than set the progress monitor as having been canceled--it's still up to your running Job to check the progress monitor and behave itself. Or not.
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fruntime_jobs_progress.htm
Basically, I want to go to the Installation Components screen, after one installation. Just like the dbca setup wizard.
Note the ID of the screen you want to go to, say "123", and call
context.gotoScreen(context.getScreenById("123"));
in a script, for example the validation expression of another screen.