ofbiz minilang(hjd_668通译)
ofbiz minilang(hjd_668翻译)????由于编辑器不好用,所以主要内容在附件中,是doc格式simple-map-processor
ofbiz minilang(hjd_668翻译)
?
???由于编辑器不好用,所以主要内容在附件中,是doc格式
simple-map-processor 和 simple-method XML files??
??-?-?T?:?:??
????
?????
?????
???
?????
?Create a Party Role (add a Role to a Party)
?optional="true"/>
?
???
Reqd?Default?ValueDescriptionmethod-nameYN/AA name (preferably a legal Java identifier) for this method. This name must be unique for the XML file it is in as it will be used to reference this method externally.short-descriptionYN/AA short description of the method for certain system error messages.login-requiredN"true"Is a logged in user (UserLogin object, or login.username and login.password Strings) required to run this method? "true" or "false".use-transactionN"true"Create a transaction if none exists for this thread? "true" or "false".default-error-codeN"error"The default error return code.default-success-codeN"success"The default success return code.parameter-map-nameN"parameters"As event: copy of request parameters
As service: incoming contextevent-request-object-nameN"request"(as event only)event-response-code-nameN"_response_code_"(as event only)event-error-message-nameN"_error_message_"(as event only)event-event-message-nameN"_event_message_"(as event only)service-response-message-nameN"responseMessage"(as service only)service-error-message-nameN"errorMessage"(as service only)service-error-message-list-nameN"errorMessageList"(as service only)service-success-message-nameN"successMessage"(as service only)service-success-message-list-nameN"successMessageList"(as service only)delegator-nameN"delegator"A GenericDelegator object to use in the methodsecurity-nameN"security"A Security object to use in the methoddispatcher-nameN"dispatcher"A LocalDispatcher object to use in the method将引用product Map的productName成员,另一种写法是map-name="product" field-name="productName" ,下面的写法更加自由:name="products.widget.productName",这句将访问products (Map类型)的widget成员(也是一个Map类型)的productName成员?
Required?Descriptionxml-resourceNThe full path and filename on the classpath of the XML file which contains an external map processor to execute. This is only required if an external map processor is desired.processor-nameNThe name of the external map processor to execute in the specified xml-resource. This is only required if an external map processor is desired.in-map-nameYThe name of a map in the method environment to use as the input map.out-map-nameYThe name of a map in the method environment to use as the output map. Will be created if it does not exist already. If already exists will be added to in place.error-list-nameNThe name of a list in the method environment that the error messages will be added to. Will be created if it does not exist. Defaults to "error_list".?
How?Many<p style="TEXT-ALIGN: left; mso-pagination: widow-o 1 楼 hanjian 2007-11-29 干啥呢啊?