Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute NameRequired?ExprVal?Description
nameYYThe name of the service parameter.
valueNYThe value to assign to an IN parameter. Can use the <%=...%> syntax to use Java method context variables.
modeNYSpecifies the mode of the parameter. Must be IN, OUT or INOUT. Defaults to IN. If OUT or INOUT the alias attribute can be used to override the default key for the context attribute in the scope specified in the service tag.
mapNYSpecifies a name for a Map to find in a context attribute. If specified the attribute attribute will be used to find a value in this map. If not specified the attribute attribute will be used to lookup a value in a context attribute.
attributeNYSpecifies the name of the attribute value to lookup. This is used INSTEAD of the value attribute which is used to directly specify the value to be passed to the service for this parameter. The looked up attribute value will be passed to the service for this parameter.
aliasNYUsed to specify the key that will be used when putting OUT or INOUT parameters into a context attribute. Defaults to the value of the name attribute.

Other Tags

ofbiz:object

Makes an Object in a context attribute (page, request, session or application) available in the Java method context of the JSP so it can be used in Java scriptlets, etc.

Attribute NameRequired?ExprVal?Description
nameYNThe name of the Java method context variable to create.
propertyNNThe name of the context attribute to attach the value to. If not specified will be the same as name.
typeNNThe Java type of the object. If not specified defaults to org.ofbiz.entity.GenericValue.