cancel
Showing results for 
Search instead for 
Did you mean: 

read component controller attribute value in another view

former_member223446
Active Participant
0 Kudos

Hi ,

I have created one attribute in component controller...and I  have the attribute value in one view but i want to read that value of attribute in other view .

How can I do that.

regards,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

Szczerbowski
Active Participant
0 Kudos

Hi,

Component controller is available in the whole component, make sure the attribute is public:

Then you access it the same way in any view:

wd_comp_controller->attribute

M.

former_member223446
Active Participant
0 Kudos

thanks for your suggestion.

but I wrote the code in wddoafteraction method of first view and pass the values into second view.it is working.

Regards,

Kiran

Answers (0)