I'm developing a builder plugin. In my config.jelly, I have en entry which depends on the value selected in other entry, for example:
<f:entry title="Select" field="select">
<f:select/>
</f:entry>
<j:if test="${descriptor.testMethod(--the parameter should be the value selected in above entry--)}">
<f:entry title="Test" field="test">
<f:textbox/>
</f:entry>
</j:if>
I tried to do the same as dynamic dropdownlist in ui-examples, annotate the argument of descriptor's testMethod with @QueryParameter, but it doesn't work.
Is there a way to do that?