|
In tasks, expressions can only be placed within the attributes of the param tag. Where previously only the data attribute could contain an expression, now all attributes can be used, including the following: name, data, delim, default, valueSeparator, and elementSeparator.
|
|
The use of expressions within Info*Engine custom param tag attribute values may not give you the results you expect when you are using the Tomcat servlet engine. In the Tomcat servlet engine, when an expression is embedded within a data attribute value, it is not evaluated correctly. However, if the entire value for the data attribute is an expression, the result is correct.
To work around this issue, you can create the entire value in a scriptlet, and then use the results in an expression in the data attribute. For example, the following data attribute on a param tag is not evaluated correctly:
<ie:param name="ELEMENT" data="ENAME=<%=ENAME%>"/>
Instead, you can code this as follows:
<% String elValue = "ENAME=" + ENAME; %>
<ie:param name="ELEMENT" data="<%=elValue%>"/> |