Skip to Content
0
Former Member
Aug 12, 2010 at 05:58 AM

初學者 - Web Dynpro 使用問題 - 如何在 Controllers 取得 View 的 InputField 值

12 Views

Developer : Web Dynpro SAP NetWeaver

Component Controller New a method

public void getAcceptList( )

{

我如何去取 下方 Value 所輸入的 value?

}

View

type => InputField

id = >PoNo

value ==> Ctrl_Zrfc_Get_Po_Input.Pono

我嘗試這下方法!! 不過取得 PoNo 為 Null

public void getAcceptList( )

{

String poNo = wdContext.nodeQueryContext().currentQueryContextElement().getPoNo();

messager.reportException(poNo, true);

}

Edited by: phoenixwu0626 on Aug 12, 2010 8:00 AM