cancel
Showing results for 
Search instead for 
Did you mean: 

custom action - config Option

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I hope you are using MII Vs 12.x.

You need call "IConfigurable" interface and its methods. They are :

import com.sap.xmii.xacute.core.IConfigurable*;

boolean isConfigurable()

Above method returns true if the action should allow the user to configure its properties.

int ShowConfigurationDialog(Window parentWindow, Transaction transaction, Step step)

Above method launches the dialog to configure action. Code to get and set the state of the action should be placed here. The returned int should match the standard optionPane return values.

Hope this Helps you.

-Suresh

Edited by: Suresh Hiremath on Jun 22, 2009 10:38 AM

Former Member
0 Kudos

Hello Suresh,

I always use the following

 com.sap.xmii.xacute.core.*; 

Danilo

Former Member
0 Kudos

Danilo,

Sorry, it was typo error.I did not check.

you are correct.

-Suresh

Former Member
0 Kudos

Hello,

Can not help you only with this code.

Danilo