on 04-26-2012 5:24 PM
hello,
i have a radio button and on click of the button the selection screen is to change. There are 3 radio buttons and there are different selection screen for each and the code definition is fine. The problem is if i select radio button A and again click on radio button A the system goes for a dump. If i select radio button A a,d then B and then back to A there is no issue.
I presume that the select-option
wd_this->m_helper
is not getting cleared because the dump occurs in the code
wd_this->m_helper->add_block() .
The select-option is not getting refreshed and am not able to find out how to overcome this,
Regards,
Venkat
Hi Venkat,
Here is a design for your requirement:
Now keep the three selection screens in three separate containers. Use UI element TransparentContainer. Bind the visible property with the context node attributes created earlier.
This design might help.
Regards,
Sayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Venkat,
the problem might be because of adding the block with same id again. Before calling the add_block method, check whether the block already exists by calling get_block method. if exists then dont add the block. Hope this helps.
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.