-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hi guys i have a textbox all i wanna do is if the value of the property is null set null is not set other text please help..
i am trying the following without success.
<listcell><textbox value="@{d.c05}==null?null:*+*+*+*+"/></listcell>
if property c05 is null set null on the textbox ++++ otherwise thanks a lot.
First, you seem to use MVC data binding, which does not support complex EL constructs at all.
Second, data binding with a textbox works in two ways: display a value (that's what you talk about) and save the edited value back. But how should the second case work with your expression?
The only chance I see is that you move this code in the according getter/setter method of your composer.
Asked: 2013-03-29 18:10:18 +0800
Seen: 14 times
Last updated: Mar 29 '13