Are you using l:layout?

On 06.01.2016, at 00:12, David Payt <[email protected]> wrote:

> I have written a custom Jenkins plugin that provides build-steps and a few 
> Jelly pages. I now need to implement some administration functions that can 
> manipulate my plugin's state and also trigger jobs.
> 
> I assume that between Jelly and Stapler, that Jenkins already has 
> From-data-binding and AJAX-calling well-established; but I can't seem to 
> figure out how to pull it off in my own stand-alone Jelly file.
> 
> I am trying to use the "Validation Button" approach by employing the form tag 
> library (xmlns:f="/lib/form") in a Jelly file (e.g. 
> http://localhost:8000/jenkins/plugin/myPlugin/administration) but my browser 
> fails to find the Javascript method called "validateButton()". I tracked this 
> method to the hudson-behavior.js which itself depends on other javascript 
> objects.
> 
> What is the best way to create a form and form-handling in stand-alone Jelly 
> files (e.g. not embedded Jelly files like config.jelly)? Preferably with 
> automated data-binding and via AJAX calls?
> 
> Thanks
> - David Payt
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/68d6add6-288f-4a03-b92d-200f5d21ff88%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/A35DE78C-AD7B-4735-AD88-7AF3BAB01A93%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to