Skip to Content

strange error in iViw development

Hi,

I do an iView and I have the folowwing error in my controleur for any 1° method after the declaration (here, it is the doInitialization methode

public void doInitialization() {

IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();

IPortalComponentContext context = request.getComponentContext();

IPortalComponentProfile profile = context.getProfile();

Vector resultat = new Vector();

myBean = new beanchamp(resultat);

profile.putValue("myBean",myBean);

profile.setProperty(INPUT_NAME,"");

}

each time, Elipse underlined the "()" after doInitialization. the message is :

syntaxe error on token "(" ,";" expected.

this is the end before the methode :

public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)

{

private final static String INPUT_FIELD = "InputField";

public String name;

final String INPUT_NAME = "Name";

final beanchamp myBean = null;

can somebody help me?

Regards

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 02, 2004 at 02:55 PM

    You probably missing a ; in a variable declaration before the doInitialization method.

    Could you post the entire java class ?

    Add comment
    10|10000 characters needed characters exceeded