Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Smooks v1.2
-
Component/s: Smooks Javabean
-
Labels:None
-
Number of attachments :
Description
This allows you to initialize the target property, thereby avoiding MVEL expression failures where the expression references it's own target property e.g. where calculating a running total e.g.
<jb:expression property="itemTotal" initVal="new Double(0)" execOnElement="order-item/element"> totals.itemTotal + (totals.itemPrice * totals.itemQuantity); </jb:expression>
Note totals.itemTotal in the expression.
Activity
Tom Fennelly
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
trunk: 1105