Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Kim Prescott
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
ok, i solved my pb.
it was just because of a wrong implementation of multithread script
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic