Re: Sending stapler request to different class than one stapler binds jelly to

2012-05-28 Thread jrusnack
gt; Sony Mobile Communications > > > > > > > > > -Original Message- > > From: jenkinsci-dev@googlegroups.com [mailto:jenkinsci- > > d...@googlegroups.com] On Behalf Of Ullrich Hafner > > Sent: den 21 maj 2012 14:25 > > To: jenkinsci-dev@go

RE: Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread Sandell, Robert
gt; Sent: den 21 maj 2012 14:25 > To: jenkinsci-dev@googlegroups.com > Subject: Re: Sending stapler request to different class than one > stapler binds jelly to > > Ok, seems that the view "MyDash" is the last object that is searched > for > your method. I.e., the conta

Re: Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread Ullrich Hafner
Ok, seems that the view "MyDash" is the last object that is searched for your method. I.e., the containing portlets are not asked. So I don't think that your use case is possible up to now... Ulli On 05/21/2012 12:47 PM, jrusnack wrote: > Stapler StackTrace: > > http://localhost:8080/view/MyDash/

Re: Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread jrusnack
Stapler StackTrace: http://localhost:8080/view/MyDash/configSubmit POST /view/MyDash/configSubmit HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120421 Firefox/10.0.4 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/ *;q=0.8 Accept-Lang

Re: Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread Ullrich Hafner
In my views I have a method public void doSave(final StaplerRequest request, final StaplerResponse response) { which is called when pressing save [...] What is the Stapler URL trace? Ulli On 05/21/2012 11:54 AM, jrusnack wrote: > Yes, I will re

Re: Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread jrusnack
Yes, I will resort to moving those option to Edit View, but if it`s possible, I would like to have some minimum amount of interactive selection right under graph. And yes, do method in ReportPluginPortlet class is not called, and that is what I would like to achieve. On May 21, 11:45 am, Ullrich

Re: Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread Ullrich Hafner
I see. Wouldn't it be better if all Jenkins portlets behave in the same way, i.e. only in edit view there are configurable (and so the edit part will take space from the actual graph)? What I don't understand is why you don't delegate to your code from the portlet? Is the do method not called? Ul

Re: Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread jrusnack
My plugin generates trend graph with test results and I use textboxes and drowdown lists to configure this graph. Configuration options include: how many builds to include in report (or which), which configurations should be included, even groovy expression for filtering matrix configurations that

Re: Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread Ullrich Hafner
I'm not sure if I understand your use case - maybe you need to elaborate: the dashboard portlets already provide an extensible UI for the configuration. What extra buttons and views do you want to show? Ulli On 05/21/2012 10:19 AM, jrusnack wrote: > Hi, > > I am working on plugin that will show

Sending stapler request to different class than one stapler binds jelly to

2012-05-21 Thread jrusnack
Hi, I am working on plugin that will show some trends and statistics and I also want ability to add it to dasboard (DashboardView plugin). Also, I need buttons and forms that will control what statistics and trend graphs are displayed. I am able to extend dashboardView plugin, but I cannot submit