Here you have the one for the default publishing action (*):
nuxeo-features/nuxeo-platform-publishing/nuxeo-platform-publishing-web

You could start by contributing a new action
(take a look at /nuxeo-platform-publishing-web/src/main/resources/OSGI-INF/actions-contrib.xml)

and defining a new Bean for your new publish behavior
(take a look at /nuxeo-platform-publishing-web/src/main/java/org/nuxeo/ecm/platform/publishing/PublishActionsBean.java)

Hope this helps.


(*) If you haven't done so yet, you can download Nuxeo code for consulting here: http://www.nuxeo.org/xwiki/bin/view/FAQ/DownloadingNuxeoSources

Federica Boffa wrote:
Can I found an example of code? Thank you

> Date: Sat, 26 Dec 2009 23:37:30 +0100
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [Ecm] Improvement (right click and section)
>
> As I told you before, the best option is to create a new action, like de > Publish one, but for the workspaces, that let you make a recursive publish.
>
> This action doesn't exist up to now, but it is not hard to implement.
>
> Best regards.
>
>
> > Federica Boffa escribió:
> >>
> >> I mean that I would to have a structure in publish section that is
> >> the same of workspaces.
> >> When I create a new folder in worspaces, for example "Workspaces -
> >> Test File"
> >> In Section create (automatically) a section "Test File".
> >> This is for the user, he found the same structure and should not to
> >> recreate for publishing.
> >> I would only the structure, then the action of publishing is manually.
> >>
> >> Thank you
> >>
> >>
> >> > Message: 1
> >> > Date: Thu, 24 Dec 2009 20:46:36 +0100
> >> > From: Daniel Tellez <[email protected]>
> >> > Subject: Re: [Ecm] Improvement (right click and section)
> >> > To: "[email protected]"
> >> > <[email protected]>
> >> > Cc: Federica Boffa <[email protected]>, Mailing List Nuxeo
> >> > <[email protected]>
> >> > Message-ID: <[email protected]>
> >> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >> >
> >> > Hi,
> >> >
> >> > For the second question, do you mean something like a recursive
> >> > publishing action ?
> >> >
> >> > Regards.
> >> >
> >> >
> >> >
> >> > [email protected] wrote:
> >> > >
> >> > > Hi,
> >> > >
> >> > > for the first question, it's much easier to modify the user's rights > >> > > to delete content (may it be workspaces, sections or documents) than
> >> > > to remove the right click behaviour, I don't see why you would
> >> want to
> >> > > do that just to remove the right to delete.
> >> > >
> >> > > This is done easily at any given area, go to Administration tab and
> >> > > then "Add a new security rule" as you wish.
> >> > > Take a look at the pic, hope this solves your first question and
> >> merry
> >> > > christmas ;-)
> >> > >
> >> > > Antonio.
> >> > > Yerbabuena Software.
> >> > >
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > Federica Boffa escribi?:
> >> > >> Hi everybody, I make 2 question for you:
> >> > >>
> >> > >> - it is possibile to disable right click in nuxeo? to not allow
> >> user
> >> > >> to delete workspace or section or other..
> >> > >> - it exists a method for replicate in section the same structura
> >> > >> created in workspace? a different way of template.
> >> > >>
> >> > >> Thank you and merry christmas
> >> > >
>
>
> --
> Daniel Téllez
>
> Yerbabuena Software
> CTO - Responsable de Desarrollo
>
> C/Iván Pavlov 8,
> Edificio Hevimar II, Oficina 2-3
> Parque Tecnológico de Andalucía, Málaga (España)
> [email protected]
> Telf/Phone -Fax.: (+34) 902 995 246
> Móvil/Mobile: (+34) 615 051 283
>
> www.yerbabuena.es
> [email protected]
>
> En cumplimiento de la Ley Orgánica 15/1999 de 13 de Diciembre, de Protección de Datos de Carácter Personal, de YSENGINEERS, S.C.A., como Responsable del Fichero, pone en su conocimiento que los datos incluidos en este mensaje están dirigidos al destinatario o destinatarios designados, por lo que si lo ha recibido por error, le rogamos nos lo haga saber a la mayor brevedad posible, y elimine el original, no estando permitido hacer ningún uso del mensaje.
>
> Ponemos en su conocimiento la posibilidad de ejercer sus derechos de acceso, rectificación, cancelación y oposición, en los términos establecidos en la legislación vigente, que podrá hacer efectivos dirigiéndose por escrito a de YSENGINEERS, S.C.A., en la dirección: C/ Severo Ochoa, num. 4, Parque Tecnológico de Andalucía, 29590, Málaga.
>

------------------------------------------------------------------------
Windows Live: rendi più semplice per i tuoi amici vedere cosa stai facendo su Facebook. <http://www.microsoft.com/italy/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:it-it:SI_SB_2:092010>


--
Daniel Téllez

Yerbabuena Software
CTO - Responsable de Desarrollo

C/Iván Pavlov 8,
Edificio Hevimar II, Oficina 2-3
Parque Tecnológico de Andalucía, Málaga (España)
[email protected]
Telf/Phone -Fax.: (+34) 902 995 246
Móvil/Mobile: (+34) 615 051 283

www.yerbabuena.es
[email protected]

En cumplimiento de la Ley Orgánica 15/1999 de 13 de Diciembre, de Protección de 
Datos de Carácter Personal, de YSENGINEERS, S.C.A., como Responsable del 
Fichero, pone en su conocimiento que los datos incluidos en este mensaje están 
dirigidos al destinatario o destinatarios designados, por lo que si lo ha 
recibido por error, le rogamos nos lo haga saber a la mayor brevedad posible, y 
elimine el original, no estando permitido hacer ningún uso del mensaje.

Ponemos en su conocimiento la posibilidad de ejercer sus derechos de acceso, rectificación, cancelación y oposición, en los términos establecidos en la legislación vigente, que podrá hacer efectivos dirigiéndose por escrito a de YSENGINEERS, S.C.A., en la dirección: C/ Severo Ochoa, num. 4, Parque Tecnológico de Andalucía, 29590, Málaga.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to