It's all to do with visibility - this caught me out too.
If your variables were declared 'protected', this was fine when the
component was not in a package. But now, with the .java in a package,
the 'protected' variable is truly hidden to the outside world -
incluicluding your WOD file. So you either have to declare your
variables 'public' (and face a beating from the OO police), or add
accessors to your variables. Eclipse will do this for you - right-click
in the .java file, Source->Generate Getter and Setter.
HTH,
Geoff
On 22 Jan 2004, at 15:24, Ulrich Köster wrote:
> Hi Frčdčric,
>
> is this with all components or with the main component?
>
> Ulrich
>
> Am 22.01.2004 um 16:02 schrieb Frédéric Dreier:
>
>> Hi,
>>
>> In a earlier post, some weeks ago, someone said me that we could move
>> components class files in packages. Just using the "refactor->move"
>> function of Eclipse. I give it a try, but I should have forget
>> something.. because it does not work :-(
>>
>> In fact It cannot resolve the value specified in the ".wod" file :
>> "This WOComponent does not have an instance variable of the name..."
>>
>>
>> Any advice?
>>
>> Thanks,
>>
>> Frédéric
>
>
-- Geoff Hopson Objectology Ltd. http://www.objectology.co.uk/
This archive was generated by hypermail 2.0.0 : Thu Jan 22 2004 - 11:01:48 EST