Hi Justin, <br><br>Here I paste your code fixed :)<br><br><canvas debug="true"><br><br><dataset name="majorsDS"><br><majors><br> <major name="Accounting"><br> <date>11/06/1975</date><br>
</major><br> <major name="Math"><br> <date>10/06/1975</date><br> <date>44/06/1975</date><br> <date>11/07/1975</date><br> </major><br>
<major name="Construction"><br> <date>12/06/1975</date><br> <date>11/06/1975</date><br> <date>15/06/1975</date><br> <date>11/06/1975</date><br>
</major><br> <major name="Marketing"><br> <date>12/06/1975</date><br> <date>11/06/1975</date><br> <date>11/06/1975</date><br> <date>11/06/1975</date><br>
</major><br></majors> <br></dataset><br><br><datapointer name="majordp"/><br><br><window width="80%" height="95%" align="center" allowdrag="false" y="10"><br>
<wrappinglayout axis="x" xspacing="5" yspacing="5" xinset="5" yinset="5"/><br><br> <list height="98%" width="200"><br> <textlistitem id="majorList" text="$path{'@name'}"><br>
<handler name="onselect"><br> //majordp.setFromPointer(this.datapath);<br> minorList.datapath.setAttribute('p', this.datapath.p);<br> </handler><br>
<datapath xpath="majorsDS:/majors/major"/><br> </textlistitem><br> </list><br><br> <list height="98%" width="200" id="minorList"><br>
<datapath /><br> <textlistitem text="$path{'text()'}"><br> <datapath xpath="*"/><br> </textlistitem><br> </list><br></window><br>
</canvas><br><br><br><br><div class="gmail_quote">On Mon, Apr 7, 2008 at 5:34 PM, Justin Stanczak <<a href="mailto:rizenine@gmail.com">rizenine@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Spanish? Is you grammar that bad, wow. No Spanish, sorry.<br>
<br>
Here's my code, but it's a mess. I was trying stuff.<br>
<br>
<canvas debug="true"><br>
<br>
<dataset name="majors" src="http:data.jsp" request="true" type="http"/><br>
<datapointer name="majordp"/><br>
<br>
<window width="80%" height="95%" align="center" allowdrag="false" y="10"><br>
<datapath xpath="majors:/majors/major" name="m"/><br>
<wrappinglayout axis="x" xspacing="5" yspacing="5" xinset="5" yinset="5"/><br>
<br>
<list height="98%" width="200"><br>
<textlistitem id="majorList" text="$path{'@name'}"><br>
<handler name="onselect"><br>
Debug.write("select");<br>
majordp.setFromPointer(this.datapath);<br>
</handler><br>
<datapath xpath="majors:/majors/major" replication="lazy"/><br>
</textlistitem><br>
</list><br>
<br>
<list height="98%" width="200"><br>
<textlistitem><br>
<handler name="ondata" reference="majordp"><br>
this.datapath.setFromPointer(majordp);<br>
</handler><br>
</textlistitem><br>
</list><br>
<br>
</window><br>
</canvas><br>
<br>
Here's the jsp content:<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<majors><br>
<major name="Accounting"><br>
<date>11/06/1975</date><br>
</major><br>
<major name="Math"><br>
<date>11/06/1975</date><br>
<date>44/06/1975</date><br>
<date>11/07/1975</date><br>
</major><br>
<major name="Construction"><br>
<date>11/06/1975</date><br>
<br>
<date>11/06/1975</date><br>
<date>15/06/1975</date><br>
<date>11/06/1975</date><br>
</major><br>
<major name="Marketing"><br>
<date>11/06/1975</date><br>
<date>11/06/1975</date><br>
<date>11/06/1975</date><br>
<date>11/06/1975</date><br>
</major><br>
<br>
</majors><br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On Mon, Apr 7, 2008 at 6:19 PM, Camilo Aguilar <<a href="mailto:camilo.aguilar@gmail.com">camilo.aguilar@gmail.com</a>> wrote:<br>
> do you speak spanish ?<br>
> can you send me your lzx code please ?<br>
><br>
><br>
> On Mon, Apr 7, 2008 at 5:15 PM, Justin Stanczak <<a href="mailto:rizenine@gmail.com">rizenine@gmail.com</a>> wrote:<br>
><br>
> > Ya, I've read that. I really have. From those example here's what I<br>
> > was putting together. I have the first list set a datapath to list all<br>
> > the majors. Then an onclick handler to set a pointer for the second<br>
> > list that points to the selected major, correct? There I'm stuck. How<br>
> > do I set the datapath for the next list to show all the dates under a<br>
> > major. The pointer would just point to the parent of the date nodes.<br>
> > From what I can see that chapter doesn't show that. If it does let me<br>
> > know I'm just missing something. I'm new so I'm very happy to learn.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Mon, Apr 7, 2008 at 5:16 PM, Camilo Aguilar <<a href="mailto:camilo.aguilar@gmail.com">camilo.aguilar@gmail.com</a>><br>
> wrote:<br>
> > > Read Chapter 40. Building Data-Driven Applications of Openlaszlo<br>
> Developers<br>
> > > Guide<br>
> > ><br>
> > > <a href="http://www.openlaszlo.org/lps4/docs/developers/data_app.html#d0e101195" target="_blank">http://www.openlaszlo.org/lps4/docs/developers/data_app.html#d0e101195</a><br>
> > ><br>
> > > there, you can found good examples.<br>
> > ><br>
> > ><br>
> > ><br>
> > > On Mon, Apr 7, 2008 at 3:53 PM, Justin Stanczak <<a href="mailto:rizenine@gmail.com">rizenine@gmail.com</a>><br>
> wrote:<br>
> > > > I don't understand how to use a datapointer to sync two list, but have<br>
> > > > the second list display the multiple child nodes of that first lists<br>
> > > > selected node. Or if there is a better method to do this? Here's an<br>
> > > > example <a href="http://www.cars.com/go/index.jsp" target="_blank">http://www.cars.com/go/index.jsp</a>. You see how they select a<br>
> > > > make and it loads up the models. It's pretty basic stuff but I don't<br>
> > > > understand how to do it in Laszlo. I'm very new to Laszlo.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > On Mon, Apr 7, 2008 at 3:53 PM, Camilo Aguilar<br>
> <<a href="mailto:camilo.aguilar@gmail.com">camilo.aguilar@gmail.com</a>><br>
> > > wrote:<br>
> > > > > hugh ? what is your question ?<br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > On Mon, Apr 7, 2008 at 12:57 AM, Justin Stanczak<br>
> <<a href="mailto:rizenine@gmail.com">rizenine@gmail.com</a>><br>
> > > wrote:<br>
> > > > > > I'm attempting to create two lists that work off of one dataset. I<br>
> > > have a<br>
> > > > > list with majors that displays in the first list and a second list<br>
> the<br>
> > > > > displays dates for the selected major in the first list. Similar<br>
> when<br>
> > > you<br>
> > > > > select a make the model for a car.<br>
> > > > > ><br>
> > > > > > Data would look like this:<br>
> > > > > ><br>
> > > > > > <major><br>
> > > > > > <date></date><br>
> > > > > > <date></date><br>
> > > > > > <date></date><br>
> > > > > > </major><br>
> > > > > > <major><br>
> > > > > > <date></date><br>
> > > > > > </major><br>
> > > > > > <major><br>
> > > > > > <date></date><br>
> > > > > > <date></date><br>
> > > > > > </major><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > --<br>
> > > > > > "All that is necessary for the triumph of evil is that good men do<br>
> > > > > nothing." - Edmund Burke<br>
> > > > ><br>
> > > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > > "All that is necessary for the triumph of evil is that good men do<br>
> > > > nothing." - Edmund Burke<br>
> > > ><br>
> > ><br>
> > ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> ><br>
> ><br>
> ><br>
> > "All that is necessary for the triumph of evil is that good men do<br>
> > nothing." - Edmund Burke<br>
> ><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="Wj3C7c">"All that is necessary for the triumph of evil is that good men do<br>
nothing." - Edmund Burke<br>
</div></div></blockquote></div><br>