Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
We can use getUrlParams method from StringUtil to help us parse parameters passed in in with URL query parameters syntax.
Always has your We need to always have our Joget Workflow Source Code ready and builded by following this guideline.
Let said my folder directory as following. This The following of this tutorial is prepared with a Macbook Pro and Joget Source Code version 5.0.0. Please refer to Guideline of developing a plugin for for other platform command.
Let said our folder directory as following.
Code Block |
---|
- Home - joget - plugins - jw-community -5.0.0 |
The "plugins" directory is the folder I we will create and store all my our plugins and the "jw-community" directory is where the Joget Workflow Source code stored.
...
Then, the shell script will ask you us to key in a version for your plugin and ask you us for confirmation before generate the maven project.
Code Block | ||
---|---|---|
| ||
Define value for property 'version': 1.0-SNAPSHOT: : 5.0.0 [INFO] Using property: package = org.joget.tutorial Confirm properties configuration: groupId: org.joget.tutorial artifactId: beanshell_hash_variable version: 5.0.0 package: org.joget.tutorial Y: : y |
You We should get "BUILD SUCCESS" message shown in your our terminal and a "beanshell_hash_variable" folder created in "plugins" folder.
...
We are using AppPluginUtil.getMessage method to display i18n value for our getLabel and getDescription method. We will have to create a message resource bundle properties file for it. Create directory "resources/messages" under "beanshell_hash_variable/src/main" directory. Then, create a "BeanShellHashVariable.properties" file in itthe folder.
In our properties file, we will need to add the key we had used.
...
But, this way has a problem, which is it shown "Welcome ," without an username when the user is an anonymous.
...
When user is logged in, it shown the message correctly.
When no user is logged in, it did not show the welcome message.
...