Re: [Soaplab-users] Boolean parameters
Brought to you by:
marsenger
From: Mahmut U. <ul...@eb...> - 2008-03-27 12:02:41
|
Hi Sebastien, > I try to find the right way to create boolean parameters (I mean > parameter name without parameter value) in ACD format. > But they don't appear in the report file when I run the service. > > > I have two different cases: > > -html parameter which can be present or not, depending on user choice. > -def parameter which must be always present > > > Here is my ACD code: > boolean: html [ > additional: "Y" > default: "true" > prompt: "Output format" > information: "Output format, html or not " > outputmodifier: "Y" > ] > > boolean: def [ > default: "true" > comment: "display false" > information: "The 'def' parameter" > ] > > Do you have any ideas why these parameters are not added on command line > when the application is running ? I think you need to use the comment-"method ...." and the comment-"defaults" options as in the following examples. boolean: html [ additional: "Y" default: "true" prompt: "Output format" information: "Output format, html or not " outputmodifier: "Y" comment: "method -html" ] boolean: def [ default: "true" comment: "defaults" comment: "display false" information: "The 'def' parameter" comment: "method -def" ] Regards, Mahmut |