Closed GoogleCodeExporter closed 9 years ago
Further requirement:
@BindingField(value=BeanWrapper.DATE,
enabled={@Enabled(isNull={@IsNull(value=BeanWrapper.NUMBER,
operator=@Type(OPERATOR.OR)),
@IsNull(BeanWrapper.NUMBER2)},
operator=@Type(OPERATOR.AND)),
@Enabled(isNotNull=@IsNotNull(BeanWrapper.TEXT))})
or
@BindingField(BeanWrapper.DATE)
@Condition({@Enabled(isNull={@IsNull(value=BeanWrapper.NUMBER,
operator=@Type(OPERATOR.OR)),
@IsNull(BeanWrapper.NUMBER2)},
operator=@Type(OPERATOR.AND)),
@Enabled(isNotNull=@IsNotNull(BeanWrapper.TEXT))})
This could be translated in this way:
dateField is enabled when (numberField or number2Field is null) and textField
is not null
Original comment by nejakyus...@gmail.com
on 16 Aug 2010 at 9:57
Original comment by ladislav...@gmail.com
on 21 Aug 2010 at 9:08
Original comment by ladislav...@gmail.com
on 21 Aug 2010 at 9:10
Original comment by ladislav...@gmail.com
on 21 Aug 2010 at 9:13
+18h - with fixes to listbox binding & bean wrapper equals/hashcode
Original comment by ladislav...@gmail.com
on 23 Aug 2010 at 8:25
Original issue reported on code.google.com by
ladislav...@gmail.com
on 16 Aug 2010 at 9:11