What do you have to do to get the newcombobox displaying properly?

I found some examples in the forums but the only one that half works is the
one that extends newcombobox and does something crazy that I don't
understand with toggling classroot.

http://tinyurl.com/7dp7n

If I use the newcombobox by itself, nothing shows up.

this is the sort of code I'm trying to use...

<newcombobox id="cbvin" width="200"
             itemdatapath="symbol_year:/resultset/result"
             textdatapath="@modelyear"
             valuedatapath="@id" />



-----Original Message-----
From: Jim Grandy [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 19, 2006 4:03 PM
To: William Krick
Cc: [email protected]
Subject: Re: [Laszlo-user] combobox and newcombobox compilation errors


Deleting the incubator copy of floatinglist may do the trick. You may
also have to edit newcombobox to change the include path for
floatinglist.

I'm going to get LPP-1389 ("Move newcombobox into components from
incubator") resolved for Sage, and I'll make sure the two work
together. So if you will be able to move to 3.2 when it comes out
next week, you'll have a solution then.

jim

On Jan 19, 2006, at 12:56 PM, William Krick wrote:

> Hmm...  so is there any way you can think of that I can use both
> types of
> comboboxes in my app at the same time?
>
> Possibly making a copy of the files and/or renaming classes or
> something?
>
>
>
>
> -----Original Message-----
> From: Jim Grandy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 19, 2006 2:48 PM
> To: William Krick
> Cc: [email protected]
> Subject: Re: [Laszlo-user] combobox and newcombobox compilation errors
>
>
> That's because newcombobox uses an alternate implementation of
> floatinglist in the incubator, and that implementation is
> incompatible with the one in the components (uses the same class
> names).
>
> I would actually like to kill this alternate implementation of
> floatinglist because all it does is change the look to use a square
> box instead of a box with an end cap.
>
> In any case, if we were to move newcombobox into the components it
> would use the "production" version of floatinglist and would be
> compatible with combobox.
>
> jim
>
> On Jan 19, 2006, at 11:13 AM, William Krick wrote:
>
>> I am unable to use combobox and newcombobox in the same app.
>>
>> If you compile the sample code below, you get a compilation error...
>>
>> incubator/floatinglist.lzx:16:33: duplicate class definitions for
>> _floatshadow; also defined at lz/floatinglist.lzx:36
>>
>> Is there a trick to doing this that I'm missing?
>>
>>
>>
>> <canvas>
>>   <include href="incubator/newcombobox.lzx"/>
>>   <simplelayout/>
>>   <combobox/>
>>   <newcomboboxex/>
>> </canvas>
>>
>> _______________________________________________
>> Laszlo-user mailing list
>> [email protected]
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
>
>



_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to