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?
I AM A HUMAN BEING
posted 7 years ago
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)