Hi Sebastian,

If you include "incubator/lzcombobox.lzx", you are effectively overriding combobox with datacombobox. This is why the behavior is different. That said, it sounds like you've found a bug in base/combobox; please file it in JIRA.

I'll let someone else comment on the lzt=history issue, but a JIRA bug would be great there as well.

jim

On Jun 8, 2006, at 3:09 AM, Sebastian Wagner wrote:

hi,

there is a strange behaviour in the Combobox:

a simple Combobox.addItem("key","value") does not work anymore

http://appserver.laszlo-forum.de/lps-latest/streaming/test-combobox.lzx


<canvas debug="true">

    <button>addItem
        <method event="onclick">
            canvas._mybox.addItem("key","value");
        </method>
    </button>

    <combobox y="20" name="_mybox" >

    </combobox>

</canvas>

anyway you can workaround that Bug if you include "incubator/lzcombobox.lzx"

<canvas debug="true">
    <include href=""/>   
    <button>addItem
        <method event="onclick">
            canvas._mybox.addItem("key","value");
        </method>
    </button>

    <combobox y="20" name="_mybox" >

    </combobox>

</canvas>

==> works, but i was not able to find the right line where the "itemclassname" is set...


Another thing is that the lzt=history wrapper is not availible anymore. In the docs it is mentioned that:
http://www.openlaszlo.org/lps-latest/docs/reference/lzhistory.html
You can call a Application with lzt=history, I think that's not true anymore?
cause if you do so:
http://appserver.laszlo-forum.de/lps-latest/streaming/test-combobox.lzx?lzt=history


I don't know if thats worth a JIRA-tickets or somebody can just fix this in a minute.

regards
sebastian

--
Sebastian Wagner
http://www.webbase-design.de
http://www.laszlo-forum.de
Bleichstraße 92
75173 Pforzheim
Tel.: 0177-7341829
Home: 07231-417456
[EMAIL PROTECTED]
_______________________________________________
Laszlo-dev mailing list

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

Reply via email to