Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

accessing InputField data in onClick event

I have a InputField controls and a button on the DynPage. And I try to access the text entered in these InputField control in the onClick event of the button:

private void onMyClick(Event event)throws PageException{
         InputField intFild = (InputField)this.getComponentByName("fieldName");

and I recive error: The method getComponentByName(String) is undefined for the type MyClass

Whats wrong??

Former Member
Not what you were looking for? View more on this topic or Ask a question