Can't use ExecuteCommandLineOperation with button from css sylesheet
Posted: Mon Mar 13, 2017 7:52 pm
I am trying to use the ExecuteCommandLineOperation operation from a css stylesheet and the css validator doesn't recognize the cmdLine, workingDirectory of showconsole arguments. I am using the description at https://www.oxygenxml.com/doc/versions/ ... tions.html to get the names of the arguments. If I leave these argurments off the vaidation errors go away and the button shows, but isn't functional, in the styled document. If I use any one of the arguments I get validation errors and the button doesn't show. I am using Oxygen 18.1 build 2017020917. Should this work?
My style looks like below, though the command I wish to run is somewhat different.
info {
content:
oxy_button(color, 'blue',
action, oxy_action(
name, 'Checkout',
operation, ExecuteCommandLineOperation,
cmdLine, 'svn ls http://server/svn/etc',
workingDirectory, '.',
showconsole, true
));
}
And the error message is as below:
Severity: error
Description: Context : info in property : content
Unknown arguments: [cmdLine, showconsole, workingDirectory] : oxy_button(color,'blue',action,oxy_action(name,'Checkout',operation,ExecuteCommandLineOperation,cmdLine,'svn ls http://192.168.10.196/svn/ehraf_collect ... nsole,true))
Thanks,
Doug
My style looks like below, though the command I wish to run is somewhat different.
info {
content:
oxy_button(color, 'blue',
action, oxy_action(
name, 'Checkout',
operation, ExecuteCommandLineOperation,
cmdLine, 'svn ls http://server/svn/etc',
workingDirectory, '.',
showconsole, true
));
}
And the error message is as below:
Severity: error
Description: Context : info in property : content
Unknown arguments: [cmdLine, showconsole, workingDirectory] : oxy_button(color,'blue',action,oxy_action(name,'Checkout',operation,ExecuteCommandLineOperation,cmdLine,'svn ls http://192.168.10.196/svn/ehraf_collect ... nsole,true))
Thanks,
Doug