Hi Quinton,
On 03/11/2008, at 10:05 AM, Q wrote:
> Try latest nightly from 5528 and see if that fixes it.
Just updated... Compile errors are fixed it seems. But auto-completion
didn't work for me. So that's a step forward :-)
Thanks.
> On 01/11/2008, at 2:45 PM, Lachlan Deck wrote:
>
>> On 01/11/2008, at 9:33 AM, Q wrote:
>>>
>>> On 31/10/2008, at 6:54 PM, Lachlan Deck wrote:
>>>
>>>> Hi there,
>>>>
>>>> I've got a Controller<E> and the following:
>>>>
>>>> private E displayGroupItem;
>>>>
>>>> public E getDisplayGroupItem() { ... }
>>>> public void setDisplayGroupItem( E item ) {...}
>>>>
>>>> However the inline bindings are giving errors when doing the
>>>> following, for example.
>>>> $controller.displayGroupItem.name
>>>>
>>>> Any ideas?
>>>
>>> WOLips cannot (yet) resolve generics.
>>
>> Ah.
>>
>>> Any generic type, in this case E, will be erased to Object (even
>>> for the case of 'E extends whatever') when the bindings are
>>> validated.
>>
>> Right. Of course.
>>
>> For future reference, the controller for the component was
>> public FooBar<UserGroup> getController();
>>
>> where FooBar extends Controller<E>. I'd tried the class declaration
>> of the controller as:
>> public class FooBar extends Controller<UserGroup>
>>
>> and
>> public class FooBar<E> extends Controller<E> instantiated with new
>> FooBar<UserGroup>.
>>
>>> I have been wanting to sit down and work out how to handle this
>>> better but the time required to do so has evaded me.
>>
>> No worries.
with regards,
--Lachlan Deck
This archive was generated by hypermail 2.0.0 : Sun Nov 23 2008 - 20:35:46 EST