• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pb when adding element in a list and reading this list in a form

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I m working on a contact list.
All my users are saved as a list, and I created a middlet which a form page to show those contacts.

I made a form in order to add some contact,then when I quit the add form, i go back to the contact list refresh, and can see the new contact.

the first contact added don't do any problem.
I first have :
1-2-3-4 (4 contacts)
Then I have
1-2-3-4-5 (5 contacts)

But if i add a second new contact, problem start
First i had:
1-2-3-4-5 (5 contacts)
Then I have:
2-3-4-1-5-2-6-4-6-5-6-6 (12 contacts or (5+1)x2 )

if I add a 3rd contact,
then I finally have 42 contacts ...

I don't understand why this occured.
If anybody has an idea
Thanks
[ April 19, 2006: Message edited by: Kim Prescott ]
 
Kim Prescott
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok, i solved my pb.
it was just because of a wrong implementation of multithread script
 
We're being followed by intergalactic spies! Quick! Take this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic