You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/index.md
+94-1
Original file line number
Diff line number
Diff line change
@@ -337,4 +337,97 @@ public class DemoForm implements Serializable {
337
337
338
338
6- Demo Index
339
339
340
-

340
+

341
+
342
+
### Action
343
+
344
+
Actions are crucial in form screens. To add an action to your form, you have to use the [@Action](../src/main/java/io/asfjava/ui/core/form/Action.java) annotation.
345
+
346
+
| Properties | Type | Usage |
347
+
| ------------- |:-------------: | :-----|
348
+
| type | String | The action type |
349
+
| title | String | The action title |
350
+
| onClick | String | The client side function to fire when clicking on the tab |
351
+
352
+
The example below demonstrate how to use Action annotation.
Developer have the ability to group Actions. To add a group of actions to your form, you have to use the [@ActionsGroup](../src/main/java/io/asfjava/ui/core/form/ActionsGroup.java) annotation.
391
+
392
+
| Properties | Type | Usage |
393
+
| ------------- |:-------------: | :-----|
394
+
| value | Array of [@Action](../src/main/java/io/asfjava/ui/core/form/Action.java)| Array of actions |
395
+
396
+
The example below demonstrate how to use ActionsGroup annotation.
0 commit comments