cancel
Showing results for 
Search instead for 
Did you mean: 

TextView not in the components list

Former Member
0 Kudos

Hi,

I am newbie to EP.

I have a bunch of textView controls on a JSP page. I am trying to retreive the value in Textview controls using following code:

TextView middleName = (TextView)this.getComponentByName("middleName");

middleName.getText();

I dont get hold of these controls in my control class. It returns a null.

I tried to get all components and iterate thru the components and could not find any TextView components.

I am running on EP6 SP2.

Is this a known issue?

Thanks for your time in advance,

Anil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anil,

There is no problem with EP6 SP2. TextView is not an input field. It is just a label. You should use InputField or TextEdit in your JSP and controller.

Answers (0)