|Re: External Java action when changing context of an element [message #1711658 is a reply to message #1711496]
||Mon, 19 October 2015 07:03
| Tuan Hoang Anh
Registered: May 2015
Laurent Fasani wrote on Fri, 16 October 2015 12:55|
Le 16/10/2015 13:56, Tuan Hoang Anh a écrit :
> Hi all,
> I have a container element and I want to do an external Java action when
> the context of container is changed, for example: when I add Node in
> Container or when I change Node's attributes.
> Could you please show me how to do it?
A tool which would listen for the context change does not exist.
But you can execute java code when using a tool either using java
services  or with external java action .
> Best Regards,
> Tuan Hoang
Thank for your answer.
I know how to use the External Java Action and I want to call it when the context of element changes. But my issue here is that I don't know when the context of element changes, because there are many ways to change the context of container, such as adding/ removing sub-Node, changing name of container, or editing sub-Node ...
Could you please guide me how to implement the listener for these actions?
Powered by FUDForum
. Page generated in 0.02092 seconds