Combining different actions
Posted: Fri Dec 14, 2012 11:50 am
Hi!
I have the following scenario: I want to add an action to the author mode (to the toolbar) that performs different steps. I have an action that sets the current date to a node in the xml-file, now I want to save the file automatically afterwards. I compiled a java class that saves the file. Both action do what they are suppsed to do when i run them separately. I thought I could just add another action to an existing action (since there is an "add"-option where an other action can be defined). But only the first action is executed when I click the button in the toolbar. Am I doing something wrong or is there something else I have to do to accomplish this task?
thanks in advance!
I have the following scenario: I want to add an action to the author mode (to the toolbar) that performs different steps. I have an action that sets the current date to a node in the xml-file, now I want to save the file automatically afterwards. I compiled a java class that saves the file. Both action do what they are suppsed to do when i run them separately. I thought I could just add another action to an existing action (since there is an "add"-option where an other action can be defined). But only the first action is executed when I click the button in the toolbar. Am I doing something wrong or is there something else I have to do to accomplish this task?
thanks in advance!