Thanks Ulli!
Yet I have to figure why the prototype.js is asking for null:
<html><body>
<h1>404 Not Found</h1>
<p>Stapler processed this HTTP request as follows, but couldn't find the
resource to consume the request
<pre>
-> evaluate(<hudson.model.Hudson@6a4edb79>
:hudson.model.Hudson,"/MyRootAction/null")
-> evaluate(((StaplerProxy)<hudson.model.Hudson@6a4edb79
>).getTarget(),"/MyRootAction/null")
-> evaluate(<hudson.model.Hudson@6a4edb79
>.getDynamic("MyRootAction",...),"/null")
->
evaluate(<org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction@974f250>
:org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction,"/null")
<font color=red>-> No matching rule was found on
<org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction@974f250>
for "/null"</font>
</pre>
<p><org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction@974f250>
has the following URL mappings, in the order of preference:<ol>
<li>
TOKEN.groovy for url=/TOKEN
<li>
VIEW.jelly for url=/VIEW
<li>
org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction.getDescriptor()
for url=/descriptor/...
<li>
org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction.getDisplayName()
for url=/displayName/...
<li>
org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction.getIconFileName()
for url=/iconFileName/...
<li>
org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction.getUrlName() for
url=/urlName/...
<li>
org.jenkinsci.plugins.rootactionexampleplugin.MyRootAction.getBuildGoals()
for url=/buildGoals/...
<li>
java.lang.Object.getClass() for url=/class/...
</ol>
</body></html>
The code which generates this request is on github (
https://github.com/nilleb/jenkins-plugins/tree/master/rootaction-example-plugin
).
Tomorrow, maybe.
Thanks, have a good evening.
Il giorno lun 9 feb 2015 20:00 Ulli Hafner <[email protected]> ha
scritto:
https://wiki.jenkins-ci.org/display/JENKINS/Figuring+out+
> URL+binding+of+Stapler
>
> Am 09.02.2015 um 17:11 schrieb Ivo Bellin Salarin <
> [email protected]>:
>
> Hi,
>
> I can't figure out why my doFillXXXItems aren't being called.
>
> Is there some way to log/debug jelly<-->Descriptor interactions?
>
> Thanks in advance,
> Ivo
>
> --
> 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/CAPc4eF_3ZaTwMJWPK_--s1fLViFEm5YY0o8UfcfF%
> 3D5YhmRRkNQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF_3ZaTwMJWPK_--s1fLViFEm5YY0o8UfcfF%3D5YhmRRkNQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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/1F5EA278-2094-4225-AB32-3A575D9BD61E%40gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/1F5EA278-2094-4225-AB32-3A575D9BD61E%40gmail.com?utm_medium=email&utm_source=footer>
> .
> 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/CAPc4eF-bZx%3Dn78N3QzrXO5-DiPM4Hh08A5srFnVBCB-MgGxT5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.