多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# B.35 PropertyPromptTask `PropertyPromptTask` is a simple task to read in user input into a property. If you need something more advanced, see the [Section聽B.25](apbs25.html "B.25 InputTask"). Table B.35:聽Attributes NameTypeDescriptionDefaultRequired`propertyName``String`The name of the Property to set.n/aYes`promptText``String`The text to use for the prompt.n/aYes`promptCharacter``String`The character to use after the prompt.?No`defaultValue``String`A default value to use (if user just hits enter).n/aNo`useExistingValue``String`Whether existing property should be used if available. (This will result in user only being prompted if the propertyName property is not already set.)`false`No B.35.1 Examples ``` <propertyprompt propertyName="someprop" defaultValue="/var/www" promptText="Enter your web root" /> <echo>${someprop}</echo> ```