Skip to Content
author's profile photo Former Member
Former Member

Please tell me how to clear values selected on select options in webdynpro

Hi all,

I have created a webdynpro component with individual radio buttons, wrote select options code in wddoinit and under one action method of one of the the radio buttons say radio2 I wrote code to visible select options. When ever I click that particular radio button select options is visible,selected some values that's fine.And my question is when I ever I clicked on radio button other than radio2 and then coming back to the radio2 , Values which are selected previously on the select options are not clearing....

Please solve my issue.

Thanks,

Anusha.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 08, 2014 at 11:28 AM

    Hi,

    use RESET_SELECTION_FIELD method to reset the previous values.

    Sample,

    wd_this->M_HANDLER->RESET_SELECTION_FIELD( I_ID ='<FIELD_ID>' ). " m_handler is the reference of select options

    To reset all fields, you can simply use,

    wd_this->M_HANDLER->RESET_ALL_SELECTION_FIELDS( ).

    Regards,

    Kiran

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2014 at 12:04 PM

    Hi Anusha,

    To reset single field data : RESET_SELECTION_FIELD( ) method to be used

    To reset multiple fields data : RESET_ALL_SELECTION_FIELDS( ) method to be used

    Thanks & Regards,

    Sankar Gelivi.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.