AnsweredAssumed Answered

how to get request parameter in response

Question asked by deepaksharma on Aug 21, 2015
Latest reply on Aug 21, 2015 by Manpreet Singh

Can we do it using java custom code like by writing a class  where 1 st  we retrieve request params like below


import com.itko.util.ParameterList;

ParameterList args = lisa_vse_request.getArguments(); // Retrieving the Request Arguments

String theParamVal = args.getParameterValue("ForExDealAddRq_ForExDealInfo_ForExQuoteRef_ForExQuoteInfo_ContraCurCode_CurCodeValue"); 


and then  another method returning the param value

Make a jar, place in hotDeploy and can be called in the response body in vsi. like:


CurCodeValue  {{=CustomeClass.getParamValueFromReq(ForExDealAddRq_ForExDealInfo_ForExQuoteRef_ForExQuoteInfo_ContraCurCode_CurCodeValue)}}.


Is there any other simple approach to this??