This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: How to retain values in the custome code panel
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 20, 2008
08:45 AM
How to retain values in the custome code panel
hi all,
i got a new problem in the custom code panel ... i am getting the values from the jTextFields ,but the problem is when i move to next panel and come back to the same and after editing the textfields ..textfield.getText() does not retrieve the right values(values after edited) instead it shows the previous values..
to avoid that i created an object and populate it with the setter methods of the class and set it in IA variables.setVariable.. when setupUI is called i retrieve that object and populate the textfields with the getter methods ... but still the getText() method retrieve the old values..
was my approach right.. am i missing something very basic here... hope someone will point out some thing fatal going on in my code..
i have attached my code also here... pls have a look at it and let me know the solution...
thanks in advance..
i got a new problem in the custom code panel ... i am getting the values from the jTextFields ,but the problem is when i move to next panel and come back to the same and after editing the textfields ..textfield.getText() does not retrieve the right values(values after edited) instead it shows the previous values..
to avoid that i created an object and populate it with the setter methods of the class and set it in IA variables.setVariable.. when setupUI is called i retrieve that object and populate the textfields with the getter methods ... but still the getText() method retrieve the old values..
was my approach right.. am i missing something very basic here... hope someone will point out some thing fatal going on in my code..
i have attached my code also here... pls have a look at it and let me know the solution...
thanks in advance..
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 20, 2008
09:50 AM
im sorry for two different posts..
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)