This guide is handy:
http://tapestry.apache.org/property-expressions.html
Geoff
On 6 Aug 2014, at 8:37 pm, Chung Khanh Duy <[email protected]> wrote:
> Thanks so much Peter !
>
> Duy.
>
>
> On Wed, Aug 6, 2014 at 5:30 PM, <[email protected]> wrote:
>
>> the expression does not throw an exception, wenn getStudent() returns null.
>> best regards, Peter
>>
>>> Hi all,
>>>
>>> Does anyone see the similar binding as below:
>>>
>>> Java code:
>>> Student student;
>>>
>>> Tml file:
>>>
>>> <input value={student?.name} />
>>>
>>> I don't know why they add "?" in data binding ?
>>>
>>> Thanks,
>>> Duy.
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
> --
> Chung Khánh Duy
> Project Support Manager
> Formos
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]