Re: [Soaplab-users] Boolean parameters
Brought to you by:
marsenger
From: Sebastien M. <Seb...@un...> - 2008-03-27 13:10:40
|
> Hi Sebastien, Hi Mahmut, >> 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 Thanks. Now I can get what I expected for. I thought that comment-"method ...." was reserved for application main section. But what is exactly the difference between comment-"method ...." and template: ""? Thanks again -- Sébastien Moretti SIB, Quartier Sorge - Genopode CH-1015 Lausanne, Switzerland Tel.: +41 (21) 692 4056/4221 |