**** BEGIN LOGGING AT Wed Jul 04 02:59:58 2012 Jul 04 03:30:02 it's okay, i'm redesigning it anyways Jul 04 15:41:45 how do i add an item to a list dynamically? Jul 04 15:47:20 and everyon who helped me yesterday, thank you! Jul 04 15:47:24 :D Jul 04 15:47:35 :) Jul 04 15:47:58 There has to be a way to create that list dynamically or from a db Jul 04 15:48:32 just need an ordered pair list. Jul 04 15:49:16 i have the list, but i need to create those items with thw contents and name of an input box on a click of a button Jul 04 15:49:51 and save that list upon application close Jul 04 16:16:20 i need to learn how to use a cookie Jul 04 16:16:34 (Yum!) Jul 04 16:57:11 happy 4th everybody Jul 04 16:58:09 baboo: make an array Jul 04 16:58:19 that's what i was trying to show you yesterday ;) Jul 04 16:58:58 you make an array, create a list using the list as an example, and then on setupItem, populate the list using array[inEvent.index ] Jul 05 00:25:25 can you set a cookie value to an array? Jul 05 00:27:13 Cookies can only be strings but strings can contain anything Jul 05 00:29:48 so i can join and split my array to be a string! Jul 05 00:29:55 or an array Jul 05 00:30:45 You could stringify it.. What platform are you working on? Jul 05 00:31:03 Almost everything supports localstorage or other better forms of saving data Jul 05 00:54:37 on webos Jul 05 00:55:01 cookies aren't complicated though Jul 05 01:00:43 i need to access an object with its name in a variable Jul 05 01:01:15 to delete it Jul 05 01:08:04 ? Jul 05 01:10:42 say i had a variable containing the string "hello", then i want to acess the object with the name of my variable contents Jul 05 01:11:23 this.$.hello Jul 05 01:11:32 Is it inside another object? Jul 05 01:11:58 yes, i want to access the parent kind Jul 05 01:12:09 1 level up Jul 05 01:12:44 and delete it Jul 05 01:12:46 Uh.. You're usually not doing something right if you want to access a parent from a child Jul 05 01:13:16 You should pass an event up and do it in the parent Jul 05 01:13:48 i have a delete button inside an object and if i click it, i want to delete that object Jul 05 01:14:09 (lists don't work for me) Jul 05 01:15:48 if lists did, then i would use a SwipeableItem Jul 05 01:37:25 i need to add an item Jul 05 01:38:01 {name:input1, content:input1, components:[{kind:"Button", className:"enyo-button-negative", caption:"Delete", align:"right", onclick:"deleteCustomItem"} Jul 05 02:56:27 i keep getting this error: Object # has no method 'getName', /usr/palm/frameworks/enyo/1.0/framework/build/enyo-build.js:334 **** ENDING LOGGING AT Thu Jul 05 02:59:58 2012