mvelParameters.put("request", requestDto);
String productString = element.getAttributeValue("product");
if (productString != null) {
final IStandardExpressionParser expressionParser = StandardExpressions.getExpressionParser(arguments.getConfiguration());
Expression expression = (Expression) expressionParser.parseExpression(arguments.getConfiguration(), arguments, productString);
Object product = expression.execute(arguments.getConfiguration(), arguments);
if (product != null) {
mvelParameters.put("product", product);
}
}
String categoryString = element.getAttributeValue("category");
if (categoryString != null) {
final IStandardExpressionParser expressionParser = StandardExpressions.getExpressionParser(arguments.getConfiguration());
Expression expression = (Expression) expressionParser.parseExpression(arguments.getConfiguration(), arguments, productString);
Object category = expression.execute(arguments.getConfiguration(), arguments);
if (category != null) {
mvelParameters.put("category", category);
}
}