cancel
Showing results for 
Search instead for 
Did you mean: 

custom action - actionObject is not visible

Former Member
0 Kudos

hi all

i am trying to use custom aciton. With in custom action, when i am trying to use actionObject to copy the value of config dialog box to the variable i am getting error, the Field AbstractActionDialog.actionObject in not visible

The place where i am getting error is

public void setAction(Object obj) {

source.setText(((CopyFile) actionObject).getSource());

destination.setText(((CopyFile) actionObject).getDestination());

}

Please give me idea how i can rectify this problem

Thanks in advance

Iyappan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Mine looks like this:

key.setText(((DecryptAESAction) super.getAction()).getKey());

Edited by: Christian Libich on Nov 26, 2008 3:55 PM

Former Member
0 Kudos

Thank you Christian Libich

i feel in older version of xMII actionObject attribute is used.

Yesterday i tried later with getAction() method and the problem is solved. thank you for your reply.

Still i need one more help. I am sure you will know

public void prepareDialog() {

setSize(400, 300);

setTitle("Copy File Configuration Dialog Box");

}

this method. This method is used to set the Config dialog box of the custom action. but when i am try this method is not getting affected.

Please let me know what is the problem

Waiting for your reply

Thank You

Answers (0)