That's perfect, thanks for the help! slide
On Tue, May 21, 2013 at 2:32 AM, Sandell, Robert < [email protected]> wrote: > In the case when you don’t have a descriptor the framework doesn’t help > you as it usually can.**** > > So a little bit of knowledge on how Stapler works can save you in many > corner cases J**** > > ** ** > > Since you are serving the index page of an Action I believe the simplest > way would be to put the doCheckSomething method as a non static method of > your Action and provide the relative path to it for the input**** > > ** ** > > <f:textbox checkUrl=”’checkSomething?value='+escape(this.value)”/>**** > > ** ** > > /B**** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Slide > *Sent:* den 20 maj 2013 06:03 > *To:* Jenkins Dev > *Subject:* Where to put a doXYZMethod?**** > > ** ** > > I have a class that implements Action and it provides an index.jelly so > that you get a view when you click on the link. I am trying to do some > validation on a field using the checkUrl property of the textbox tag. I've > tried /plugin/myplugin/templateFileCheck and > /plugin/myplugin/MyAction/templateFileCheck, but I get a 404 from Jetty on > both of those. I have tried putting the method in MyAction as well as the > descriptor for my publisher. Where do I need to put the method so it is > called correctly?**** > > ** ** > > Thanks,**** > > ** ** > > slide > **** > > ** ** > > -- > Website: http://earl-of-code.com **** > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > > **** > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Website: http://earl-of-code.com -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
