[opencms-dev] Adding resource to the publish list

DZoltan dzoltan at gmail.com
Wed Jan 7 10:17:28 CET 2015


Hi,
I am trying to create/update a resource (when a publish event happens)
and add it to the publish list so it will get published as well.
I'm trying to do this by listening to the "before publish" event in
order to create/update the resource and add it to the publish list.
I'm getting the publish list from the event data map but trying to add
the new resource throws an exception so I'm guessing this is not the
right way to accomplish this.
Can someone give an example of how this can be done?
Thanks.



More information about the opencms-dev mailing list