Skip to Content

strange error in iViw development


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);




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?


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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