The j2eeLib.getQueryParameter() system function uses a specified key to retrieve a query parameter from request scope storage, usually a parameter passed with an AJAX request. If a value is not found with the specified key, the function returns a null value.
http://www.ibm.com/mypage.jsp?myparameter=myvalueIn this case, retrieve the value with the following code:
myVar1 string = j2eeLib.getQueryParameter("myparameter");
<hx:ajaxRefreshRequest id="ajaxRefreshRequest1" target="updatablePanel" params="input1;input2;operationComboBox"> </hx:ajaxRefreshRequest>In this case, retrieve the value with the following code:
myVar2, myVar3, myVar4 string; myVar2 = j2eeLib.getQueryParameter("input1"); myVar3 = j2eeLib.getQueryParameter("input2"); myVar4 = j2eeLib.getQueryParameter("operationComboBox");
<hx:ajaxRefreshRequest id="ajaxRefreshRequest1" target="updatablePanel"> <f:param name="serverParam" id="param1" value="#{myPage.myValue}"> </f:param> </hx:ajaxRefreshRequest>In this case, retrieve the value with the following code:
myVar5 string; myVar5 = j2eeLib.getQueryParameter("serverParam");
j2eeLib.getQueryParameter( key STRING in) returns (value STRING?)