cancel
Showing results for 
Search instead for 
Did you mean: 

show texts of marked checkboxes in view

Former Member
0 Kudos

Hi experts,

I have a pop-up with three checkboxes, each with a text. If I click some of these checkboxes and then click the ok button, the pop-up knows next time after opening, which checkboxes were clicked.

Now I want to see the texts of these clicked checkboxes in another view.

How can I reach that?

Thanks a lot for your help!!

Best Regards

Ingmar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ingmar,

Have a context node in the component controller with string attributes. Bind the attributes to the 'text' property of the checkboxes in the popup view. In the event handler of your ok button, read the attributes and display them in the next view. You could do the same by declaring an attribute in the attributes tab of the component controller. Make this of type string table, and populate it with the texts of the checked fields. You can read the same as wd_comp_controller-><attr name> in your second view and display it in any format you wish.

Hope this helps.

Regards

Nithya

Former Member
0 Kudos

Hi Nithya,

thanks for your answer! Could you please provide me some code for the step:

<i>In the event handler of your ok button, read the attributes and display them in the next view.</i>

I don't knoe exactly how to read the attributes and how to display.

That would be nice!

Thanks a lot!

Ingmar

Answers (0)