From a54352fd42e4ef2f9b4c7eff1f32ca25c2adf6b4 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sat, 6 Jan 2007 16:32:10 +0000 Subject: [PATCH] Some more annotations/documentation from minilang guide (suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493502 13f79535-47bb-0310-9956-ffa450edef68 --- framework/minilang/dtd/simple-methods.xsd | 65 ++++++++++++++++++++--- 1 file changed, 59 insertions(+), 6 deletions(-) diff --git a/framework/minilang/dtd/simple-methods.xsd b/framework/minilang/dtd/simple-methods.xsd index d580b65a0d..ff9b808564 100644 --- a/framework/minilang/dtd/simple-methods.xsd +++ b/framework/minilang/dtd/simple-methods.xsd @@ -1751,6 +1751,13 @@ under the License. + + + The message lists from invoking are not checked until the check-errors tag is used. + The named list is checked and if it contains any messages they are put in the servlet + request object and the specified error code is returned to the control servlet. + + @@ -1762,28 +1769,74 @@ under the License. - - + + + + Defaults to "error". + + + + + + + The name of the list to in the method environment to check for error messages. Defaults to "error_list". + + + + + + Adds an error message with to the given error list from either an inline message or a message from a properties file. + + - - + + + + Used to specify an inline message. Has one attribute called 'message'. + + + + + + + Used to get the message from a properties file. Has two attributes: resource and property. + + + - + + + + The name of the list to in the method environment to check for error messages. Defaults to "error_list". + + + + + + Returns immediately from the simple-method with the given response code string. + + - + + + + The string to return as a response code. Defaults to "success". + + +