Advanced button issue

29 views
Skip to first unread message

Nikhil Bhoski

unread,
Aug 12, 2022, 6:52:09 AM8/12/22
to Jenkins Developers
Hi I am planning to include advanced section in my plugin I am using this documentation as reference https://wiki.jenkins.io/display/JENKINS/Jelly-form-controls.html  and used following code in the resources folder and action class folder name 

<f:section title="Advaced Test Run Options" align="left" optional="true">
  <f:advanced title="Test run option" align="left">
    <st:include page="configure-advanced.jelly" />
  </f:advanced>
</f:section>

I am keeping my configure-advanced.jelly in the same folder as of my action class next to config.jelly however the page is not getting rendered on click. where should i keep my include page to get picked in this case 

Daniel Beck

unread,
Aug 12, 2022, 7:05:06 AM8/12/22
to jenkin...@googlegroups.com
Could you provide a complete example that demonstrates the problem?


Nikhil Bhoski

unread,
Aug 12, 2022, 7:13:42 AM8/12/22
to Jenkins Developers

Jesse Glick

unread,
Aug 12, 2022, 2:03:21 PM8/12/22
to jenkin...@googlegroups.com
On Fri, Aug 12, 2022 at 6:52 AM Nikhil Bhoski <nikhil...@gmail.com> wrote:
I am keeping my configure-advanced.jelly in the same folder as of my action class next to config.jelly


I would not suggest trying to `st:include`. This is for advanced use cases and you probably do not need it. Just put some controls inside `f:advanced`.

You can probably ignore anything you find on wiki.jenkins.io. As this specific page points out,

much of this document is old and suggests code patterns which are not recommended

Nikhil Bhoski

unread,
Aug 16, 2022, 5:32:23 AM8/16/22
to Jenkins Developers
Thanks for your help . I would be glad to help you on the documentation let me know if and how i could do it. 

Regards
Nikhil 

Reply all
Reply to author
Forward
0 new messages