2013/10/1 Thiago H de Paula Figueiredo <thiag...@gmail.com>

> On Tue, 01 Oct 2013 12:00:08 -0300, Adrien Berthet <berthe...@gmail.com>
> wrote:
>
>  org.apache.tapestry5.ioc.**internal.OperationException: Failure writing
>> parameter 'value' of component TestList:textToCheck: Property
>> 'currentText'
>> (within property expression 'currentText.ticked',
>> of net.adrien.test.TestList@**41b7c08e) is null.
>>
>
> Here's your problem: currentText is null. In which line does this happen
> in the template? In the code?
>

I understand that currentText is null, and that's my problem : I don't
understand how it could happen. In debug mode, I didn't find in which line
this happens, but it seems right after the end of the initOnActivate
method. So I can't get the updated values of my List.


>
> Anyway, aren't you trying to reimplement the Checklist component? See
> http://tapestry.apache.org/**current/apidocs/org/apache/**
> tapestry5/corelib/components/**Checklist.html<http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Checklist.html>for
>  documentation and
> http://jumpstart.**doublenegative.com.au/**jumpstart/examples/component/**
> coreinputcomponents<http://jumpstart.doublenegative.com.au/jumpstart/examples/component/coreinputcomponents>for
>  an example.


I saw this component, but I can't use it because my List has a variable
size, and so I can't use an Enum.

Regards,

Adrien

Reply via email to