PDA

View Full Version : Data Driven Applications


OLaszloFan
06-30-2006, 07:01 AM
Hello:

I am interested in finding out how the example which is found in Chapter 35: Building Data-Driven Applications can be changed so that a new contact record is added within the list of items instead of at the end.

Reference Link Below:
http://www.laszlosystems.com/lps-3.3/docs/guide/data_app.html


Example 4.2 illustrates the use of a pointer. Suggestions of modifying this example would be
appreciated.

Thank you

Patrick

SK_Shahzad
06-30-2006, 11:03 PM
Move the pointer to last node - and then insert.

OLaszloFan
07-08-2006, 08:21 AM
SK_Shahzad:
Thank you for the response. I am interested to learn how to add an item within a list of items, however, I want to be able to update the list
at the top, middle or end.

Patrick

Azza
07-09-2006, 05:06 PM
Check out lzdataelement
http://www.openlaszlo.org/lps-latest/docs/reference/lzdataelement.html

replaceChild()
appendChild()
insertBefore()
insertAfter()