cancel
Showing results for 
Search instead for 
Did you mean: 

Instance variable

former_member322327
Participant
0 Kudos

Hi:

where I can declare an instance variable in the implementation of custom controler?

Thanks.

Eduardo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

At the very bottom of any controller code you can see the following placeholder:


  /*
   * The following code section can be used for any Java code that is 
   * not to be visible to other controllers/views or that contains constructs
   * currently not supported directly by Web Dynpro (such as inner classes or
   * member variables etc.). </p>
   *
   * Note: The content of this section is in no way managed/controlled
   * by the Web Dynpro Designtime or the Web Dynpro Runtime. 
   */
  //@@begin others
  //@@end

So you have to place any class/instance specific stuff here exactly in lines between <i>//@@begin others</i> and <i>//@end</i>

VS

former_member322327
Participant
0 Kudos

Thanks Valery, It´s just what I needed.

Answers (0)