This loop get each element of the node and select one element:
for( int i=0; i< wdContext.nodeS_Requisicaocompra_1().size(); i++ ){ wdContext.nodeS_Requisicaocompra_1().setLeadSelection( i ); elem = wdContext.currentS_Requisicaocompra_1Element(); }
If I display the element value it happen with sucessfully:
textView = (IWDTextView) view.createElement(IWDTextView.class); textView.setText( elem.getTxz01() ); itens.addChild(textView);
But I need to bind the values and I doesn´t work, witch is the correct way to bind ?
textView = (IWDTextView) view.createElement(IWDTextView.class); textView.bindText( wdContext.nodeS_Requisicaocompra_1().getNodeInfo().getAttribute( "Txz01" ) ); itens.addChild(textView);