on 10-19-2016 4:39 AM - last edited on 02-03-2024 7:53 PM by postmig_api_4
Dear all,
have a data table and LinktoAction items on it. I want to click each item, the user can get value of this item. But the result returns only first item on table,
and code:
Create_eCofc_Model _input= new Create_eCofc_Model();
Z_Esrce_Send_Pdf_Portal_Input input=new Z_Esrce_Send_Pdf_Portal_Input(_input);
wdContext.nodeZ_Esrce_Send_Pdf_Portal_Input().bind(input);
String test= wdContext.nodeI_Search_1B().getCurrentElement().getAttributeAsText("Prueflos");
wdContext.currentZ_Esrce_Send_Pdf_Portal_InputElement().setP_Prueflos(wdContext.currentI_Search_1BElement().getPrueflos());
wdComponentAPI.getMessageManager().reportSuccess("test: "+ test);
try
{
input.execute();
wdContext.nodeOutput_Send_Pdf().invalidate();
}
catch (ARFC2ModelExecuteException e2)
{
// TODO Auto-generated catch block
wdComponentAPI.getMessageManager().reportException("WDDynamicRFCExecuteException: "+e2.getMessage(),false);
}
Please help me. Thanks
As I have posted here --> Link
You can use the parameter mapping of the action to determine the current node the user clicked on. Let me know if you have any further questions.
/Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.