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 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 form with data from within DashboardView portlet to my
> plugin (stapler sends request to dashboardView plugin, which replies
> Error: no name specified.). So, my question is, how can I send data
> from jelly included in one plugin (dashboard) to class of other plugin
> (mine) ? Thank you in advance.
>
> public class ReportPluginPortlet extends DashboardPortlet{
>     ...
>
>     public void doConfigSubmit(StaplerRequest req, StaplerResponse
> rsp) throws ServletException,
>             IOException, InterruptedException {
>     ....
>     }
>
>     ....
> }
>
> portlet.jelly:
>
> <f:form method="post" action="configSubmit" name="reportplugin">
>     ...
>

Reply via email to