cancel
Showing results for 
Search instead for 
Did you mean: 

How to use an onAction code manually?

Former Member
0 Kudos
49

Hello,

I have written a certain action when a button is pressed.

I would like to activate this action again somewhere else at the view but not when the button is pressed. My question is how can I reuse this action code not necessarily when the user presses the button?

Roy

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can bind the same action for different UI elements ! isnt it !

Former Member
0 Kudos

Hey Bharathwaj,

Never mind, I used my suggestion and solved it like this...

Former Member
0 Kudos

By the way, I am aware of the fact that I can insert the action code into a method and then call it from the on action and from whenever I want at the code but what if I still want to implement the code at the action method?

Roy