History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-4261
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Phong Trinh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Create a bean plugin

Created: Thursday 02:45 AM   Updated: Yesterday 11:36 PM
Component/s: None
Affects Version/s: 14.0.37
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Java Source File TestSettings.java (2 kb)

Environment: Linux


 Description  « Hide
 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.

 All   Comments   Work Log   Change History      Sort Order:
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.

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.

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.