on 11-26-2008 7:30 AM
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
Mine looks like this:
key.setText(((DecryptAESAction) super.getAction()).getKey());
Edited by: Christian Libich on Nov 26, 2008 3:55 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.