Yes, it's definitely a bug. See this thread on the forum from last year: "http://forum.openlaszlo.org/showthread.php?t=7149" a> (you also participated in it!). Best regards, André Not Zippy wrote: > Hi > > A floating list does not seem to work well with local datasets. It > seems the context of the list is the canvas and not the local > container. A quick hack was to define an attribute on the canvas > (which is reachable through parent.parent.parent) But it would be nice > if local datasets worked with floating lists somehow. > > Heres the hack, it is assumed that divisionlist is an attribute (or > object) on the canvase and data if the name of the dataset within the > object. > <datacombobox name="did" width="230" shownitems="6" datapath="did/text()" > defaulttext="Choose A Division..." selectfirst="true" textdatapath="name/text()" > valuedatapath="id/text()" > itemdatapath="local:parent.parent.parent.divisionlist.d ata:/details/data/row" > oninit="Debug.write(this)"/> > > Technically I should be able to do a > <datacombobox name="did" width="230" shownitems="6" datapath="did/text()" > defaulttext="Choose A Division..." selectfirst="true" textdatapath="name/text()" > valuedatapath="id/text()" itemdatapath="local:classroot.data:/details/data/row&qu ot; > oninit="Debug.write(this)"/> > > > Is this be a bug ? > Thx
D'oh ! I filed a bug with the fix http:/ /www.openlaszlo.org/jira/browse/LPP-3811 Thanks Z On 3/29/07, André Bargull <a.bargullintensis.de> wrote: > Yes, it's definitely a bug. > See this thread on the forum from last year: > "http://forum.openlaszlo.org/showthread.php?t=7149" a> (you also > participated in it!). > > Best regards, > André > > Not Zippy wrote: > > Hi > > > > A floating list does not seem to work well with local datasets. It > > seems the context of the list is the canvas and not the local > > container. A quick hack was to define an attribute on the canvas > > (which is reachable through parent.parent.parent) But it would be nice > > if local datasets worked with floating lists somehow. > > > > Heres the hack, it is assumed that divisionlist is an attribute (or > > object) on the canvase and data if the name of the dataset within the > > object. > > <datacombobox name="did" width="230" shownitems="6" datapath="did/text()" > > defaulttext="Choose A Division..." selectfirst="true" textdatapath="name/text()" > > valuedatapath="id/text()" > > itemdatapath="local:parent.parent.parent.divisionlist.d ata:/details/data/row" > > oninit="Debug.write(this)"/> > > > > Technically I should be able to do a > > <datacombobox name="did" width="230" shownitems="6" datapath="did/text()" > > defaulttext="Choose A Division..." selectfirst="true" textdatapath="name/text()" > > valuedatapath="id/text()" itemdatapath="local:classroot.data:/details/data/row&qu ot; > > oninit="Debug.write(this)"/> > > > > > > Is this be a bug ? > > Thx > >
about | contact Other archives ( Real Estate discussion Medical topics )
Mailing lists
Newsgroups
RFC archive