Hi,

2010/8/18 Ramon Gomes Brandão - SERINT <[email protected]>:
> Hi,
>
>
>
> I would like that, when a user creates a new Page on a specific space, a 
> pre-configured foot text is automatically put into the page content by 
> default, in a way that the user cannot edit this foot text. How can I do that?

For that you could listen to new document creation event
(org.xwiki.observation.event.DocumentSaveEvent) and when you receive
one you modify the document to put your foot text on it and save it
again.

See http://code.xwiki.org/xwiki/bin/view/Modules/LocalObservationModule
for more details about events observation module.

>
>
>
> I'm using XE 2.4.
>
> Regards,
>
>
>
> Ramon Gomes Brandão
>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to