Dev - use-when for null values broken?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Dev - use-when for null values broken?

Si Chen-2
Hi.

Has anyone else noticed this problem?  It seems no matter what I compare
things to with use-when="something==null" I'm getting a false.

For example, in
applications/workeffort/widget/WorkEffortPartyAssignForms.xml, there is
a line
         <alt-target target="createWorkEffortPartyAssign"
use-when="workEffortPartyAssignment==null"/>

The trouble is, it is never triggered, so the form always tries to run
an update.  In general I've been having problems with ==null comparisons
in use-when.

Si

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev