|
PowerFolder 工作流服务器版本0.5 试驾之旅(5)(7) Return - (none)返回(无) Description - set the value of the application-specific attribute. Can't be used on Internal Attributes. 描述--设置应用特定的属性值,不能用于内部属性。 Example - client.setDecimalAttribute("Refund", 50); 例子 - client.setDecimalAttribute("Refund", 50); 3.2.3.8 setStringAttribute设置字符串型的属性 Inputs - attributeValue (String)输入--属性名称(字符串) Return - (none)返回(无) Description - set the value of the application-specific attribute. Can't be used on Internal Attributes. 描述--设置应用特定的属性值,不能用于内部属性。 Example - client.setStringAttribute("BookOrdered", "Simon's Dictionary"); 例子 - client.setStringAttribute("BookOrdered", "Simon's Dictionary"); 3.2.4 Getting Web Values得到Web页面值 3.2.4.1 getNextWebValue得到下一个Web值 Inputs - webValue (String)输入webValue(字符串) Return - (String)返回(字符串) Description - get the next value from the collection of values generated from 'loadWebValues'. 描述--从loadWebValue生成的值集合中得到下一个值 Example - client.getNextWebValue(); 例子 – client.getNextWebValue(); 3.2.4.2 getWebValue得到web值 Inputs - webValue (String)输入webValue(字符串) Return – (String)返回-(字符串) Description - get web value submitted by an HTML 'input' tag. This is equivalent to the Java servlet call 'request.getParameter("")'. 描述—得到通过一个HTML'input'标记而提交的web值。与Java servlet中调用request.getParameter("")等价。 Example - client.getWebValue("COMMENTS"); 例子 - client.getWebValue("COMMENTS") 3.2.4.3 isNextWebValuePresent是否有下一个web值 Inputs - (none) Return - (Boolean) Description - determines if there is another value in the collection created by 'loadWebValues'. Example - client.isNextWebValuePresent(); 3.2.4.4 loadWebValues 读取web值集合 Inputs - webValue (String) Return - (none)
|