[EMAIL PROTECTED] wrote:
Ok, but I don't know what is a farm and how I can define a new one.
Just take DashboardActionsBean as an example.
You must implement ResultsProviderFarm interface.
Cheers,
Narcis
*Narcis Paslaru <[EMAIL PROTECTED]>*
30/11/2007 11:06
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
[email protected]
Subject
Re: [Ecm] Adding a new result window to the dashboard
Hello,
You might also try to write your own farm and use it instead of
DashboardActionsBean.
Cheers,
Narcis
[EMAIL PROTECTED] wrote:
>
> Thank you.
>
> In my project, I don't know how to replace an original java file.
>
>
>
>
> *Damien DUPRAZ-GRALLIER <[EMAIL PROTECTED]>*
>
> 30/11/2007 10:44
>
>
> To
> [EMAIL PROTECTED]
> cc
> [email protected]
> Subject
> Re: [Ecm] Adding a new result window to the dashboard
>
>
>
>
>
>
>
>
>
>
>
> Hello, you have to modify a source code page.
>
> The page is DashBoardActionsBean.java
>
> Add a new "protected static final String" that is the name of your new
> dashboard view (see example in the code) and you'll have to add
> a condition around ligne 455. You have to add a condition to
> determine which
> parameters will be used for the request.
> To make it simple, if you have no "?" parameter in your NXQL request
> just add
> the condition like this :
>
> ...
> } else if (BOARD_WORKSPACES.equals(name) || YOUR_CONDITION) {
> params = null;
> } else {
> ....
>
> Damien
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
>
------------------------------------------------------------------------
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm