PDA

View Full Version : sorted



jrbluck
03-28-2003, 06:11 AM
ok I managed to sort it. I am not quite sure what your problem is exactly but you will probably need to do this anyway.

In your custom validation bean you have to add a build method - that is missing in the help from ISMP I think. It should be:

public void build(WizardBuilderSupport support)
{
super.build(support);
try
{
support.putClass("com.installshield.wizardx.panels.UserInputFieldValidator");
}
catch (java.io.IOException io)
{
io.printStackTrace();
}
}

When you put the name of your validation bean into the field in ISMP, I don't think you use an absolute path. You just put the name of the bean. You then need to ensure that the bean is in a directory within your system's classpath.

Hope that all helps