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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.