Improved: Use flexible expander to resolve the area target on call back
When you use a callback, at this time we haven't to possibility to resolve the area target from the context like this
<wm:link target="WorkEffortAgreement/delete">
....
<wm:set-callback area-target="${useThisTarget}">
...
</wm-setcallback>
</wm:link>
@@ -2476,7 +2476,7 @@ public abstract class ModelForm extends ModelWidget {
Map<String, String> claims = UtilMisc.toMap(
"areaId", WidgetWorker.getScreenStack(context).resolveScreenAreaId(getAreaId()),
- "areaTarget", getAreaTarget());
+ "areaTarget", getAreaTarget(context));
// Propagate on the callback parameters use by pagination list
Map<String, Object> parameters = WidgetWorker.resolveParametersMapFromQueryString(context);
