| << Back to previous view |
[QB-4261] Create a bean plugin
|
|
| Status: | Open |
| Project: | QuickBuild |
| Component/s: | None |
| Affects Version/s: | 14.0.37 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Phong Trinh | Assigned To: | Robin Shen |
| Resolution: | Unresolved | Votes: | 0 |
| Remaining Estimate: | Unknown | Time Spent: | Unknown |
| Original Estimate: | Unknown | ||
| Environment: | Linux | ||
| File Attachments: |
|
| Description |
|
I am developing a plugin with the following requirements:
A multi-select field that includes: Build Enable Regression Test Suite If "Enable Regression Test Suite" is selected, a second multi-select field named Test Categories should become available. The script is as in the attached file; however, visible or refresh are not available in v15. Any suggestion is appreciated. |
| Comments |
| Comment by Robin Shen [ 27/Mar/26 12:44 AM ] |
| The property "refresh" and "visible" of editable annotation of your class is not available in official QB release. Seems that you've customized QB, and we are not able to support mishaviors related to customization. |
| Comment by Phong Trinh [ 27/Mar/26 01:18 AM ] |
|
Thank you for the clarification, Robin!
Since the refresh and visible properties are not available in the official QuickBuild release, could you please advise if there are any recommended alternatives or workarounds to achieve similar behavior (e.g., dynamically updating or conditionally showing fields in the UI)? We are trying to implement conditional visibility based on user selections in a plugin, so any guidance or best practices would be greatly appreciated. |
| Comment by Robin Shen [ 28/Mar/26 11:36 PM ] |
|
The only approach is to define a base class with multiple sub classes like in the demo:
https://code.onedev.io/quickbuild/~files/16.0.x/com.example.promptbean/src/com/example/promptbean When user selects different sub class, different fields will be presented. |