• 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

Not Committing the Data

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
watsup everyone

i seem to have a problem with a dynamically created GUI.. we use models to
load the panels and tables etc dynamically to the GUI..

when we have more than 25 fields in the model, a second panel is created
to display the remaining fields of the model. There is a next button to
go to the second panel and a back button to go back to the first panel..

Normally when the user presses the back button, it goes back to the first panel displaying all the data that the user entered.

My problem seems to happen specifically with one model. when the user presses the back button, it goes back to the first panel, but all the data fields are cleared..

Can anyone give me an idea as to why this is happening and what can the solution be?

THANKS

Pranay
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
perhaps in your 'back' code you recreate the first panel, instead of
showing the existing instance.

all you can expect is guesses, unless you post a compilable example of the behavior
(compilable example should be a shortened version of your code - just enough code to produce the problem)
 
Evil is afoot. But this tiny ad is just an ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic