on 01-05-2016 7:57 PM
Hi people!
I'm sorry but i don't speak english.
I have the follow problem:
- When i check the radiobutton and save it, it works in database.
- But when i leave screen and after i come back to same screen the radio button showed is wrong:
I must define a node context? How to set it in the code to show the correct radiobutton?
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Im using like this:
I believe this method to set the context bellow:
It is using RadiobuttonGroupbyIndex!
But i dont know how i acess the method in the first print called "carregarCentroCusto".
I tryed to open it, but showed me a popupwindow and request login/password for DTR Console. I never used DTR Console. Usually the methods were in ComponentController or View...
Can you help me?!
assuming that the database holds the information for the last selected radio button, you need to make a call to the database in the init method to determine which radio button should be selected before the screen is rendered when the application is first launched
at the moment, I think you have chosen the first radio button to be selected by default and hence why it is selected when you launch your application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.